Home
last modified time | relevance | path

Searched refs:redirect (Results 1 – 25 of 68) sorted by relevance

123

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tc_neigh.c90 bool redirect = false; in tc_dst() local
94 redirect = is_remote_ep_v4(skb, __bpf_constant_htonl(ip4_src)); in tc_dst()
97 redirect = is_remote_ep_v6(skb, (struct in6_addr){{ip6_src}}); in tc_dst()
101 if (!redirect) in tc_dst()
115 bool redirect = false; in tc_src() local
119 redirect = is_remote_ep_v4(skb, __bpf_constant_htonl(ip4_dst)); in tc_src()
122 redirect = is_remote_ep_v6(skb, (struct in6_addr){{ip6_dst}}); in tc_src()
126 if (!redirect) in tc_src()
H A Dxdp_features.c28 unsigned int redirect; member
/linux/tools/testing/ktest/
H A Dconfig-bisect.pl160 my ($command, $redirect) = @_;
173 if (defined($redirect)) {
174 open (RD, ">$redirect") or
175 dodie "failed to write to redirect $redirect";
/linux/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/
H A Dswitch-driver.rst127 Routing actions (redirect, trap, drop)
141 Also, the matchall filter can be used to redirect the entire traffic received
147 * mirred egress redirect
163 Example 3: redirect all frames received on eth4 to eth1::
165 $ tc filter add dev eth4 ingress matchall action mirred egress redirect dev eth1
174 action mirred egress redirect dev eth3
/linux/Documentation/bpf/
H A Dredirect.rst25 :doc: xdp redirect
28 Not all drivers support transmitting frames after a redirect, and for
H A Dmap_xskmap.rst33 | | BPF |-- redirect -->+-------------+-------------+
44 accept XDP frames from that <netdev/queue_id>. If an XDP program tries to redirect
139 ``xsks_map`` and how to redirect packets to an XSK.
H A Dindex.rst36 redirect
H A Dmap_sockmap.rst13 redirect skbs between sockets or to apply policy at the socket level based on
31 verdict program is essentially the redirect program and can return a verdict
91 returns ``SK_PASS``), redirect it to the socket referenced by ``map`` (of type
171 ``SK_PASS``), redirect it to the socket referenced by ``map`` (of type
187 returns ``SK_PASS``), redirect it to the socket referenced by ``map`` (of type
376 sockmap to redirect traffic to another socket based on the local port.
411 sockhash to redirect traffic to another socket based on a hash of some of the
H A Dmap_cpumap.rst25 initial CPU is where the XDP redirect program is executed. The remote CPU
103 ``cpu_map`` and how to redirect packets to a remote CPU using a round robin scheme.
/linux/fs/overlayfs/
H A Dparams.h15 bool redirect; member
H A Dparams.c664 ctx->set.redirect = true; in ovl_parse_param()
915 if (set.metacopy && set.redirect) { in ovl_fs_params_verify()
920 if (set.redirect) { in ovl_fs_params_verify()
990 if (set.redirect && in ovl_fs_params_verify()
1015 if (set.redirect && in ovl_fs_params_verify()
H A Dovl_entry.h164 const char *redirect; member
H A Dutil.c581 return OVL_I(d_inode(dentry))->redirect; in ovl_dentry_get_redirect()
584 void ovl_dentry_set_redirect(struct dentry *dentry, const char *redirect) in ovl_dentry_set_redirect() argument
588 kfree(oi->redirect); in ovl_dentry_set_redirect()
589 oi->redirect = redirect; in ovl_dentry_set_redirect()
H A DKconfig16 bool "Overlayfs: turn on redirect directory feature by default"
79 inconsistencies on lookup, like redirect from multiple upper dirs to
/linux/net/ipv4/
H A Dxfrm4_policy.c112 path->ops->redirect(path, sk, skb); in xfrm4_redirect()
127 .redirect = xfrm4_redirect,
/linux/net/bridge/
H A Dbr_nf_core.c55 .redirect = fake_redirect,
/linux/include/net/
H A Ddst_ops.h32 void (*redirect)(struct dst_entry *dst, struct sock *sk, member
/linux/net/ipv6/
H A Dxfrm6_policy.c124 path->ops->redirect(path, sk, skb); in xfrm6_redirect()
163 .redirect = xfrm6_redirect,
/linux/arch/x86/kernel/apic/
H A Dx2apic_uv_x.c792 union uvh_rh_gam_alias_2_redirect_config_u redirect; in get_lowmem_redirect() local
815 redirect.v = uv_read_local_mmr(m_redirect); in get_lowmem_redirect()
816 *base = (unsigned long)redirect.s.dest_base << DEST_SHIFT; in get_lowmem_redirect()
977 unsigned long redirect = uv_read_local_mmr(m_redirect); in calc_mmioh_map() local
979 nasid = redirect & nasid_mask; in calc_mmioh_map()
982 id, redirect, m_redirect, nasid); in calc_mmioh_map()
/linux/kernel/bpf/
H A Dcpumap.c162 stats->redirect++; in cpu_map_bpf_prog_run_skb()
222 stats->redirect++; in cpu_map_bpf_prog_run_xdp()
268 if (stats->redirect) in cpu_map_bpf_prog_run()
/linux/drivers/net/dsa/sja1105/
H A DKconfig50 - redirect, trap, drop
/linux/arch/arm/
H A DKconfig-nommu53 external support to redirect the hardware exception vectors to
/linux/drivers/media/radio/si470x/
H A DKconfig32 to redirect the audio stream from the radio to your sound device:
/linux/Documentation/networking/
H A Drepresentors.rst84 the representee VF. Conversely, a mirred egress redirect to a VF representor
200 action mirred egress redirect dev $PORT_DEV
225 action mirred egress redirect dev vxlan0
228 action tunnel_key unset action mirred egress redirect dev $REP_DEV
/linux/Documentation/filesystems/
H A Doverlayfs.rst210 copied up (but not the contents). Then the "trusted.overlay.redirect"
234 The maximum number of bytes in an absolute redirect (default is 256).
259 turning off redirect follow (e.g. "redirect_dir=nofollow").
458 when a "metacopy" file in one of the lower layers above it, has a "redirect"
465 must be given to privileges needed to change the "user.overlay.redirect" xattr
691 to by the "trusted.overlay.redirect" extended attribute, will verify
747 directory may have a "redirect" to lower directory. Because middle layer
749 "redirect" origin directory, cannot be used to find the middle or upper
751 descendant of the "redirect" origin directory, cannot be used to
756 used NFS export in this setup requires turning off redirect follow (e.g.

123