MCPcopy Create free account
hub / github.com/RangeNetworks/openbts / getntohs

Function getntohs

GPRS/ByteVector.cpp:43–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43uint16_t getntohs(ByteType *cp)
44{
45 uint16_t tmp;
46 ByteType *tp = (ByteType*)&tmp;
47 tp[0]=cp[0]; tp[1]=cp[1];
48 return ntohs(tmp);
49}
50
51uint32_t getntohl(ByteType *cp)
52{

Callers 2

BSTLVParseFunction · 0.85
NsRecvMsgFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected