Home
last modified time | relevance | path

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

/Linux-v5.10/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.c250 struct net_device *outdev; in nf_flow_offload_ip_hook() local
269 outdev = rt->dst.dev; in nf_flow_offload_ip_hook()
305 skb->dev = outdev; in nf_flow_offload_ip_hook()
308 neigh_xmit(NEIGH_ARP_TABLE, outdev, &nexthop, skb); in nf_flow_offload_ip_hook()
493 struct net_device *outdev; in nf_flow_offload_ipv6_hook() local
510 outdev = rt->dst.dev; in nf_flow_offload_ipv6_hook()
546 skb->dev = outdev; in nf_flow_offload_ipv6_hook()
549 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
518 if (outdev) { in __build_packet_message()
521 htonl(outdev->ifindex))) in __build_packet_message()
529 htonl(outdev->ifindex)) || in __build_packet_message()
535 htonl(br_port_get_rcu(outdev)->br->dev->ifindex))) in __build_packet_message()
543 htonl(outdev->ifindex))) in __build_packet_message()
Dnfnetlink_queue.c389 struct net_device *outdev; in nfqnl_build_packet_message() local
421 outdev = entry->state.out; in nfqnl_build_packet_message()
526 if (outdev) { in nfqnl_build_packet_message()
528 if (nla_put_be32(skb, NFQA_IFINDEX_OUTDEV, htonl(outdev->ifindex))) in nfqnl_build_packet_message()
536 htonl(outdev->ifindex)) || in nfqnl_build_packet_message()
540 htonl(br_port_get_rcu(outdev)->br->dev->ifindex))) in nfqnl_build_packet_message()
548 htonl(outdev->ifindex))) in nfqnl_build_packet_message()
/Linux-v5.10/include/linux/
Dnetfilter.h143 struct net_device *outdev, in nf_hook_state_init() argument
151 p->out = outdev; in nf_hook_state_init()
207 struct net_device *indev, struct net_device *outdev, in nf_hook() argument
253 nf_hook_state_init(&state, hook, pf, indev, outdev, in nf_hook()
422 struct net_device *indev, struct net_device *outdev, in nf_hook() argument
/Linux-v5.10/include/net/netfilter/
Dbr_netfilter.h27 struct net_device *outdev,
/Linux-v5.10/drivers/hwtracing/intel_th/
Dgth.c477 struct intel_th_device *outdev = in intel_th_gth_stop() local
480 to_intel_th_driver(outdev->dev.driver); in intel_th_gth_stop()
501 outdrv->wait_empty(outdev); in intel_th_gth_stop()
/Linux-v5.10/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()
/Linux-v5.10/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()
307 if (!ip6_packet_match(skb, indev, outdev, &e->ipv6, in ip6t_do_table()
/Linux-v5.10/net/bridge/
Dbr_netfilter_hooks.c1001 struct net_device *outdev, in br_nf_hook_thresh() argument
1020 nf_hook_state_init(&state, hook, NFPROTO_BRIDGE, indev, outdev, in br_nf_hook_thresh()
/Linux-v5.10/drivers/pinctrl/
Dcore.c370 struct pinctrl_dev **outdev, in pinctrl_get_device_gpio_range() argument
383 *outdev = pctldev; in pinctrl_get_device_gpio_range()
/Linux-v5.10/security/selinux/
Dhooks.c5688 const struct net_device *outdev, in selinux_ip_postroute() argument
5693 int ifindex = outdev->ifindex; in selinux_ip_postroute()
5809 if (sel_netif_sid(dev_net(outdev), ifindex, &if_sid)) in selinux_ip_postroute()