Home
last modified time | relevance | path

Searched refs:outdev (Results 1 – 9 of 9) sorted by relevance

/net/netfilter/
Dxt_physdev.c29 const char *indev, *outdev; in physdev_mt() local
55 outdev = physdev ? physdev->name : NULL; in physdev_mt()
59 (!!outdev ^ !(info->invert & XT_PHYSDEV_OP_BRIDGED))) in physdev_mt()
68 (!outdev ^ !!(info->invert & XT_PHYSDEV_OP_ISOUT)))) in physdev_mt()
86 if (!outdev) in physdev_mt()
89 ret = ifname_compare_aligned(outdev, info->physoutdev, info->out_mask); in physdev_mt()
Dnf_flow_table_ip.c245 struct net_device *outdev; in nf_flow_offload_ip_hook() local
264 outdev = rt->dst.dev; in nf_flow_offload_ip_hook()
296 skb->dev = outdev; in nf_flow_offload_ip_hook()
299 neigh_xmit(NEIGH_ARP_TABLE, outdev, &nexthop, skb); in nf_flow_offload_ip_hook()
477 struct net_device *outdev; in nf_flow_offload_ipv6_hook() local
494 outdev = rt->dst.dev; in nf_flow_offload_ipv6_hook()
526 skb->dev = outdev; in nf_flow_offload_ipv6_hook()
529 neigh_xmit(NEIGH_ND_TABLE, outdev, nexthop, skb); in nf_flow_offload_ipv6_hook()
Dnf_tables_trace.c84 const struct net_device *outdev) in nf_trace_fill_dev_info() argument
96 if (outdev) { in nf_trace_fill_dev_info()
98 htonl(outdev->ifindex))) in nf_trace_fill_dev_info()
102 htons(outdev->type))) in nf_trace_fill_dev_info()
Dnfnetlink_log.c448 const struct net_device *outdev, in __build_packet_message() argument
513 if (outdev) { in __build_packet_message()
516 htonl(outdev->ifindex))) in __build_packet_message()
524 htonl(outdev->ifindex)) || in __build_packet_message()
530 htonl(br_port_get_rcu(outdev)->br->dev->ifindex))) in __build_packet_message()
538 htonl(outdev->ifindex))) in __build_packet_message()
Dnfnetlink_queue.c388 struct net_device *outdev; in nfqnl_build_packet_message() local
420 outdev = entry->state.out; in nfqnl_build_packet_message()
522 if (outdev) { in nfqnl_build_packet_message()
524 if (nla_put_be32(skb, NFQA_IFINDEX_OUTDEV, htonl(outdev->ifindex))) in nfqnl_build_packet_message()
532 htonl(outdev->ifindex)) || in nfqnl_build_packet_message()
536 htonl(br_port_get_rcu(outdev)->br->dev->ifindex))) in nfqnl_build_packet_message()
544 htonl(outdev->ifindex))) in nfqnl_build_packet_message()
/net/ipv4/netfilter/
Darp_tables.c85 const char *outdev, in arp_packet_match() argument
137 ret = ifname_compare(outdev, arpinfo->outiface, arpinfo->outiface_mask); in arp_packet_match()
191 const char *indev, *outdev; in arpt_do_table() local
202 outdev = state->out ? state->out->name : nulldevname; in arpt_do_table()
224 if (!arp_packet_match(arp, skb->dev, indev, outdev, &e->arp)) { in arpt_do_table()
Dip_tables.c47 const char *outdev, in ip_packet_match() argument
64 ret = ifname_compare_aligned(outdev, ipinfo->outiface, ipinfo->outiface_mask); in ip_packet_match()
234 const char *indev, *outdev; in ipt_do_table() local
246 outdev = state->out ? state->out->name : nulldevname; in ipt_do_table()
284 if (!ip_packet_match(ip, indev, outdev, in ipt_do_table()
/net/ipv6/netfilter/
Dip6_tables.c51 const char *outdev, in ip6_packet_match() argument
72 ret = ifname_compare_aligned(outdev, ip6info->outiface, ip6info->outiface_mask); in ip6_packet_match()
258 const char *indev, *outdev; in ip6t_do_table() local
269 outdev = state->out ? state->out->name : nulldevname; in ip6t_do_table()
308 if (!ip6_packet_match(skb, indev, outdev, &e->ipv6, in ip6t_do_table()
/net/bridge/
Dbr_netfilter_hooks.c1008 struct net_device *outdev, in br_nf_hook_thresh() argument
1042 nf_hook_state_init(&state, hook, NFPROTO_BRIDGE, indev, outdev, in br_nf_hook_thresh()