Lines Matching defs:ifp
68 static errno_t ppp_ipv6_input(ifnet_t ifp, protocol_family_t protocol,
70 static errno_t ppp_ipv6_preoutput(ifnet_t ifp, protocol_family_t protocol,
73 static errno_t ppp_ipv6_ioctl(ifnet_t ifp, protocol_family_t protocol,
100 attach the PPPx interface ifp to the network protocol IPv6,
103 errno_t ppp_ipv6_attach(ifnet_t ifp, protocol_family_t protocol)
107 struct ppp_if *wan = (struct ppp_if *)ifnet_softc(ifp);
109 LOGDBG(ifp, ("ppp_ipv6_attach: name = %s, unit = %d\n", ifnet_name(ifp), ifnet_unit(ifp)));
119 ret = ifnet_attach_protocol(ifp, PF_INET6, ®);
122 LOGDBG(ifp, ("ppp_ipv6_attach: ifnet_attach_protocol family = 0x%x\n", protocol));
129 detach the PPPx interface ifp from the network protocol IPv6,
132 void ppp_ipv6_detach(ifnet_t ifp, protocol_family_t protocol)
135 struct ppp_if *wan = (struct ppp_if *)ifnet_softc(ifp);
137 LOGDBG(ifp, ("ppp_ipv6_detach\n"));
142 ret = ifnet_detach_protocol(ifp, PF_INET6);
152 errno_t ppp_ipv6_ioctl(ifnet_t ifp, protocol_family_t protocol,
162 LOGDBG(ifp, ("ppp_ipv6_ioctl: cmd = SIOCSIFADDR/SIOCAIFADDR\n"));
191 errno_t ppp_ipv6_input(ifnet_t ifp, protocol_family_t protocol,
205 errno_t ppp_ipv6_preoutput(ifnet_t ifp, protocol_family_t protocol,