/linux-5.19.10/net/ipv6/netfilter/ |
D | nf_tproxy_ipv6.c | 13 struct inet6_dev *indev; in nf_tproxy_laddr6() local 21 indev = __in6_dev_get(skb->dev); in nf_tproxy_laddr6() 22 if (indev) { in nf_tproxy_laddr6() 23 read_lock_bh(&indev->lock); in nf_tproxy_laddr6() 24 list_for_each_entry(ifa, &indev->addr_list, if_list) { in nf_tproxy_laddr6() 31 read_unlock_bh(&indev->lock); in nf_tproxy_laddr6()
|
D | nf_socket_ipv6.c | 98 const struct net_device *indev) in nf_sk_lookup_slow_v6() argument 140 sport, dport, indev); in nf_sk_lookup_slow_v6()
|
D | ip6_tables.c | 50 const char *indev, in ip6_packet_match() argument 67 ret = ifname_compare_aligned(indev, ip6info->iniface, ip6info->iniface_mask); in ip6_packet_match() 258 const char *indev, *outdev; in ip6t_do_table() local 268 indev = state->in ? state->in->name : nulldevname; in ip6t_do_table() 308 if (!ip6_packet_match(skb, indev, outdev, &e->ipv6, in ip6t_do_table()
|
/linux-5.19.10/net/netfilter/ |
D | xt_physdev.c | 29 const char *indev, *outdev; in physdev_mt() local 63 indev = physdev ? physdev->name : NULL; in physdev_mt() 66 (!indev ^ !!(info->invert & XT_PHYSDEV_OP_ISIN))) || in physdev_mt() 74 if (indev) { in physdev_mt() 75 ret = ifname_compare_aligned(indev, info->physindev, in physdev_mt()
|
D | nf_nat_redirect.c | 47 const struct in_device *indev; in nf_nat_redirect_ipv4() local 51 indev = __in_dev_get_rcu(skb->dev); in nf_nat_redirect_ipv4() 52 if (indev) { in nf_nat_redirect_ipv4() 55 ifa = rcu_dereference(indev->ifa_list); in nf_nat_redirect_ipv4()
|
D | nft_flow_offload.c | 80 const struct net_device *indev; member 110 info->indev = path->dev; in nft_dev_path_info() 123 info->indev = NULL; in nft_dev_path_info() 156 info->indev = NULL; in nft_dev_path_info() 161 info->outdev = info->indev; in nft_dev_path_info() 163 info->hw_outdev = info->indev; in nft_dev_path_info() 166 nft_is_valid_ether_device(info->indev)) in nft_dev_path_info() 201 if (!info.indev || !nft_flowtable_find_dev(info.indev, ft)) in nft_dev_forward_path() 204 route->tuple[!dir].in.ifindex = info.indev->ifindex; in nft_dev_forward_path()
|
D | nft_socket.c | 59 const struct net_device *indev = nft_in(pkt); in nft_socket_do_lookup() local 63 if (!indev) in nft_socket_do_lookup() 68 sk = nf_sk_lookup_slow_v4(nft_net(pkt), skb, indev); in nft_socket_do_lookup() 72 sk = nf_sk_lookup_slow_v6(nft_net(pkt), skb, indev); in nft_socket_do_lookup()
|
D | nf_tables_trace.c | 67 const struct net_device *indev, in nf_trace_fill_dev_info() argument 70 if (indev) { in nf_trace_fill_dev_info() 72 htonl(indev->ifindex))) in nf_trace_fill_dev_info() 76 htons(indev->type))) in nf_trace_fill_dev_info()
|
D | nfnetlink_log.c | 452 const struct net_device *indev, in __build_packet_message() argument 482 if (indev) { in __build_packet_message() 485 htonl(indev->ifindex))) in __build_packet_message() 493 htonl(indev->ifindex)) || in __build_packet_message() 499 htonl(br_port_get_rcu(indev)->br->dev->ifindex))) in __build_packet_message() 507 htonl(indev->ifindex))) in __build_packet_message() 560 if (indev && skb->dev && in __build_packet_message() 575 if (indev && skb_mac_header_was_set(skb)) { in __build_packet_message()
|
D | nfnetlink_queue.c | 387 struct net_device *indev; in nfqnl_build_packet_message() local 492 indev = entry->state.in; in nfqnl_build_packet_message() 493 if (indev) { in nfqnl_build_packet_message() 495 if (nla_put_be32(skb, NFQA_IFINDEX_INDEV, htonl(indev->ifindex))) in nfqnl_build_packet_message() 503 htonl(indev->ifindex)) || in nfqnl_build_packet_message() 507 htonl(br_port_get_rcu(indev)->br->dev->ifindex))) in nfqnl_build_packet_message() 515 htonl(indev->ifindex))) in nfqnl_build_packet_message() 569 if (indev && entskb->dev && in nfqnl_build_packet_message()
|
/linux-5.19.10/net/sched/ |
D | em_ipset.c | 56 struct net_device *dev, *indev = NULL; in em_ipset_match() local 94 indev = dev_get_by_index_rcu(em->net, skb->skb_iif); in em_ipset_match() 96 state.in = indev ? indev : dev; in em_ipset_match()
|
D | em_ipt.c | 210 struct net_device *indev = NULL; in em_ipt_match() local 235 indev = dev_get_by_index_rcu(em->net, skb->skb_iif); in em_ipt_match() 238 indev ?: skb->dev, skb->dev, NULL, em->net, NULL); in em_ipt_match()
|
/linux-5.19.10/include/net/netfilter/ |
D | nf_socket.h | 8 const struct net_device *indev); 11 const struct net_device *indev);
|
D | br_netfilter.h | 26 struct sk_buff *skb, struct net_device *indev,
|
/linux-5.19.10/net/bridge/ |
D | br_forward.c | 77 struct net_device *indev; in __br_forward() local 91 indev = skb->dev; in __br_forward() 100 net = dev_net(indev); in __br_forward() 112 indev = NULL; in __br_forward() 116 net, NULL, skb, indev, skb->dev, in __br_forward()
|
D | br_input.c | 35 struct net_device *indev, *brdev = BR_INPUT_SKB_CB(skb)->brdev; in br_pass_frame_up() local 59 indev = skb->dev; in br_pass_frame_up() 69 dev_net(indev), NULL, skb, indev, NULL, in br_pass_frame_up()
|
/linux-5.19.10/net/ipv4/netfilter/ |
D | nf_tproxy_ipv4.c | 53 struct in_device *indev; in nf_tproxy_laddr4() local 60 indev = __in_dev_get_rcu(skb->dev); in nf_tproxy_laddr4() 62 in_dev_for_each_ifa_rcu(ifa, indev) { in nf_tproxy_laddr4()
|
D | nf_socket_ipv4.c | 85 const struct net_device *indev) in nf_sk_lookup_slow_v4() argument 147 daddr, sport, dport, indev); in nf_sk_lookup_slow_v4()
|
D | arp_tables.c | 84 const char *indev, in arp_packet_match() argument 132 ret = ifname_compare(indev, arpinfo->iniface, arpinfo->iniface_mask); in arp_packet_match() 192 const char *indev, *outdev; in arpt_do_table() local 202 indev = state->in ? state->in->name : nulldevname; in arpt_do_table() 225 if (!arp_packet_match(arp, skb->dev, indev, outdev, &e->arp)) { in arpt_do_table()
|
D | ip_tables.c | 46 const char *indev, in ip_packet_match() argument 59 ret = ifname_compare_aligned(indev, ipinfo->iniface, ipinfo->iniface_mask); in ip_packet_match() 235 const char *indev, *outdev; in ipt_do_table() local 246 indev = state->in ? state->in->name : nulldevname; in ipt_do_table() 285 if (!ip_packet_match(ip, indev, outdev, in ipt_do_table()
|
/linux-5.19.10/include/linux/ |
D | netfilter.h | 148 struct net_device *indev, in nf_hook_state_init() argument 156 p->in = indev; in nf_hook_state_init() 213 struct net_device *indev, struct net_device *outdev, in nf_hook() argument 259 nf_hook_state_init(&state, hook, pf, indev, outdev, in nf_hook() 429 struct net_device *indev, struct net_device *outdev, in nf_hook() argument
|
/linux-5.19.10/tools/testing/selftests/net/forwarding/ |
D | tc_shblocks.sh | 78 $tcflags indev $swp1 dst_mac $swmac action drop 80 $tcflags indev $swp2 dst_mac $swmac action drop
|
D | tc_flower_router.sh | 89 $tcflags indev $rp1 dst_ip 192.0.3.1 action drop 91 $tcflags indev $rp2 dst_ip 192.0.3.1 action drop
|
/linux-5.19.10/drivers/net/ethernet/mscc/ |
D | ocelot_flower.c | 528 struct net_device *dev, *indev; in ocelot_flower_parse_indev() local 546 indev = __dev_get_by_index(dev_net(dev), match.key->ingress_ifindex); in ocelot_flower_parse_indev() 547 if (!indev) { in ocelot_flower_parse_indev() 553 ingress_port = ocelot->ops->netdev_to_port(indev); in ocelot_flower_parse_indev()
|
/linux-5.19.10/include/net/ |
D | pkt_cls.h | 522 char indev[IFNAMSIZ]; in tcf_change_indev() local 525 if (nla_strscpy(indev, indev_tlv, IFNAMSIZ) < 0) { in tcf_change_indev() 530 dev = __dev_get_by_name(net, indev); in tcf_change_indev()
|