Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
43
uint16_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
51
uint32_t getntohl(ByteType *cp)
52
{
Callers
2
BSTLVParse
Function · 0.85
NsRecvMsg
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected