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

Function be16dec

freebsd/sys/endian.h:101–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99/* Alignment-agnostic encode/decode bytestream to/from little/big endian. */
100
101static __inline uint16_t
102be16dec(const void *pp)
103{
104 uint8_t const *p = (uint8_t const *)pp;
105
106 return ((p[0] << 8) | p[1]);
107}
108
109static __inline uint32_t
110be32dec(const void *pp)

Callers 8

tcpopts_parseFunction · 0.85
be_uuid_decFunction · 0.85
ng_deflate_decompressFunction · 0.85
ng_pptpgre_rcvdata_lowerFunction · 0.85
ng_mppc_decompressFunction · 0.85
correct_mssFunction · 0.85
ng_ppp_rcvdata_bypassFunction · 0.85
ng_ppp_mp_recvFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected