Lines Matching refs:ifp
148 __unused ifnet_t ifp,
163 __unused ifnet_t ifp,
190 __unused ifnet_t ifp,
198 ifnet_t ifp,
213 m->m_pkthdr.rcvif = ifp;
215 ifp->if_ibytes += m->m_pkthdr.len;
216 ifp->if_obytes += m->m_pkthdr.len;
218 ifp->if_opackets++;
219 ifp->if_ipackets++;
235 bpf_tap_out(ifp, DLT_NULL, m, &protocol_family, sizeof(protocol_family));
239 return ifnet_input(ifp, m_list, NULL);
250 __unused ifnet_t ifp,
286 __unused ifnet_t ifp,
322 ifnet_t ifp,
333 ifnet_set_flags(ifp, IFF_UP | IFF_RUNNING, IFF_UP | IFF_RUNNING);
365 ifp->if_mtu = ifr->ifr_mtu;
380 static errno_t lo_attach_proto(ifnet_t ifp, protocol_family_t protocol_family)
389 result = ifnet_attach_protocol_v2(ifp, protocol_family, &proto);
413 ifnet_t ifp,
422 lo_statics[ifp->if_unit].bpf_mode = mode;
423 lo_statics[ifp->if_unit].bpf_callback = bpf_callback;
426 lo_statics[ifp->if_unit].bpf_callback = bpf_callback;
427 lo_statics[ifp->if_unit].bpf_mode = mode;
476 mac_ifnet_label_init(ifp);