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

Function sppp_dotted_quad

freebsd/net/if_spppsubr.c:5391–5401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5389
5390#ifdef INET
5391static const char *
5392sppp_dotted_quad(u_long addr)
5393{
5394 static char s[16];
5395 sprintf(s, "%d.%d.%d.%d",
5396 (int)((addr >> 24) & 0xff),
5397 (int)((addr >> 16) & 0xff),
5398 (int)((addr >> 8) & 0xff),
5399 (int)(addr & 0xff));
5400 return s;
5401}
5402#endif
5403
5404static int

Callers 2

sppp_ipcp_RCRFunction · 0.85
sppp_ipcp_RCN_nakFunction · 0.85

Calls 1

sprintfFunction · 0.85

Tested by

no test coverage detected