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

Function ipcomp_attach

freebsd/netipsec/xform_ipcomp.c:746–757  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

744};
745
746static void
747ipcomp_attach(void)
748{
749
750#ifdef INET
751 ipe4_cookie = ip_encap_attach(&ipv4_encap_cfg, NULL, M_WAITOK);
752#endif
753#ifdef INET6
754 ipe6_cookie = ip6_encap_attach(&ipv6_encap_cfg, NULL, M_WAITOK);
755#endif
756 xform_attach(&ipcomp_xformsw);
757}
758
759static void
760ipcomp_detach(void)

Callers

nothing calls this directly

Calls 3

ip_encap_attachFunction · 0.85
ip6_encap_attachFunction · 0.85
xform_attachFunction · 0.85

Tested by

no test coverage detected