Home
last modified time | relevance | path

Searched refs:skb_iif (Results 1 – 25 of 49) sorted by relevance

12

/linux/net/sched/
H A Dem_ipset.c93 if (skb->skb_iif) in em_ipset_match()
94 indev = dev_get_by_index_rcu(em->net, skb->skb_iif); in em_ipset_match()
H A Dem_ipt.c234 if (skb->skb_iif) in em_ipt_match()
235 indev = dev_get_by_index_rcu(em->net, skb->skb_iif); in em_ipt_match()
H A Dact_sample.c184 md.in_ifindex = skb->skb_iif; in tcf_sample_act()
H A Dact_mirred.c306 skb_to_send->skb_iif = skb->dev->ifindex; in tcf_mirred_to_dev()
H A Dcls_flow.c113 return skb->skb_iif; in flow_get_iif()
/linux/net/mac802154/
H A Dtx.c228 skb->skb_iif = dev->ifindex; in ieee802154_monitor_start_xmit()
250 skb->skb_iif = dev->ifindex; in ieee802154_subif_start_xmit()
/linux/drivers/net/
H A Difb.c115 skb->dev = dev_get_by_index_rcu(dev_net(txp->dev), skb->skb_iif); in ifb_ri_tasklet()
125 skb->skb_iif = txp->dev->ifindex; in ifb_ri_tasklet()
345 if (!skb->redirected || !skb->skb_iif) { in ifb_xmit()
H A Dvrf.c1341 int orig_iif = skb->skb_iif; in vrf_ip6_rcv()
1352 skb->skb_iif = vrf_dev->ifindex; in vrf_ip6_rcv()
1369 skb->skb_iif = vrf_dev->ifindex; in vrf_ip6_rcv()
1409 skb->skb_iif = vrf_dev->ifindex; in vrf_ip_rcv()
/linux/drivers/net/ipvlan/
H A Dipvlan_l3s.c104 skb->skb_iif = skb->dev->ifindex; in ipvlan_nf_input()
/linux/drivers/net/wireguard/
H A Dsocket.c244 endpoint->src_if4 = skb->skb_iif; in wg_socket_endpoint_from_skb()
250 &ipv6_hdr(skb)->saddr, skb->skb_iif); in wg_socket_endpoint_from_skb()
/linux/net/netfilter/
H A Dnft_fwd_netdev.c33 skb->skb_iif = skb->dev->ifindex; in nft_fwd_netdev_eval()
H A Dnf_tables_trace.c321 skb->skb_iif, in nft_trace_init()
/linux/net/ipv6/
H A Dseg6_iptunnel.c170 * skb->skb_iif as it is done in the IPv4 receiving path (i.e.: in seg6_do_srh_encap()
173 IP6CB(skb)->iif = skb->skb_iif; in seg6_do_srh_encap()
255 IP6CB(skb)->iif = skb->skb_iif; in seg6_do_srh_encap_red()
H A Dtcp_ipv6.c101 sk->sk_rx_dst_ifindex = skb->skb_iif; in inet6_sk_rx_dst_set()
963 if (!oif && netif_index_is_l3_master(net, skb->skb_iif)) in tcp_v6_send_response()
964 oif = skb->skb_iif; in tcp_v6_send_response()
1633 if (sk->sk_rx_dst_ifindex != skb->skb_iif ||
2037 sk->sk_rx_dst_ifindex == skb->skb_iif)
H A Dip6mr.c601 .flowi6_iif = skb->skb_iif ? : LOOPBACK_IFINDEX, in reg_vif_xmit()
1204 skb->skb_iif = dev->ifindex; in ip6mr_cache_unresolved()
1634 .flowi6_iif = skb->skb_iif ? : LOOPBACK_IFINDEX, in mroute6_is_socket()
/linux/include/net/netfilter/
H A Dnf_conntrack.h280 return skb->dev && skb->skb_iif && skb->dev->flags & IFF_LOOPBACK; in nf_is_loopback_packet()
/linux/include/linux/
H A Dipv6.h180 return l3_slave ? skb->skb_iif : IP6CB(skb)->iif; in inet6_iif()
/linux/net/ipv4/
H A Dip_output.c559 to->skb_iif = from->skb_iif; in ip_copy_metadata()
1620 if (!oif && netif_index_is_l3_master(net, skb->skb_iif)) in ip_send_unicast_reply()
1621 oif = skb->skb_iif; in ip_send_unicast_reply()
H A Dip_input.c536 IPCB(skb)->iif = skb->skb_iif; in ip_rcv_core()
/linux/include/net/
H A Dpkt_cls.h579 if (!skb->skb_iif) in tcf_match_indev()
581 return ifindex == skb->skb_iif; in tcf_match_indev()
H A Dinet_sock.h126 return l3mdev_master_ifindex_by_index(net, skb->skb_iif); in inet_request_bound_dev_if()
H A Droute.h360 return skb->skb_iif; in inet_iif()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dint_port.c442 skb->skb_iif = dev->ifindex; in mlx5e_tc_int_port_dev_fwd()
/linux/net/xfrm/
H A Despintcp.c42 skb->dev = dev_get_by_index_rcu(sock_net(sk), skb->skb_iif); in handle_esp()
/linux/net/batman-adv/
H A Dsoft-interface.c250 vid, skb->skb_iif, in batadv_interface_tx()

12