/linux/net/netfilter/ |
A D | xt_TEE.c | 24 int oif; member 40 int oif = info->priv ? info->priv->oif : 0; in tee_tg4() local 52 int oif = info->priv ? info->priv->oif : 0; in tee_tg6() local 73 priv->oif = dev->ifindex; in tee_netdev_event() 77 priv->oif = -1; in tee_netdev_event() 81 priv->oif = dev->ifindex; in tee_netdev_event() 83 priv->oif = -1; in tee_netdev_event() 103 if (info->oif[0]) { in tee_tg_check() 106 if (info->oif[sizeof(info->oif)-1] != '\0') in tee_tg_check() 114 priv->oif = -1; in tee_tg_check() [all …]
|
A D | nf_dup_netdev.c | 26 void nf_fwd_netdev_egress(const struct nft_pktinfo *pkt, int oif) in nf_fwd_netdev_egress() argument 30 dev = dev_get_by_index_rcu(nft_net(pkt), oif); in nf_fwd_netdev_egress() 40 void nf_dup_netdev_egress(const struct nft_pktinfo *pkt, int oif) in nf_dup_netdev_egress() argument 45 dev = dev_get_by_index_rcu(nft_net(pkt), oif); in nf_dup_netdev_egress() 57 enum flow_action_id id, int oif) in nft_fwd_dup_netdev_offload() argument 63 dev = dev_get_by_index(ctx->net, oif); in nft_fwd_dup_netdev_offload()
|
A D | nft_dup_netdev.c | 25 int oif = regs->data[priv->sreg_dev]; in nft_dup_netdev_eval() local 27 nf_dup_netdev_egress(pkt, oif); in nft_dup_netdev_eval() 65 int oif = ctx->regs[priv->sreg_dev].data.data[0]; in nft_dup_netdev_offload() local 67 return nft_fwd_dup_netdev_offload(ctx, flow, FLOW_ACTION_MIRRED, oif); in nft_dup_netdev_offload()
|
A D | nft_fwd_netdev.c | 29 int oif = regs->data[priv->sreg_dev]; in nft_fwd_netdev_eval() local 34 nf_fwd_netdev_egress(pkt, oif); in nft_fwd_netdev_eval() 75 int oif = ctx->regs[priv->sreg_dev].data.data[0]; in nft_fwd_netdev_offload() local 77 return nft_fwd_dup_netdev_offload(ctx, flow, FLOW_ACTION_REDIRECT, oif); in nft_fwd_netdev_offload() 92 int oif = regs->data[priv->sreg_dev]; in nft_fwd_neigh_eval() local 136 dev = dev_get_by_index_rcu(nft_net(pkt), oif); in nft_fwd_neigh_eval()
|
/linux/net/ipv6/ |
A D | ping.c | 54 int oif = 0; in ping_v6_sendmsg() local 78 oif = u->sin6_scope_id; in ping_v6_sendmsg() 85 if (!oif) in ping_v6_sendmsg() 86 oif = sk->sk_bound_dev_if; in ping_v6_sendmsg() 88 if (!oif) in ping_v6_sendmsg() 89 oif = np->sticky_pktinfo.ipi6_ifindex; in ping_v6_sendmsg() 92 oif = np->mcast_oif; in ping_v6_sendmsg() 93 else if (!oif) in ping_v6_sendmsg() 94 oif = np->ucast_oif; in ping_v6_sendmsg() 99 (oif && sk->sk_bound_dev_if && oif != sk->sk_bound_dev_if)) in ping_v6_sendmsg() [all …]
|
A D | fib6_rules.c | 63 int fib6_lookup(struct net *net, int oif, struct flowi6 *fl6, in fib6_lookup() argument 71 .lookup_data = &oif, in fib6_lookup() 81 err = fib6_table_lookup(net, net->ipv6.fib6_local_tbl, oif, in fib6_lookup() 85 oif, fl6, res, flags); in fib6_lookup() 164 int err, *oif; in fib6_rule_action_alt() local 184 oif = (int *)arg->lookup_data; in fib6_rule_action_alt() 185 err = fib6_table_lookup(net, table, *oif, flp6, res, flags); in fib6_rule_action_alt()
|
A D | xfrm6_policy.c | 26 static struct dst_entry *xfrm6_dst_lookup(struct net *net, int tos, int oif, in xfrm6_dst_lookup() argument 36 fl6.flowi6_oif = l3mdev_master_ifindex_by_index(net, oif); in xfrm6_dst_lookup() 54 static int xfrm6_get_saddr(struct net *net, int oif, in xfrm6_get_saddr() argument 61 dst = xfrm6_dst_lookup(net, 0, oif, NULL, daddr, mark); in xfrm6_get_saddr()
|
A D | route.c | 473 if (oif) { in __rt6_device_match() 488 int oif; member 511 .oif = oif, in rt6_nh_dev_match() 711 if (!oif || nh->fib_nh_dev->ifindex == oif) in rt6_score_route() 766 int oif; member 806 .oif = oif, in __find_rr_leaf() 1267 .flowi6_oif = oif, in rt6_lookup() 2182 oif = 0; in fib6_table_lookup() 2936 .flowi6_oif = oif, in ip6_update_pmtu() 3152 .flowi6_oif = oif, in ip6_redirect() [all …]
|
/linux/include/net/ |
A D | route.h | 146 __be32 saddr, u8 tos, int oif) in ip_route_output() argument 149 .flowi4_oif = oif, in ip_route_output() 161 __u8 proto, __u8 tos, int oif) in ip_route_output_ports() argument 163 flowi4_init_output(fl4, oif, sk ? sk->sk_mark : 0, tos, in ip_route_output_ports() 174 __be32 gre_key, __u8 tos, int oif) in ip_route_output_gre() argument 177 fl4->flowi4_oif = oif; in ip_route_output_gre() 292 u32 tos, int oif, u8 protocol, in ip_route_connect_init() argument 301 flowi4_init_output(fl4, oif, sk->sk_mark, tos, RT_SCOPE_UNIVERSE, in ip_route_connect_init() 308 int oif, u8 protocol, in ip_route_connect() argument 315 ip_route_connect_init(fl4, dst, src, tos, oif, protocol, in ip_route_connect() [all …]
|
A D | ipv6_stubs.h | 34 int (*fib6_lookup)(struct net *net, int oif, struct flowi6 *fl6, 37 int oif, struct flowi6 *fl6, 40 struct flowi6 *fl6, int oif, bool oif_match,
|
A D | flow.h | 96 static inline void flowi4_init_output(struct flowi4 *fl4, int oif, in flowi4_init_output() argument 103 fl4->flowi4_oif = oif; in flowi4_init_output() 121 static inline void flowi4_update_output(struct flowi4 *fl4, int oif, __u8 tos, in flowi4_update_output() argument 124 fl4->flowi4_oif = oif; in flowi4_update_output()
|
/linux/net/ipv4/netfilter/ |
A D | nf_dup_ipv4.c | 24 const struct in_addr *gw, int oif) in nf_dup_ipv4_route() argument 31 if (oif != -1) in nf_dup_ipv4_route() 32 fl4.flowi4_oif = oif; in nf_dup_ipv4_route() 51 const struct in_addr *gw, int oif) in nf_dup_ipv4() argument 86 if (nf_dup_ipv4_route(net, skb, gw, oif)) { in nf_dup_ipv4()
|
A D | nft_fib_ipv4.c | 69 const struct net_device *oif; in nft_fib4_eval() local 80 oif = nft_out(pkt); in nft_fib4_eval() 82 oif = nft_in(pkt); in nft_fib4_eval() 84 oif = NULL; in nft_fib4_eval() 133 if (!oif) { in nft_fib4_eval() 136 if (!fib_info_nh_uses_dev(res.fi, oif)) in nft_fib4_eval() 139 found = oif; in nft_fib4_eval()
|
A D | nft_dup_ipv4.c | 28 int oif = priv->sreg_dev ? regs->data[priv->sreg_dev] : -1; in nft_dup_ipv4_eval() local 30 nf_dup_ipv4(nft_net(pkt), pkt->skb, nft_hook(pkt), &gw, oif); in nft_dup_ipv4_eval()
|
/linux/net/ipv6/netfilter/ |
A D | nf_dup_ipv6.c | 20 const struct in6_addr *gw, int oif) in nf_dup_ipv6_route() argument 27 if (oif != -1) in nf_dup_ipv6_route() 28 fl6.flowi6_oif = oif; in nf_dup_ipv6_route() 48 const struct in6_addr *gw, int oif) in nf_dup_ipv6() argument 65 if (nf_dup_ipv6_route(net, skb, gw, oif)) { in nf_dup_ipv6()
|
A D | nft_fib_ipv6.c | 154 const struct net_device *oif = NULL; in nft_fib6_eval() local 165 oif = nft_in(pkt); in nft_fib6_eval() 167 oif = nft_out(pkt); in nft_fib6_eval() 175 lookup_flags = nft_fib6_flowi_init(&fl6, priv, pkt, oif, iph); in nft_fib6_eval() 196 if (oif && oif != rt->rt6i_idev->dev) in nft_fib6_eval()
|
A D | nft_dup_ipv6.c | 26 int oif = priv->sreg_dev ? regs->data[priv->sreg_dev] : -1; in nft_dup_ipv6_eval() local 28 nf_dup_ipv6(nft_net(pkt), pkt->skb, nft_hook(pkt), gw, oif); in nft_dup_ipv6_eval()
|
/linux/net/ipv4/ |
A D | datagram.c | 26 int oif; in __ip4_datagram_connect() local 38 oif = sk->sk_bound_dev_if; in __ip4_datagram_connect() 41 if (!oif || netif_index_is_l3_master(sock_net(sk), oif)) in __ip4_datagram_connect() 42 oif = inet->mc_index; in __ip4_datagram_connect() 48 RT_CONN_FLAGS(sk), oif, in __ip4_datagram_connect()
|
A D | xfrm4_policy.c | 21 int tos, int oif, in __xfrm4_dst_lookup() argument 31 fl4->flowi4_oif = l3mdev_master_ifindex_by_index(net, oif); in __xfrm4_dst_lookup() 45 static struct dst_entry *xfrm4_dst_lookup(struct net *net, int tos, int oif, in xfrm4_dst_lookup() argument 52 return __xfrm4_dst_lookup(net, &fl4, tos, oif, saddr, daddr, mark); in xfrm4_dst_lookup() 55 static int xfrm4_get_saddr(struct net *net, int oif, in xfrm4_get_saddr() argument 62 dst = __xfrm4_dst_lookup(net, &fl4, 0, oif, NULL, daddr, mark); in xfrm4_get_saddr()
|
/linux/sound/soc/uniphier/ |
A D | aio-pxs2.c | 49 .oif = { 0, 0, }, 63 .oif = { 1, 1, }, 77 .oif = { 2, 2, }, 90 .oif = { 6, 4, }, 103 .oif = { 6, 4, }, 116 .oif = { 7, 5, }, 129 .oif = { 7, 5, },
|
A D | aio-ld11.c | 75 .oif = { 0, 0, }, 89 .oif = { 0, 0, }, 103 .oif = { 2, 2, }, 116 .oif = { 3, 3, }, 129 .oif = { 7, 5, }, 144 .oif = { 8, 6, }, 160 .oif = { 1, 1, }, 174 .oif = { 1, 1, },
|
/linux/include/net/netfilter/ |
A D | nf_dup_netdev.h | 7 void nf_dup_netdev_egress(const struct nft_pktinfo *pkt, int oif); 8 void nf_fwd_netdev_egress(const struct nft_pktinfo *pkt, int oif); 15 enum flow_action_id id, int oif);
|
/linux/tools/testing/selftests/netfilter/ |
A D | conntrack_vrf.sh | 123 oif veth0 counter ct zone set 1 counter return 124 oif tvrf counter ct zone set 2 counter return 167 oif tvrf ct state untracked counter 172 oif tvrf ct state untracked counter 215 meta oif veth0 ip saddr 172.30.30.0/30 counter masquerade random
|
/linux/include/trace/events/ |
A D | fib6.h | 23 __field( int, oif ) 43 __entry->oif = flp->flowi6_oif; 83 __entry->tb_id, __entry->oif, __entry->iif, __entry->proto,
|
A D | fib.h | 23 __field( int, oif ) 46 __entry->oif = flp->flowi4_oif; 95 __entry->tb_id, __entry->oif, __entry->iif, __entry->proto,
|