/net/netfilter/ |
D | nf_queue.c | 51 if (entry->indev) in nf_queue_entry_release_refs() 52 dev_put(entry->indev); in nf_queue_entry_release_refs() 76 if (entry->indev) in nf_queue_entry_get_refs() 77 dev_hold(entry->indev); in nf_queue_entry_get_refs() 105 struct net_device *indev, in nf_queue() argument 139 .indev = indev, in nf_queue() 196 entry->indev, entry->outdev, &elem, in nf_reinject() 209 entry->indev, entry->outdev, entry->okfn, in nf_reinject()
|
D | xt_TPROXY.c | 53 struct in_device *indev; in tproxy_laddr4() local 61 indev = __in_dev_get_rcu(skb->dev); in tproxy_laddr4() 62 for_primary_ifa(indev) { in tproxy_laddr4() 65 } endfor_ifa(indev); in tproxy_laddr4() 199 struct inet6_dev *indev; in tproxy_laddr6() local 208 indev = __in6_dev_get(skb->dev); in tproxy_laddr6() 209 if (indev) in tproxy_laddr6() 210 list_for_each_entry(ifa, &indev->addr_list, if_list) { in tproxy_laddr6()
|
D | xt_REDIRECT.c | 117 struct in_device *indev; in redirect_tg4() local 123 indev = __in_dev_get_rcu(skb->dev); in redirect_tg4() 124 if (indev && (ifa = indev->ifa_list)) in redirect_tg4()
|
D | core.c | 130 const struct net_device *indev, in nf_iterate() argument 149 verdict = (*elemp)->hook(hook, skb, indev, outdev, okfn); in nf_iterate() 171 struct net_device *indev, in nf_hook_slow() argument 185 verdict = nf_iterate(&nf_hooks[pf][hook], skb, hook, indev, in nf_hook_slow() 195 int err = nf_queue(skb, elem, pf, hook, indev, outdev, okfn, in nf_hook_slow()
|
D | xt_physdev.c | 30 const char *indev, *outdev; in physdev_mt() local 70 indev = nf_bridge->physindev ? nf_bridge->physindev->name : nulldevname; in physdev_mt() 71 ret = ifname_compare_aligned(indev, info->physindev, info->in_mask); in physdev_mt()
|
D | nf_internals.h | 19 const struct net_device *indev, 29 struct net_device *indev,
|
D | nfnetlink_queue_core.c | 301 struct net_device *indev; in nfqnl_build_packet_message() local 379 indev = entry->indev; in nfqnl_build_packet_message() 380 if (indev) { in nfqnl_build_packet_message() 382 if (nla_put_be32(skb, NFQA_IFINDEX_INDEV, htonl(indev->ifindex))) in nfqnl_build_packet_message() 390 htonl(indev->ifindex)) || in nfqnl_build_packet_message() 394 htonl(br_port_get_rcu(indev)->br->dev->ifindex))) in nfqnl_build_packet_message() 400 htonl(indev->ifindex))) in nfqnl_build_packet_message() 444 if (indev && entskb->dev && in nfqnl_build_packet_message() 628 struct net *net = dev_net(entry->indev ? in nfqnl_enqueue_packet() 629 entry->indev : entry->outdev); in nfqnl_enqueue_packet() [all …]
|
D | nfnetlink_log.c | 401 const struct net_device *indev, in __build_packet_message() argument 432 if (indev) { in __build_packet_message() 435 htonl(indev->ifindex))) in __build_packet_message() 443 htonl(indev->ifindex)) || in __build_packet_message() 447 htonl(br_port_get_rcu(indev)->br->dev->ifindex))) in __build_packet_message() 453 htonl(indev->ifindex))) in __build_packet_message() 498 if (indev && skb->dev && in __build_packet_message() 509 if (indev && skb_mac_header_was_set(skb)) { in __build_packet_message()
|
/net/sched/ |
D | em_ipset.c | 59 struct net_device *dev, *indev = NULL; in em_ipset_match() local 96 indev = dev_get_by_index_rcu(dev_net(dev), skb->skb_iif); in em_ipset_match() 98 acpar.in = indev ? indev : dev; in em_ipset_match()
|
D | cls_fw.c | 44 char indev[IFNAMSIZ]; member 94 if (!tcf_match_indev(skb, f->indev)) in fw_classify() 214 err = tcf_change_indev(tp, f->indev, tb[TCA_FW_INDEV]); in fw_change_attrs() 354 if (strlen(f->indev) && in fw_dump() 355 nla_put_string(skb, TCA_FW_INDEV, f->indev)) in fw_dump()
|
D | cls_u32.c | 51 char indev[IFNAMSIZ]; member 160 if (!tcf_match_indev(skb, n->indev)) { in u32_classify() 534 err = tcf_change_indev(tp, n->indev, tb[TCA_U32_INDEV]); in u32_set_parms() 766 if (strlen(n->indev) && in u32_dump() 767 nla_put_string(skb, TCA_U32_INDEV, n->indev)) in u32_dump()
|
/net/bridge/ |
D | br_input.c | 29 struct net_device *indev, *brdev = BR_INPUT_SKB_CB(skb)->brdev; in br_pass_frame_up() local 52 indev = skb->dev; in br_pass_frame_up() 55 return NF_HOOK(NFPROTO_BRIDGE, NF_BR_LOCAL_IN, skb, indev, NULL, in br_pass_frame_up()
|
D | br_forward.c | 89 struct net_device *indev; in __br_forward() local 100 indev = skb->dev; in __br_forward() 104 NF_HOOK(NFPROTO_BRIDGE, NF_BR_FORWARD, skb, indev, skb->dev, in __br_forward()
|
/net/bridge/netfilter/ |
D | ebt_ulog.c | 204 strcpy(pm->indev, br_port_get_rcu(in)->br->dev->name); in ebt_ulog_packet() 206 strcpy(pm->indev, in->name); in ebt_ulog_packet() 208 pm->indev[0] = pm->physindev[0] = '\0'; in ebt_ulog_packet()
|
/net/ipv4/netfilter/ |
D | arp_tables.c | 104 const char *indev, in arp_packet_match() argument 184 ret = ifname_compare(indev, arpinfo->iniface, arpinfo->iniface_mask); in arp_packet_match() 188 indev, arpinfo->iniface, in arp_packet_match() 259 const char *indev, *outdev; in arpt_do_table() local 268 indev = in ? in->name : nulldevname; in arpt_do_table() 289 if (!arp_packet_match(arp, skb->dev, indev, outdev, &e->arp)) { in arpt_do_table()
|
D | ip_tables.c | 76 const char *indev, in ip_packet_match() argument 100 ret = ifname_compare_aligned(indev, ipinfo->iniface, ipinfo->iniface_mask); in ip_packet_match() 104 indev, ipinfo->iniface, in ip_packet_match() 299 const char *indev, *outdev; in ipt_do_table() local 309 indev = in ? in->name : nulldevname; in ipt_do_table() 346 if (!ip_packet_match(ip, indev, outdev, in ipt_do_table()
|
/net/ipv6/netfilter/ |
D | ip6_tables.c | 86 const char *indev, in ip6_packet_match() argument 112 ret = ifname_compare_aligned(indev, ip6info->iniface, ip6info->iniface_mask); in ip6_packet_match() 116 indev, ip6info->iniface, in ip6_packet_match() 324 const char *indev, *outdev; in ip6t_do_table() local 333 indev = in ? in->name : nulldevname; in ip6t_do_table() 366 if (!ip6_packet_match(skb, indev, outdev, &e->ipv6, in ip6t_do_table()
|