MCPcopy Create free account
hub / github.com/F-Stack/f-stack / be16enc

Function be16enc

freebsd/sys/endian.h:149–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149static __inline void
150be16enc(void *pp, uint16_t u)
151{
152 uint8_t *p = (uint8_t *)pp;
153
154 p[0] = (u >> 8) & 0xff;
155 p[1] = u & 0xff;
156}
157
158static __inline void
159be32enc(void *pp, uint32_t u)

Callers 6

cbc_mac_startFunction · 0.85
be_uuid_encFunction · 0.85
ng_deflate_compressFunction · 0.85
ng_pptpgre_xmitFunction · 0.85
ng_mppc_compressFunction · 0.85
correct_mssFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected