| /linux/net/netfilter/ |
| H A 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 …]
|
| H A D | nf_dup_netdev.c | 57 void nf_fwd_netdev_egress(const struct nft_pktinfo *pkt, int oif) in nf_dup_netdev_egress() argument 61 dev = dev_get_by_index_rcu(nft_net(pkt), oif); in nf_dup_netdev_egress() 71 void nf_dup_netdev_egress(const struct nft_pktinfo *pkt, int oif) 76 dev = dev_get_by_index_rcu(nft_net(pkt), oif); in nft_fwd_dup_netdev_offload() 88 enum flow_action_id id, int oif) in nft_fwd_dup_netdev_offload() 94 dev = dev_get_by_index(ctx->net, oif); 43 nf_fwd_netdev_egress(const struct nft_pktinfo * pkt,int oif) nf_fwd_netdev_egress() argument 74 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 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()
|
| H A 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 154 dev = dev_get_by_index_rcu(nft_net(pkt), oif);
|
| /linux/net/ipv4/ |
| H 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 = READ_ONCE(inet->mc_index); in __ip4_datagram_connect() 45 } else if (!oif) { in __ip4_datagram_connect() 46 oif = READ_ONCE(inet->uc_index); in __ip4_datagram_connect() 49 rt = ip_route_connect(fl4, usin->sin_addr.s_addr, saddr, oif, in __ip4_datagram_connect()
|
| /linux/sound/soc/uniphier/ |
| H 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, },
|
| H 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/net/ipv6/netfilter/ |
| H 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 66 if (nf_dup_ipv6_route(net, skb, gw, oif)) { in nf_dup_ipv6()
|
| H A D | nft_fib_ipv6.c | 189 const struct net_device *oif = NULL; in nft_fib6_eval() 206 oif = nft_in(pkt); in nft_fib6_eval() 208 oif = nft_out(pkt); in nft_fib6_eval() 221 lookup_flags = nft_fib6_flowi_init(&fl6, priv, pkt, oif, iph); 228 if (!oif) { 231 if (nft_fib6_info_nh_uses_dev(res.f6i, oif)) 232 found = oif; 161 const struct net_device *oif = NULL; nft_fib6_eval() local
|
| H 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/fs/btrfs/ |
| H A D | accessors.c | 57 const unsigned long oif = get_eb_offset_in_folio(eb, \ 59 char *kaddr = folio_address(eb->folios[idx]) + oif; \ 60 const int part = eb->folio_size - oif; \ 87 const unsigned long oif = get_eb_offset_in_folio(eb, \ 89 char *kaddr = folio_address(eb->folios[idx]) + oif; \ 90 const int part = eb->folio_size - oif; \
|
| /linux/include/net/netfilter/ |
| H 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/net/netfilter/ |
| H A D | nft_fib.sh | 46 fib saddr . iif oif missing counter log prefix "$netns nft_rpfilter: " drop 59 fib saddr . iif oif missing counter log prefix "$netns nft_rpfilter: " drop 72 fib saddr . iif oif gt 0 accept 94 fib daddr . oif type unicast counter 96 fib daddr . oif type local counter 169 ip daddr 1.1.1.1 fib saddr . iif oif missing counter drop 170 ip6 daddr 1c3::c01d fib saddr . iif oif missing counter drop 347 typeof meta iif . ip daddr . fib daddr oif 353 typeof meta iif . ip daddr . fib daddr . iif oif 359 typeof meta iif . ip6 daddr . fib daddr oif [all …]
|
| H A D | conntrack_vrf.sh | 4 # The vrf driver calls the netfilter hooks again, with oif/iif 102 oif veth0 counter ct zone set 1 counter return 103 oif tvrf counter ct zone set 2 counter return 146 oif tvrf ct state untracked counter 151 oif tvrf ct state untracked counter 155 # NB: masquerade should always be combined with 'oif(name) bla', 192 meta oif veth0 ip saddr 172.30.30.0/30 counter masquerade random
|
| /linux/include/net/ |
| H A D | ipv6_stubs.h | |
| /linux/net/ipv6/ |
| H A D | fib6_rules.c | 68 int fib6_lookup(struct net *net, int oif, struct flowi6 *fl6, in fib6_lookup() argument 76 .lookup_data = &oif, in fib6_lookup() 86 err = fib6_table_lookup(net, net->ipv6.fib6_local_tbl, oif, in fib6_lookup() 90 oif, fl6, res, flags); in fib6_lookup() 112 /* update flow if oif or iif point to device enslaved to l3mdev */ in fib6_rule_lookup() 172 int err, *oif; in fib6_rule_action_alt() 192 oif = (int *)arg->lookup_data; in fib6_rule_action_alt() 193 err = fib6_table_lookup(net, table, *oif, flp6, res, flags); in fib6_rule_action_alt() 169 int err, *oif; fib6_rule_action_alt() local
|
| H A D | route.c | 107 static int rt6_score_route(const struct fib6_nh *nh, u32 fib6_flags, int oif, 439 struct flowi6 *fl6, int oif, bool have_oif_match, in fib6_select_path() argument 473 if (rt6_score_route(first->fib6_nh, first->fib6_flags, oif, in fib6_select_path() 487 if (rt6_score_route(nh, sibling->fib6_flags, oif, strict) < 0) in fib6_select_path() 503 const struct in6_addr *saddr, int oif, int flags) in __rt6_device_match() argument 511 if (oif) { in __rt6_device_match() 512 if (dev->ifindex == oif) in __rt6_device_match() 526 int oif; member 536 return __rt6_device_match(arg->net, nh, arg->saddr, arg->oif, in __rt6_nh_dev_match() 544 int oif, in in rt6_nh_dev_match() argument 563 rt6_device_match(struct net * net,struct fib6_result * res,const struct in6_addr * saddr,int oif,int flags) rt6_device_match() argument 748 rt6_score_route(const struct fib6_nh * nh,u32 fib6_flags,int oif,int strict) rt6_score_route() argument 771 find_match(struct fib6_nh * nh,u32 fib6_flags,int oif,int strict,int * mpri,bool * do_rr) find_match() argument 808 int oif; global() member 827 __find_rr_leaf(struct fib6_info * f6i_start,struct fib6_info * nomatch,u32 metric,struct fib6_result * res,struct fib6_info ** cont,int oif,int strict,bool * do_rr,int * mpri) __find_rr_leaf() argument 882 find_rr_leaf(struct fib6_node * fn,struct fib6_info * leaf,struct fib6_info * rr_head,int oif,int strict,bool * do_rr,struct fib6_result * res) find_rr_leaf() argument 902 rt6_select(struct net * net,struct fib6_node * fn,int oif,struct fib6_result * res,int strict) rt6_select() argument 1313 rt6_lookup(struct net * net,const struct in6_addr * daddr,const struct in6_addr * saddr,int oif,const struct sk_buff * skb,int strict) rt6_lookup() argument 2238 fib6_table_lookup(struct net * net,struct fib6_table * table,int oif,struct flowi6 * fl6,struct fib6_result * res,int strict) fib6_table_lookup() argument 2266 ip6_pol_route(struct net * net,struct fib6_table * table,int oif,struct flowi6 * fl6,const struct sk_buff * skb,int flags) ip6_pol_route() argument 2998 ip6_update_pmtu(struct sk_buff * skb,struct net * net,__be32 mtu,int oif,u32 mark,kuid_t uid) ip6_update_pmtu() argument 3020 int oif = sk->sk_bound_dev_if; ip6_sk_update_pmtu() local 3206 ip6_redirect(struct sk_buff * skb,struct net * net,int oif,u32 mark,kuid_t uid) ip6_redirect() argument 3227 ip6_redirect_no_header(struct sk_buff * skb,struct net * net,int oif) ip6_redirect_no_header() argument 6197 int err, iif = 0, oif = 0; inet6_rtm_getroute() local [all...] |
| H A D | addrconf_core.c | 152 eafnosupport_fib6_table_lookup(struct net * net,struct fib6_table * table,int oif,struct flowi6 * fl6,struct fib6_result * res,int flags) eafnosupport_fib6_table_lookup() argument 159 eafnosupport_fib6_lookup(struct net * net,int oif,struct flowi6 * fl6,struct fib6_result * res,int flags) eafnosupport_fib6_lookup() argument 167 eafnosupport_fib6_select_path(const struct net * net,struct fib6_result * res,struct flowi6 * fl6,int oif,bool have_oif_match,const struct sk_buff * skb,int strict) eafnosupport_fib6_select_path() argument
|
| H A D | ip6_udp_tunnel.c | 122 * @oif: Index of the output interface 139 int oif, in udp_tunnel6_dst_lookup() argument 158 fl6.flowi6_oif = oif; in udp_tunnel6_dst_lookup()
|
| /linux/net/ipv4/netfilter/ |
| H 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/tools/testing/selftests/net/forwarding/ |
| H A D | router_broadcast.sh | 167 local oif=$1 175 ip vrf exec $(master_name_get $oif) \ 176 $PING -I $oif $dip -c 10 -i 0.1 -w $PING_TIMEOUT -b 2>&1 \
|
| /linux/fs/ocfs2/ |
| H A D | ioctl.c | 241 struct ocfs2_info_fs_features oif; in ocfs2_info_handle_fs_features() local 244 if (o2info_from_user(oif, req)) in ocfs2_info_handle_fs_features() 247 oif.if_compat_features = osb->s_feature_compat; in ocfs2_info_handle_fs_features() 248 oif.if_incompat_features = osb->s_feature_incompat; in ocfs2_info_handle_fs_features() 249 oif.if_ro_compat_features = osb->s_feature_ro_compat; in ocfs2_info_handle_fs_features() 251 o2info_set_request_filled(&oif.if_req); in ocfs2_info_handle_fs_features() 253 if (o2info_to_user(oif, req)) in ocfs2_info_handle_fs_features()
|
| /linux/include/uapi/linux/netfilter/ |
| H A D | xt_TEE.h | 9 char oif[16]; member
|
| /linux/include/net/netfilter/ipv6/ |
| H A D | nf_dup_ipv6.h | 8 const struct in6_addr *gw, int oif);
|
| /linux/include/net/netfilter/ipv4/ |
| H A D | nf_dup_ipv4.h | 9 const struct in_addr *gw, int oif);
|