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

Function sppp_ipcp_close

freebsd/net/if_spppsubr.c:2893–2902  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2891}
2892
2893static void
2894sppp_ipcp_close(struct sppp *sp)
2895{
2896 sppp_close_event(&ipcp, sp);
2897 if (sp->ipcp.flags & IPCP_MYADDR_DYN)
2898 /*
2899 * My address was dynamic, clear it again.
2900 */
2901 sppp_set_ip_addr(sp, 0L);
2902}
2903
2904static void
2905sppp_ipcp_TO(void *cookie)

Callers

nothing calls this directly

Calls 2

sppp_close_eventFunction · 0.85
sppp_set_ip_addrFunction · 0.85

Tested by

no test coverage detected