| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_tc_neigh.c | 90 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()
|
| /linux/tools/testing/ktest/ |
| H A D | config-bisect.pl | 160 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 D | switch-driver.rst | 127 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 D | redirect.rst | 25 :doc: xdp redirect 28 Not all drivers support transmitting frames after a redirect, and for
|
| H A D | map_xskmap.rst | 33 | | 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 D | index.rst | 35 redirect
|
| H A D | map_sockmap.rst | 13 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 D | map_cpumap.rst | 25 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.
|
| H A D | bpf_prog_run.rst | 69 operation indicated by the program's return code (drop the packet, redirect 75 in packet processing, like a failure to redirect to a given interface,
|
| /linux/fs/overlayfs/ |
| H A D | dir.c | 1085 const char *redirect = ovl_dentry_get_redirect(dentry); in ovl_set_redirect() local 1088 if (redirect && (!absolute_redirect || redirect[0] == '/')) in ovl_set_redirect() 1091 redirect = ovl_get_redirect(dentry, absolute_redirect); in ovl_set_redirect() 1092 if (IS_ERR(redirect)) in ovl_set_redirect() 1093 return PTR_ERR(redirect); in ovl_set_redirect() 1097 redirect, strlen(redirect), -EXDEV); in ovl_set_redirect() 1100 ovl_dentry_set_redirect(dentry, redirect); in ovl_set_redirect() 1103 kfree(redirect); in ovl_set_redirect()
|
| H A D | params.h | 15 bool redirect; member
|
| H A D | params.c | 645 ctx->set.redirect = true; in ovl_parse_param() 892 if (set.metacopy && set.redirect) { in ovl_fs_params_verify() 897 if (set.redirect) { in ovl_fs_params_verify() 967 if (set.redirect && in ovl_fs_params_verify() 992 if (set.redirect && in ovl_fs_params_verify()
|
| H A D | ovl_entry.h | 169 const char *redirect; member
|
| H A D | Kconfig | 16 bool "Overlayfs: turn on redirect directory feature by default" 79 inconsistencies on lookup, like redirect from multiple upper dirs to
|
| /linux/drivers/net/caif/ |
| H A D | Kconfig | 21 it will redirect the TTY's traffic into the CAIF stack.
|
| /linux/net/bridge/ |
| H A D | br_nf_core.c | 55 .redirect = fake_redirect,
|
| /linux/Documentation/networking/ |
| H A D | xdp-rx-metadata.rst | 96 ``bpf_redirect_map`` can redirect the frame to a different device. 98 program after the redirect. However, the final consumer doesn't have 105 before redirect. If the frame is eventually passed to the kernel, the
|
| H A D | representors.rst | 84 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/include/net/ |
| H A D | dst_ops.h | 32 void (*redirect)(struct dst_entry *dst, struct sock *sk, member
|
| /linux/net/ipv6/ |
| H A D | xfrm6_policy.c | 120 path->ops->redirect(path, sk, skb); in xfrm6_redirect() 159 .redirect = xfrm6_redirect,
|
| /linux/drivers/tty/ |
| H A D | tty_io.c | 497 static struct file *redirect; variable 534 if (redirect && file_tty(redirect) == tty) { in tty_release_redirect() 535 struct file *f = redirect; in tty_release_redirect() 536 redirect = NULL; in tty_release_redirect() 1110 if (redirect) in redirected_tty_write() 1111 p = get_file(redirect); in redirected_tty_write() 2388 f = redirect; in tioccons() 2389 redirect = NULL; in tioccons() 2404 if (redirect) in tioccons() 2407 redirect = get_file(file); in tioccons()
|
| /linux/kernel/bpf/ |
| H A D | cpumap.c | 160 stats->redirect++; in cpu_map_bpf_prog_run_skb() 220 stats->redirect++; in cpu_map_bpf_prog_run_xdp() 263 if (stats->redirect) in cpu_map_bpf_prog_run()
|
| /linux/drivers/net/dsa/sja1105/ |
| H A D | Kconfig | 50 - redirect, trap, drop
|
| /linux/arch/arm/ |
| H A D | Kconfig-nommu | 53 external support to redirect the hardware exception vectors to
|
| /linux/drivers/media/radio/si470x/ |
| H A D | Kconfig | 32 to redirect the audio stream from the radio to your sound device:
|