Searched refs:lo_ifp (Results 1 - 18 of 18) sorted by relevance

/darwin-on-arm/xnu/bsd/net/
H A Dif_loop.c122 bpf_tap_out(lo_ifp, DLT_NULL, _m, \
144 struct ifnet *lo_ifp = NULL; variable in typeref:struct:ifnet
603 VERIFY(ifp == lo_ifp);
661 result = ifnet_allocate_extended(&lo_init, &lo_ifp);
668 ifnet_set_mtu(lo_ifp, LOMTU);
669 ifnet_set_flags(lo_ifp, IFF_LOOPBACK | IFF_MULTICAST,
671 ifnet_set_offload(lo_ifp,
675 ifnet_set_hdrlen(lo_ifp, sizeof (struct loopback_header));
676 ifnet_set_eflags(lo_ifp, IFEF_SENDLIST, IFEF_SENDLIST);
682 result = ifnet_attach(lo_ifp, NUL
[all...]
H A Dether_if_module.c537 if (lo_ifp) {
541 dlil_output(lo_ifp, ndest->sa_family, n, NULL, ndest, 0, NULL);
545 dlil_output(lo_ifp, ndest->sa_family, *m, NULL, ndest, 0, NULL);
H A Ddlil.c553 if (_rcvif == NULL || (ifp != lo_ifp && _rcvif != ifp) || \
1526 dlil_input_packet_list_extended(lo_ifp, m_loop,
1936 (ifp != lo_ifp && !ifnet_is_attached(ifp, 1))) {
2040 * dedicated list so that we can later associate them with lo_ifp
2044 if (inp == dlil_main_input_thread && ifp == lo_ifp) {
2090 if (ifp != lo_ifp) {
2126 * only once (as we only have one lo_ifp which never goes away.)
2128 if (ifp == lo_ifp) {
2870 if (ifp != lo_ifp) {
4585 ifp->if_lqm = (ifp == lo_ifp)
[all...]
H A Dif_var.h894 extern ifnet_t lo_ifp;
H A Droute.c2720 if (rt->rt_ifp != lo_ifp) {
/darwin-on-arm/xnu/bsd/netinet/
H A Dip_output.c653 srcbound) && ifscope != lo_ifp->if_index) {
722 if (ifscope == lo_ifp->if_index)
1506 m->m_pkthdr.rcvif = lo_ifp;
1532 if (lo_ifp) {
1533 dlil_output(lo_ifp, PF_INET, m, 0,
3080 if (lo_ifp) {
3082 dlil_output(lo_ifp, PF_INET, copym, 0,
3302 (ifa == NULL || (ifa->ifa_ifp != rt_ifp && rt_ifp != lo_ifp) ||
H A Din_arp.c430 rt->rt_expire != 0 && rt->rt_ifp != lo_ifp &&
727 if (rt->rt_ifp != lo_ifp) {
739 rt->rt_if_ref_fn(lo_ifp, 1);
743 rt->rt_ifp = lo_ifp;
H A Dkpi_ipfilter.c239 m->m_pkthdr.rcvif = lo_ifp;
H A Digmp.c3668 imo->imo_multicast_ifp = lo_ifp;
3690 m0->m_pkthdr.rcvif = lo_ifp;
H A Dtcp_output.c1778 tp->t_inpcb->inp_last_outifp != lo_ifp) {
/darwin-on-arm/xnu/bsd/netinet6/
H A Dip6_mroute.c1894 if (lo_ifp) {
1895 dlil_output(lo_ifp, PF_INET6, m, 0, (struct sockaddr *)&dst, 0, NULL);
H A Dnd6.c2010 if (rt->rt_ifp != lo_ifp) {
2022 rt->rt_if_ref_fn(lo_ifp, 1);
2026 rt->rt_ifp = lo_ifp; /* XXX */
2447 if (ifp != lo_ifp && pr->ndpr_ifp != ifp) {
2521 if (ifp == lo_ifp || dr->ifp == ifp)
2524 if (ifp == lo_ifp ||
H A Dip6_input.c451 (void) in6_ifattach(lo_ifp, NULL, NULL);
562 ip6stat.ip6s_m2m[ifnet_index(lo_ifp)]++; /* XXX */
H A Dip6_output.c3563 if (lo_ifp) {
3565 dlil_output(lo_ifp, PF_INET6, copym, 0,
H A Din6_src.c935 (ifa->ifa_ifp != ifp && ifp != lo_ifp) ||
H A Dip6_fw.c564 struct ifnet *const rif = ((*m)->m_flags & M_LOOP) ? lo_ifp : (*m)->m_pkthdr.rcvif;
H A Dnd6_nbr.c181 rt->rt_ifp != lo_ifp &&
H A Dmld6.c3282 m0->m_pkthdr.rcvif = lo_ifp;

Completed in 198 milliseconds