| 744 | }; |
| 745 | |
| 746 | static void |
| 747 | ipcomp_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 | |
| 759 | static void |
| 760 | ipcomp_detach(void) |
nothing calls this directly
no test coverage detected