/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
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-6.12.1/fs/overlayfs/ |
D | namei.c | 28 char *redirect; member 64 kfree(d->redirect); in ovl_check_redirect() 65 d->redirect = buf; in ovl_check_redirect() 66 d->name.name = d->redirect; in ovl_check_redirect() 67 d->name.len = strlen(d->redirect); in ovl_check_redirect() 365 static int ovl_lookup_data_layer(struct dentry *dentry, const char *redirect, in ovl_lookup_data_layer() argument 371 err = vfs_path_lookup(layer->mnt->mnt_root, layer->mnt, redirect, in ovl_lookup_data_layer() 375 dentry, redirect, layer->idx, err); in ovl_lookup_data_layer() 398 static int ovl_lookup_data_layers(struct dentry *dentry, const char *redirect, in ovl_lookup_data_layers() argument 409 err = ovl_lookup_data_layer(dentry, redirect, layer, &datapath); in ovl_lookup_data_layers() [all …]
|
D | dir.c | 1052 const char *redirect = ovl_dentry_get_redirect(dentry); in ovl_set_redirect() local 1055 if (redirect && (!absolute_redirect || redirect[0] == '/')) in ovl_set_redirect() 1058 redirect = ovl_get_redirect(dentry, absolute_redirect); in ovl_set_redirect() 1059 if (IS_ERR(redirect)) in ovl_set_redirect() 1060 return PTR_ERR(redirect); in ovl_set_redirect() 1064 redirect, strlen(redirect), -EXDEV); in ovl_set_redirect() 1067 ovl_dentry_set_redirect(dentry, redirect); in ovl_set_redirect() 1070 kfree(redirect); in ovl_set_redirect()
|
D | params.c | 570 ctx->set.redirect = true; in ovl_parse_param() 804 if (set.metacopy && set.redirect) { in ovl_fs_params_verify() 809 if (config->verity_mode && set.redirect) { in ovl_fs_params_verify() 814 if (set.redirect) { in ovl_fs_params_verify() 884 if (set.redirect && in ovl_fs_params_verify() 914 if (set.redirect && in ovl_fs_params_verify()
|
D | params.h | 15 bool redirect; member
|
D | ovl_entry.h | 167 const char *redirect; member
|
D | util.c | 565 return OVL_I(d_inode(dentry))->redirect; in ovl_dentry_get_redirect() 568 void ovl_dentry_set_redirect(struct dentry *dentry, const char *redirect) in ovl_dentry_set_redirect() argument 572 kfree(oi->redirect); in ovl_dentry_set_redirect() 573 oi->redirect = redirect; in ovl_dentry_set_redirect()
|
D | Kconfig | 16 bool "Overlayfs: turn on redirect directory feature by default" 79 inconsistencies on lookup, like redirect from multiple upper dirs to
|
/linux-6.12.1/tools/testing/ktest/ |
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-6.12.1/Documentation/bpf/ |
D | redirect.rst | 25 :doc: xdp redirect 28 Not all drivers support transmitting frames after a redirect, and for
|
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.
|
D | index.rst | 35 redirect
|
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
|
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.
|
/linux-6.12.1/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/ |
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-6.12.1/Documentation/networking/ |
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
|
/linux-6.12.1/net/ipv4/ |
D | xfrm4_policy.c | 111 path->ops->redirect(path, sk, skb); in xfrm4_redirect() 126 .redirect = xfrm4_redirect,
|
/linux-6.12.1/net/bridge/ |
D | br_nf_core.c | 55 .redirect = fake_redirect,
|
/linux-6.12.1/drivers/net/caif/ |
D | Kconfig | 21 it will redirect the TTY's traffic into the CAIF stack.
|
/linux-6.12.1/include/net/ |
D | dst_ops.h | 32 void (*redirect)(struct dst_entry *dst, struct sock *sk, member
|
/linux-6.12.1/net/ipv6/ |
D | xfrm6_policy.c | 120 path->ops->redirect(path, sk, skb); in xfrm6_redirect() 159 .redirect = xfrm6_redirect,
|
/linux-6.12.1/drivers/tty/ |
D | tty_io.c | 499 static struct file *redirect; variable 537 if (redirect && file_tty(redirect) == tty) { in tty_release_redirect() 538 f = redirect; in tty_release_redirect() 539 redirect = NULL; in tty_release_redirect() 1119 if (redirect) in redirected_tty_write() 1120 p = get_file(redirect); in redirected_tty_write() 2399 f = redirect; in tioccons() 2400 redirect = NULL; in tioccons() 2413 if (redirect) { in tioccons() 2417 redirect = get_file(file); in tioccons()
|
/linux-6.12.1/kernel/bpf/ |
D | cpumap.c | 158 stats->redirect++; in cpu_map_bpf_prog_run_skb() 217 stats->redirect++; in cpu_map_bpf_prog_run_xdp() 252 if (stats->redirect) in cpu_map_bpf_prog_run()
|
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_offload.h | 87 int (*redirect)(void *ctx, struct dst_entry *old, member
|
/linux-6.12.1/arch/x86/kernel/apic/ |
D | x2apic_uv_x.c | 792 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()
|