/linux-6.6.21/net/netfilter/ |
D | xt_TEE.c | 24 int oif; member 40 int oif = info->priv ? info->priv->oif : 0; in tee_tg4() local 42 nf_dup_ipv4(xt_net(par), skb, xt_hooknum(par), &info->gw.in, oif); in tee_tg4() 52 int oif = info->priv ? info->priv->oif : 0; in tee_tg6() local 54 nf_dup_ipv6(xt_net(par), skb, xt_hooknum(par), &info->gw.in6, oif); in tee_tg6() 72 if (!strcmp(dev->name, priv->tginfo->oif)) in tee_netdev_event() 73 priv->oif = dev->ifindex; in tee_netdev_event() 76 if (dev->ifindex == priv->oif) in tee_netdev_event() 77 priv->oif = -1; in tee_netdev_event() 80 if (!strcmp(dev->name, priv->tginfo->oif)) in tee_netdev_event() [all …]
|
D | nf_dup_netdev.c | 43 void nf_fwd_netdev_egress(const struct nft_pktinfo *pkt, int oif) in nf_fwd_netdev_egress() argument 47 dev = dev_get_by_index_rcu(nft_net(pkt), oif); in nf_fwd_netdev_egress() 57 void nf_dup_netdev_egress(const struct nft_pktinfo *pkt, int oif) in nf_dup_netdev_egress() argument 62 dev = dev_get_by_index_rcu(nft_net(pkt), oif); in nf_dup_netdev_egress() 74 enum flow_action_id id, int oif) in nft_fwd_dup_netdev_offload() argument 80 dev = dev_get_by_index(ctx->net, oif); in nft_fwd_dup_netdev_offload()
|
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() 66 int oif = ctx->regs[priv->sreg_dev].data.data[0]; in nft_dup_netdev_offload() local 68 return nft_fwd_dup_netdev_offload(ctx, flow, FLOW_ACTION_MIRRED, oif); in nft_dup_netdev_offload()
|
D | nft_fwd_netdev.c | 29 int oif = regs->data[priv->sreg_dev]; in nft_fwd_netdev_eval() local 36 nf_fwd_netdev_egress(pkt, oif); in nft_fwd_netdev_eval() 78 int oif = ctx->regs[priv->sreg_dev].data.data[0]; in nft_fwd_netdev_offload() local 80 return nft_fwd_dup_netdev_offload(ctx, flow, FLOW_ACTION_REDIRECT, oif); in nft_fwd_netdev_offload() 100 int oif = regs->data[priv->sreg_dev]; in nft_fwd_neigh_eval() local 144 dev = dev_get_by_index_rcu(nft_net(pkt), oif); in nft_fwd_neigh_eval()
|
/linux-6.6.21/net/ipv6/ |
D | ping.c | 69 int oif = 0; in ping_v6_sendmsg() local 95 oif = u->sin6_scope_id; in ping_v6_sendmsg() 103 if (!oif) in ping_v6_sendmsg() 104 oif = sk->sk_bound_dev_if; in ping_v6_sendmsg() 106 if (!oif) in ping_v6_sendmsg() 107 oif = np->sticky_pktinfo.ipi6_ifindex; in ping_v6_sendmsg() 109 if (!oif && ipv6_addr_is_multicast(daddr)) in ping_v6_sendmsg() 110 oif = np->mcast_oif; in ping_v6_sendmsg() 111 else if (!oif) in ping_v6_sendmsg() 112 oif = np->ucast_oif; in ping_v6_sendmsg() [all …]
|
D | fib6_rules.c | 64 int fib6_lookup(struct net *net, int oif, struct flowi6 *fl6, in fib6_lookup() argument 72 .lookup_data = &oif, in fib6_lookup() 82 err = fib6_table_lookup(net, net->ipv6.fib6_local_tbl, oif, in fib6_lookup() 86 oif, fl6, res, flags); in fib6_lookup() 165 int err, *oif; in fib6_rule_action_alt() local 185 oif = (int *)arg->lookup_data; in fib6_rule_action_alt() 186 err = fib6_table_lookup(net, table, *oif, flp6, res, flags); in fib6_rule_action_alt()
|
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_l3mdev = l3mdev_master_ifindex_by_index(net, oif); in xfrm6_dst_lookup() 53 static int xfrm6_get_saddr(struct net *net, int oif, in xfrm6_get_saddr() argument 60 dst = xfrm6_dst_lookup(net, 0, oif, NULL, daddr, mark); in xfrm6_get_saddr()
|
D | addrconf_core.c | 152 int oif, struct flowi6 *fl6, in eafnosupport_fib6_table_lookup() argument 159 eafnosupport_fib6_lookup(struct net *net, int oif, struct flowi6 *fl6, in eafnosupport_fib6_lookup() argument 167 struct flowi6 *fl6, int oif, bool have_oif_match, in eafnosupport_fib6_select_path() argument
|
/linux-6.6.21/net/ipv4/ |
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() 45 } else if (!oif) { in __ip4_datagram_connect() 46 oif = inet->uc_index; in __ip4_datagram_connect() 49 rt = ip_route_connect(fl4, usin->sin_addr.s_addr, saddr, oif, in __ip4_datagram_connect()
|
D | xfrm4_policy.c | 21 int tos, int oif, in __xfrm4_dst_lookup() argument 31 fl4->flowi4_l3mdev = l3mdev_master_ifindex_by_index(net, oif); in __xfrm4_dst_lookup() 43 static struct dst_entry *xfrm4_dst_lookup(struct net *net, int tos, int oif, in xfrm4_dst_lookup() argument 50 return __xfrm4_dst_lookup(net, &fl4, tos, oif, saddr, daddr, mark); in xfrm4_dst_lookup() 53 static int xfrm4_get_saddr(struct net *net, int oif, in xfrm4_get_saddr() argument 60 dst = __xfrm4_dst_lookup(net, &fl4, 0, oif, NULL, daddr, mark); in xfrm4_get_saddr()
|
/linux-6.6.21/net/ipv4/netfilter/ |
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()
|
D | nft_fib_ipv4.c | 70 const struct net_device *oif; in nft_fib4_eval() local 81 oif = nft_out(pkt); in nft_fib4_eval() 83 oif = nft_in(pkt); in nft_fib4_eval() 85 oif = NULL; in nft_fib4_eval() 88 fl4.flowi4_l3mdev = l3mdev_master_ifindex_rcu(oif); in nft_fib4_eval() 141 if (!oif) { in nft_fib4_eval() 144 if (!fib_info_nh_uses_dev(res.fi, oif)) in nft_fib4_eval() 146 found = oif; in nft_fib4_eval()
|
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-6.6.21/net/ipv6/netfilter/ |
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()
|
D | nft_fib_ipv6.c | 161 const struct net_device *oif = NULL; in nft_fib6_eval() local 173 oif = nft_in(pkt); in nft_fib6_eval() 175 oif = nft_out(pkt); in nft_fib6_eval() 183 lookup_flags = nft_fib6_flowi_init(&fl6, priv, pkt, oif, iph); in nft_fib6_eval() 204 if (oif && oif != rt->rt6i_idev->dev && in nft_fib6_eval() 205 l3mdev_master_ifindex_rcu(rt->rt6i_idev->dev) != oif->ifindex) in nft_fib6_eval()
|
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-6.6.21/sound/soc/uniphier/ |
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, },
|
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-6.6.21/include/net/ |
D | route.h | 154 __be32 saddr, u8 tos, int oif) in ip_route_output() argument 157 .flowi4_oif = oif, in ip_route_output() 169 __u8 proto, __u8 tos, int oif) in ip_route_output_ports() argument 171 flowi4_init_output(fl4, oif, sk ? READ_ONCE(sk->sk_mark) : 0, tos, in ip_route_output_ports() 182 __be32 gre_key, __u8 tos, int oif) in ip_route_output_gre() argument 185 fl4->flowi4_oif = oif; in ip_route_output_gre() 219 void ipv4_update_pmtu(struct sk_buff *skb, struct net *net, u32 mtu, int oif, 222 void ipv4_redirect(struct sk_buff *skb, struct net *net, int oif, u8 protocol); 295 __be32 src, int oif, u8 protocol, in ip_route_connect_init() argument 304 flowi4_init_output(fl4, oif, READ_ONCE(sk->sk_mark), ip_sock_rt_tos(sk), in ip_route_connect_init() [all …]
|
D | flow.h | 93 static inline void flowi4_init_output(struct flowi4 *fl4, int oif, in flowi4_init_output() argument 100 fl4->flowi4_oif = oif; in flowi4_init_output() 119 static inline void flowi4_update_output(struct flowi4 *fl4, int oif, in flowi4_update_output() argument 122 fl4->flowi4_oif = oif; in flowi4_update_output()
|
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,
|
/linux-6.6.21/include/net/netfilter/ |
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-6.6.21/tools/testing/selftests/netfilter/ |
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-6.6.21/include/trace/events/ |
D | fib6.h | 23 __field( int, oif ) 43 __entry->oif = flp->flowi6_oif; 80 __entry->tb_id, __entry->oif, __entry->iif, __entry->proto,
|
D | fib.h | 23 __field( int, oif ) 45 __entry->oif = flp->flowi4_oif; 94 __entry->tb_id, __entry->oif, __entry->iif, __entry->proto,
|