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

Function sppp_strnlen

freebsd/net/if_spppsubr.c:5404–5412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5402#endif
5403
5404static int
5405sppp_strnlen(u_char *p, int max)
5406{
5407 int len;
5408
5409 for (len = 0; len < max && *p; ++p)
5410 ++len;
5411 return len;
5412}
5413
5414/* a dummy, used to drop uninteresting events */
5415static void

Callers 4

sppp_chap_inputFunction · 0.85
sppp_chap_scrFunction · 0.85
sppp_pap_inputFunction · 0.85
sppp_pap_scrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected