/linux-master/net/ipv6/ |
H A D | ip6_output.c | 231 struct net_device *dev = skb_dst(skb)->dev, *indev = skb->dev; local 244 net, sk, skb, indev, dev,
|
/linux-master/net/ipv4/ |
H A D | ip_output.c | 428 struct net_device *dev = skb_dst(skb)->dev, *indev = skb->dev; local 434 net, sk, skb, indev, dev,
|
/linux-master/net/bridge/ |
H A D | br_netfilter_hooks.c | 778 * netfilter with indev and outdev set to the bridge device, 779 * but we are still able to filter on the 'real' indev/outdev 780 * because of the physdev module. For ARP, indev and outdev are the 1133 struct net_device *indev, 1168 nf_hook_state_init(&state, hook, NFPROTO_BRIDGE, indev, outdev, 1131 br_nf_hook_thresh(unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, struct net_device *indev, struct net_device *outdev, int (*okfn)(struct net *, struct sock *, struct sk_buff *)) argument
|
H A D | br_forward.c | 77 struct net_device *indev; local 91 indev = skb->dev; 100 net = dev_net(indev); 112 indev = NULL; 116 net, NULL, skb, indev, skb->dev,
|
H A D | br_input.c | 35 struct net_device *indev, *brdev = BR_INPUT_SKB_CB(skb)->brdev; local 59 indev = skb->dev; 71 dev_net(indev), NULL, skb, indev, NULL,
|
/linux-master/include/net/ |
H A D | pkt_cls.h | 557 char indev[IFNAMSIZ]; local 560 if (nla_strscpy(indev, indev_tlv, IFNAMSIZ) < 0) { 565 dev = __dev_get_by_name(net, indev);
|
/linux-master/drivers/net/ethernet/mscc/ |
H A D | ocelot_flower.c | 528 struct net_device *dev, *indev; local 546 indev = __dev_get_by_index(dev_net(dev), match.key->ingress_ifindex); 547 if (!indev) { 553 ingress_port = ocelot->ops->netdev_to_port(indev);
|
/linux-master/net/ipv6/netfilter/ |
H A D | ip6_tables.c | 48 const char *indev, 65 ret = ifname_compare_aligned(indev, ip6info->iniface, ip6info->iniface_mask); 256 const char *indev, *outdev; local 266 indev = state->in ? state->in->name : nulldevname; 306 if (!ip6_packet_match(skb, indev, outdev, &e->ipv6, 47 ip6_packet_match(const struct sk_buff *skb, const char *indev, const char *outdev, const struct ip6t_ip6 *ip6info, unsigned int *protoff, u16 *fragoff, bool *hotdrop) argument
|
H A D | nf_tproxy_ipv6.c | 13 struct inet6_dev *indev; local 21 indev = __in6_dev_get(skb->dev); 22 if (indev) { 23 read_lock_bh(&indev->lock); 24 list_for_each_entry(ifa, &indev->addr_list, if_list) { 31 read_unlock_bh(&indev->lock);
|
/linux-master/net/ipv4/netfilter/ |
H A D | ip_tables.c | 44 const char *indev, 57 ret = ifname_compare_aligned(indev, ipinfo->iniface, ipinfo->iniface_mask); 233 const char *indev, *outdev; local 244 indev = state->in ? state->in->name : nulldevname; 283 if (!ip_packet_match(ip, indev, outdev, 43 ip_packet_match(const struct iphdr *ip, const char *indev, const char *outdev, const struct ipt_ip *ipinfo, int isfrag) argument
|
H A D | arp_tables.c | 84 const char *indev, 132 ret = ifname_compare(indev, arpinfo->iniface, arpinfo->iniface_mask); 192 const char *indev, *outdev; local 202 indev = state->in ? state->in->name : nulldevname; 225 if (!arp_packet_match(arp, skb->dev, indev, outdev, &e->arp)) { 82 arp_packet_match(const struct arphdr *arphdr, struct net_device *dev, const char *indev, const char *outdev, const struct arpt_arp *arpinfo) argument
|
H A D | nf_tproxy_ipv4.c | 53 struct in_device *indev; local 60 indev = __in_dev_get_rcu(skb->dev); 62 in_dev_for_each_ifa_rcu(ifa, indev) {
|
/linux-master/net/netfilter/ |
H A D | nfnetlink_queue.c | 554 struct net_device *indev; local 662 indev = entry->state.in; 663 if (indev) { 665 if (nla_put_be32(skb, NFQA_IFINDEX_INDEV, htonl(indev->ifindex))) 669 /* Case 1: indev is physical input device, we need to 673 htonl(indev->ifindex)) || 677 htonl(br_port_get_rcu(indev)->br->dev->ifindex))) 682 /* Case 2: indev is bridge group, we need to look for 685 htonl(indev->ifindex))) 739 if (indev [all...] |
H A D | nft_flow_offload.c | 80 const struct net_device *indev; member in struct:nft_forward_info 110 info->indev = path->dev; 123 info->indev = NULL; 156 info->indev = NULL; 161 info->outdev = info->indev; 163 info->hw_outdev = info->indev; 166 nft_is_valid_ether_device(info->indev)) 201 if (!info.indev || !nft_flowtable_find_dev(info.indev, ft)) 204 route->tuple[!dir].in.ifindex = info.indev [all...] |
H A D | nft_socket.c | 60 const struct net_device *indev = nft_in(pkt); local 64 if (!indev) 69 sk = nf_sk_lookup_slow_v4(nft_net(pkt), skb, indev); 73 sk = nf_sk_lookup_slow_v6(nft_net(pkt), skb, indev);
|
H A D | nfnetlink_log.c | 462 const struct net_device *indev, 491 if (indev) { 494 htonl(indev->ifindex))) 502 htonl(indev->ifindex)) || 508 htonl(br_port_get_rcu(indev)->br->dev->ifindex))) 513 /* Case 2: indev is bridge group, we need to look for 516 htonl(indev->ifindex))) 550 /* Case 2: indev is a bridge group, we need to look 569 if (indev && skb->dev && 584 if (indev 456 __build_packet_message(struct nfnl_log_net *log, struct nfulnl_instance *inst, const struct sk_buff *skb, unsigned int data_len, u_int8_t pf, unsigned int hooknum, const struct net_device *indev, const struct net_device *outdev, const char *prefix, unsigned int plen, const struct nfnl_ct_hook *nfnl_ct, struct nf_conn *ct, enum ip_conntrack_info ctinfo) argument [all...] |
H A D | xt_physdev.c | 29 const char *indev, *outdev; local 63 indev = physdev ? physdev->name : NULL; 66 (!indev ^ !!(info->invert & XT_PHYSDEV_OP_ISIN))) || 74 if (indev) { 75 ret = ifname_compare_aligned(indev, info->physindev,
|
H A D | nf_nat_redirect.c | 62 const struct in_device *indev; local 64 indev = __in_dev_get_rcu(skb->dev); 65 if (indev) { 68 ifa = rcu_dereference(indev->ifa_list);
|
H A D | nf_tables_trace.c | 67 const struct net_device *indev, 70 if (indev) { 72 htonl(indev->ifindex))) 76 htons(indev->type))) 66 nf_trace_fill_dev_info(struct sk_buff *nlskb, const struct net_device *indev, const struct net_device *outdev) argument
|
/linux-master/include/linux/ |
H A D | netfilter.h | 160 struct net_device *indev, 168 p->in = indev; 225 struct net_device *indev, struct net_device *outdev, 266 nf_hook_state_init(&state, hook, pf, indev, outdev, 435 struct net_device *indev, struct net_device *outdev, 157 nf_hook_state_init(struct nf_hook_state *p, unsigned int hook, u_int8_t pf, struct net_device *indev, struct net_device *outdev, struct sock *sk, struct net *net, int (*okfn)(struct net *, struct sock *, struct sk_buff *)) argument 223 nf_hook(u_int8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, struct net_device *indev, struct net_device *outdev, int (*okfn)(struct net *, struct sock *, struct sk_buff *)) argument 433 nf_hook(u_int8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, struct net_device *indev, struct net_device *outdev, int (*okfn)(struct net *, struct sock *, struct sk_buff *)) argument
|
/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | tc_flower_l2_miss.sh | 81 flower indev $swp1 l2_miss 1 dst_mac $dmac src_ip $sip \ 85 flower indev $swp1 l2_miss 0 dst_mac $dmac src_ip $sip \ 138 flower indev $swp1 l2_miss 1 src_ip $sip dst_ip $dip \ 142 flower indev $swp1 l2_miss 0 src_ip $sip dst_ip $dip \ 255 flower indev $swp1 l2_miss 1 dst_mac $dmac src_ip $sip \
|
H A D | tc_flower.sh | 357 $tcflags indev $h1 dst_mac $h2mac action drop 359 $tcflags indev $h2 dst_mac $h2mac action drop 373 log_test "indev match ($tcflags)"
|
/linux-master/drivers/net/ethernet/qlogic/netxen/ |
H A D | netxen_nic_main.c | 3234 struct in_device *indev; local 3240 indev = in_dev_get(dev); 3241 if (!indev) 3245 in_dev_for_each_ifa_rcu(ifa, indev) { 3258 in_dev_put(indev);
|
/linux-master/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_main.c | 4067 struct in_device *indev; local 4069 indev = in_dev_get(dev); 4070 if (!indev) 4073 in_dev_for_each_ifa_rtnl(ifa, indev) { 4088 in_dev_put(indev);
|
/linux-master/tools/testing/selftests/drivers/net/ocelot/ |
H A D | tc_flower_chains.sh | 165 flower skip_sw indev $swp2 \
|