Home
last modified time | relevance | path

Searched refs:ph_ifidx (Results 1 – 25 of 48) sorted by relevance

12

/openbsd/sys/netinet6/
H A Dip6_divert.c165 m->m_pkthdr.ph_ifidx = rt->rt_ifidx; in divert6_output()
175 ifp = if_get(m->m_pkthdr.ph_ifidx); in divert6_output()
234 ifp = if_get(m->m_pkthdr.ph_ifidx); in divert6_packet()
H A Dnd6_rtr.c90 m->m_pkthdr.ph_ifidx)); in nd6_rtr_cache()
148 ifp = if_get(m->m_pkthdr.ph_ifidx); in nd6_rtr_cache()
H A Dip6_forward.c91 u_int ifidx = m->m_pkthdr.ph_ifidx; in ip6_forward()
385 mcopy->m_pkthdr.ph_ifidx = ifidx; in ip6_forward()
446 mcopy->m_pkthdr.ph_ifidx = ifidx; in ip6_forward()
H A Dicmp6.c354 m->m_pkthdr.ph_ifidx = 0; in icmp6_do_error()
454 ifp = if_get(m->m_pkthdr.ph_ifidx); in icmp6_input()
731 m->m_pkthdr.ph_ifidx)); in icmp6_input()
911 icmp6dst.sin6_scope_id = in6_addr2scopeid(m->m_pkthdr.ph_ifidx, in icmp6_notify_error()
929 icmp6src.sin6_scope_id = in6_addr2scopeid(m->m_pkthdr.ph_ifidx, in icmp6_notify_error()
1011 sin6.sin6_addr.s6_addr16[1] = htons(m->m_pkthdr.ph_ifidx); in icmp6_mtudisc_update()
1013 sin6.sin6_scope_id = in6_addr2scopeid(m->m_pkthdr.ph_ifidx, in icmp6_mtudisc_update()
1239 ifp = if_get(m->m_pkthdr.ph_ifidx); in icmp6_redirect_input()
1492 m->m_pkthdr.ph_ifidx = 0; in icmp6_redirect_output()
H A Dmld6.c208 ifp = if_get(m->m_pkthdr.ph_ifidx); in mld6_input()
446 mh->m_pkthdr.ph_ifidx = 0; in mld6_sendpkt()
H A Dip6_mroute.c893 src, dst, ip6->ip6_nxt, m->m_pkthdr.ph_ifidx); in ip6_mforward()
1026 if (m->m_pkthdr.ph_ifidx == 0) { in ip6_mdq()
1122 if (m->m_pkthdr.ph_ifidx == 0) { in phyint_send6()
H A Dnd6_nbr.c117 ifp = if_get(m->m_pkthdr.ph_ifidx); in nd6_ns_input()
399 m->m_pkthdr.ph_ifidx = 0; in nd6_ns_output()
573 ifp = if_get(m->m_pkthdr.ph_ifidx); in nd6_na_input()
H A Dip6_output.c610 m->m_pkthdr.ph_ifidx = ifp->if_index; in ip6_output()
618 m->m_pkthdr.ph_ifidx = 0; in ip6_output()
2869 ifidx = m->m_pkthdr.ph_ifidx; in ip6_output_ipsec_send()
/openbsd/sys/netinet/
H A Dip_divert.c155 m->m_pkthdr.ph_ifidx = rt->rt_ifidx; in divert_output()
166 ifp = if_get(m->m_pkthdr.ph_ifidx); in divert_output()
225 ifp = if_get(m->m_pkthdr.ph_ifidx); in divert_packet()
H A Dip_icmp.c230 m->m_pkthdr.ph_ifidx = n->m_pkthdr.ph_ifidx; in icmp_do_error()
312 ifp = if_get((*mp)->m_pkthdr.ph_ifidx); in icmp_input()
H A Dif_ether.c535 ifp = if_get(m->m_pkthdr.ph_ifidx); in arpintr()
887 if (revarp_ifidx != m->m_pkthdr.ph_ifidx) /* !same interface */ in in_revarpinput()
H A Dipsec_input.c538 m->m_pkthdr.ph_ifidx = encif->if_index; in ipsec_common_input_cb()
580 if ((ifp = if_get(m->m_pkthdr.ph_ifidx)) == NULL) { in ipsec_common_input_cb()
H A Dip_ipip.c122 ifp = if_get((*mp)->m_pkthdr.ph_ifidx); in ipip_input()
H A Dudp_usrreq.c782 sa6.sin6_scope_id = in6_addr2scopeid(m->m_pkthdr.ph_ifidx, in udp6_ctlinput()
815 sa6_src.sin6_scope_id = in6_addr2scopeid(m->m_pkthdr.ph_ifidx, in udp6_ctlinput()
H A Digmp.c205 ifp = if_get((*mp)->m_pkthdr.ph_ifidx); in igmp_input()
/openbsd/sys/net/
H A Dif_pppoe.c469 len, m->m_pkthdr.ph_ifidx); in pppoe_dispatch_disc_pkt()
721 sc = pppoe_find_softc_by_session(session, m->m_pkthdr.ph_ifidx); in pppoe_data_input()
726 pppoe_send_padt(m->m_pkthdr.ph_ifidx, session, shost, 0); in pppoe_data_input()
760 m->m_pkthdr.ph_ifidx = sc->sc_sppp.pp_if.if_index; in pppoe_data_input()
1013 m->m_pkthdr.ph_ifidx = 0; in pppoe_get_mbuf()
H A Dpipex.c1039 m0->m_pkthdr.ph_ifidx = session->ifindex; in pipex_ip_input()
1114 m0->m_pkthdr.ph_ifidx = session->ifindex; in pipex_ip6_input()
1293 m0->m_pkthdr.ph_ifidx) { in pipex_pppoe_lookup_session()
1355 m0->m_pkthdr.ph_ifidx = session->proto.pppoe.over_ifidx; in pipex_pppoe_output()
1444 m0->m_pkthdr.ph_ifidx = session->ifindex; in pipex_pptp_output()
1911 m0->m_pkthdr.ph_ifidx = session->ifindex; in pipex_l2tp_output()
H A Difq.c726 m->m_pkthdr.ph_ifidx = ifp->if_index; in ifiq_input()
801 m->m_pkthdr.ph_ifidx = ifp->if_index; in ifiq_enqueue()
H A Dif_bridge.c945 ifp = if_get(m->m_pkthdr.ph_ifidx); in bridgeintr()
1746 m->m_pkthdr.ph_ifidx = ifp->if_index; in bridge_ip()
1782 m->m_pkthdr.ph_ifidx = ifp->if_index; in bridge_ip()
H A Dif_pppx.c390 top->m_pkthdr.ph_ifidx = pxi->pxi_if.if_index; in pppxwrite()
1184 m->m_pkthdr.ph_ifidx = ifp->if_index; in pppacwrite()
H A Dbpf.c236 m->m_pkthdr.ph_ifidx = 0; in bpf_movein()
1397 tbh.bh_ifidx = mp->m_pkthdr.ph_ifidx; in _bpf_mtap()
H A Dif_mpw.c611 m->m_pkthdr.ph_ifidx = ifp->if_index; in mpw_input()
/openbsd/sys/sys/
H A Dmbuf.h131 u_int ph_ifidx; /* rcv interface index */ member
/openbsd/sys/nfs/
H A Dkrpc_subr.c331 mhead->m_pkthdr.ph_ifidx = 0; in krpc_call()
H A Dnfs_syscalls.c439 m->m_pkthdr.ph_ifidx = 0; in nfssvc_nfsd()

12