Home
last modified time | relevance | path

Searched refs:oif (Results 1 - 25 of 137) sorted by relevance

123456

/kernel/linux/linux-5.10/net/netfilter/
H A Dxt_TEE.c24 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() local
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() local
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()
[all...]
H A Dnf_dup_netdev.c26 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()
63 dev = dev_get_by_index(ctx->net, oif); in nft_fwd_dup_netdev_offload()
55 nft_fwd_dup_netdev_offload(struct nft_offload_ctx *ctx, struct nft_flow_rule *flow, enum flow_action_id id, int oif) nft_fwd_dup_netdev_offload() argument
H A Dnft_fwd_netdev.c29 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()
97 int oif = regs->data[priv->sreg_dev]; in nft_fwd_neigh_eval() local
141 dev = dev_get_by_index_rcu(nft_net(pkt), oif); in nft_fwd_neigh_eval()
H A Dnft_dup_netdev.c25 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()
/kernel/linux/linux-6.6/net/netfilter/
H A Dxt_TEE.c24 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() local
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() local
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()
[all...]
H A Dnf_dup_netdev.c43 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()
80 dev = dev_get_by_index(ctx->net, oif); in nft_fwd_dup_netdev_offload()
72 nft_fwd_dup_netdev_offload(struct nft_offload_ctx *ctx, struct nft_flow_rule *flow, enum flow_action_id id, int oif) nft_fwd_dup_netdev_offload() argument
H A Dnft_fwd_netdev.c29 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()
/kernel/linux/linux-5.10/net/ipv6/
H A Dping.c54 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()
91 if (!oif && ipv6_addr_is_multicast(daddr)) in ping_v6_sendmsg()
92 oif = np->mcast_oif; in ping_v6_sendmsg()
93 else if (!oif) in ping_v6_sendmsg()
94 oif in ping_v6_sendmsg()
[all...]
/kernel/linux/linux-6.6/net/ipv6/
H A Dping.c69 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 in ping_v6_sendmsg()
[all...]
/kernel/linux/linux-6.6/net/ipv4/
H A Ddatagram.c26 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()
/kernel/linux/linux-5.10/net/ipv4/netfilter/
H A Dnf_dup_ipv4.c24 const struct in_addr *gw, int oif) in nf_dup_ipv4_route()
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()
86 if (nf_dup_ipv4_route(net, skb, gw, oif)) { in nf_dup_ipv4()
23 nf_dup_ipv4_route(struct net *net, struct sk_buff *skb, const struct in_addr *gw, int oif) nf_dup_ipv4_route() argument
50 nf_dup_ipv4(struct net *net, struct sk_buff *skb, unsigned int hooknum, const struct in_addr *gw, int oif) nf_dup_ipv4() argument
H A Dnft_fib_ipv4.c69 const struct net_device *oif; in nft_fib4_eval() local
74 * for oif 3 will get RTN_UNICAST result even if the daddr exits in nft_fib4_eval()
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()
87 fl4.flowi4_oif = l3mdev_master_ifindex_rcu(oif); in nft_fib4_eval()
136 if (!oif) { in nft_fib4_eval()
139 if (!fib_info_nh_uses_dev(res.fi, oif)) in nft_fib4_eval()
142 found = oif; in nft_fib4_eval()
/kernel/linux/linux-5.10/net/ipv6/netfilter/
H A Dnf_dup_ipv6.c20 const struct in6_addr *gw, int oif) in nf_dup_ipv6_route()
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()
65 if (nf_dup_ipv6_route(net, skb, gw, oif)) { in nf_dup_ipv6()
19 nf_dup_ipv6_route(struct net *net, struct sk_buff *skb, const struct in6_addr *gw, int oif) nf_dup_ipv6_route() argument
47 nf_dup_ipv6(struct net *net, struct sk_buff *skb, unsigned int hooknum, const struct in6_addr *gw, int oif) nf_dup_ipv6() argument
/kernel/linux/linux-6.6/net/ipv4/netfilter/
H A Dnf_dup_ipv4.c24 const struct in_addr *gw, int oif) in nf_dup_ipv4_route()
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()
86 if (nf_dup_ipv4_route(net, skb, gw, oif)) { in nf_dup_ipv4()
23 nf_dup_ipv4_route(struct net *net, struct sk_buff *skb, const struct in_addr *gw, int oif) nf_dup_ipv4_route() argument
50 nf_dup_ipv4(struct net *net, struct sk_buff *skb, unsigned int hooknum, const struct in_addr *gw, int oif) nf_dup_ipv4() argument
H A Dnft_fib_ipv4.c70 const struct net_device *oif; in nft_fib4_eval() local
75 * for oif 3 will get RTN_UNICAST result even if the daddr exits in nft_fib4_eval()
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()
/kernel/linux/linux-6.6/net/ipv6/netfilter/
H A Dnf_dup_ipv6.c20 const struct in6_addr *gw, int oif) in nf_dup_ipv6_route()
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()
65 if (nf_dup_ipv6_route(net, skb, gw, oif)) { in nf_dup_ipv6()
19 nf_dup_ipv6_route(struct net *net, struct sk_buff *skb, const struct in6_addr *gw, int oif) nf_dup_ipv6_route() argument
47 nf_dup_ipv6(struct net *net, struct sk_buff *skb, unsigned int hooknum, const struct in6_addr *gw, int oif) nf_dup_ipv6() argument
/kernel/linux/linux-6.6/sound/soc/uniphier/
H A Daio-pxs2.c49 .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, },
H A Daio-ld11.c75 .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, },
/kernel/linux/linux-5.10/include/net/netfilter/
H A Dnf_dup_netdev.h7 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);
/kernel/linux/linux-6.6/include/net/netfilter/
H A Dnf_dup_netdev.h7 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);
/kernel/linux/linux-5.10/include/net/
H A Droute.h146 __be32 saddr, u8 tos, int oif) in ip_route_output()
149 .flowi4_oif = oif, in ip_route_output()
161 __u8 proto, __u8 tos, int oif) in ip_route_output_ports()
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()
177 fl4->flowi4_oif = oif; in ip_route_output_gre()
215 void ipv4_update_pmtu(struct sk_buff *skb, struct net *net, u32 mtu, int oif,
218 void ipv4_redirect(struct sk_buff *skb, struct net *net, int oif, u8 protocol);
292 u32 tos, int oif, u8 protocol, in ip_route_connect_init()
301 flowi4_init_output(fl4, oif, s in ip_route_connect_init()
145 ip_route_output(struct net *net, __be32 daddr, __be32 saddr, u8 tos, int oif) ip_route_output() argument
157 ip_route_output_ports(struct net *net, struct flowi4 *fl4, struct sock *sk, __be32 daddr, __be32 saddr, __be16 dport, __be16 sport, __u8 proto, __u8 tos, int oif) ip_route_output_ports() argument
172 ip_route_output_gre(struct net *net, struct flowi4 *fl4, __be32 daddr, __be32 saddr, __be32 gre_key, __u8 tos, int oif) ip_route_output_gre() argument
291 ip_route_connect_init(struct flowi4 *fl4, __be32 dst, __be32 src, u32 tos, int oif, u8 protocol, __be16 sport, __be16 dport, struct sock *sk) ip_route_connect_init() argument
306 ip_route_connect(struct flowi4 *fl4, __be32 dst, __be32 src, u32 tos, int oif, u8 protocol, __be16 sport, __be16 dport, struct sock *sk) ip_route_connect() argument
[all...]
/kernel/linux/linux-6.6/include/net/
H A Droute.h154 __be32 saddr, u8 tos, int oif) in ip_route_output()
157 .flowi4_oif = oif, in ip_route_output()
169 __u8 proto, __u8 tos, int oif) in ip_route_output_ports()
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()
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()
304 flowi4_init_output(fl4, oif, READ_ONC in ip_route_connect_init()
153 ip_route_output(struct net *net, __be32 daddr, __be32 saddr, u8 tos, int oif) ip_route_output() argument
165 ip_route_output_ports(struct net *net, struct flowi4 *fl4, const struct sock *sk, __be32 daddr, __be32 saddr, __be16 dport, __be16 sport, __u8 proto, __u8 tos, int oif) ip_route_output_ports() argument
180 ip_route_output_gre(struct net *net, struct flowi4 *fl4, __be32 daddr, __be32 saddr, __be32 gre_key, __u8 tos, int oif) ip_route_output_gre() argument
294 ip_route_connect_init(struct flowi4 *fl4, __be32 dst, __be32 src, int oif, u8 protocol, __be16 sport, __be16 dport, const struct sock *sk) ip_route_connect_init() argument
309 ip_route_connect(struct flowi4 *fl4, __be32 dst, __be32 src, int oif, u8 protocol, __be16 sport, __be16 dport, const struct sock *sk) ip_route_connect() argument
[all...]
/kernel/linux/linux-5.10/net/ipv4/
H A Ddatagram.c27 int oif; in __ip4_datagram_connect() local
39 oif = sk->sk_bound_dev_if; in __ip4_datagram_connect()
42 if (!oif || netif_index_is_l3_master(sock_net(sk), oif)) in __ip4_datagram_connect()
43 oif = inet->mc_index; in __ip4_datagram_connect()
49 RT_CONN_FLAGS(sk), oif, in __ip4_datagram_connect()
/kernel/linux/linux-5.10/sound/soc/uniphier/
H A Daio-pxs2.c49 .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, },
H A Daio-ld11.c75 .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, },

Completed in 9 milliseconds

123456