Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
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()
/linux-6.3-rc2/arch/ia64/uv/kernel/
A Dsetup.c26 unsigned long redirect; member
41 union uvh_rh_gam_alias210_redirect_config_2_mmr_u redirect; in get_lowmem_redirect() local
48 redirect.v = uv_read_local_mmr(redir_addrs[i].redirect); in get_lowmem_redirect()
49 *base = (unsigned long)redirect.s.dest_base << DEST_SHIFT; in get_lowmem_redirect()
/linux-6.3-rc2/fs/overlayfs/
A Dnamei.c25 char *redirect; member
57 kfree(d->redirect); in ovl_check_redirect()
58 d->redirect = buf; in ovl_check_redirect()
59 d->name.name = d->redirect; in ovl_check_redirect()
857 .redirect = NULL, in ovl_lookup()
896 if (d.redirect) { in ovl_lookup()
901 if (d.redirect[0] == '/') in ovl_lookup()
1007 if (d.redirect && d.redirect[0] == '/' && poe != roe) { in ovl_lookup()
1112 .redirect = upperredirect, in ovl_lookup()
1135 kfree(d.redirect); in ovl_lookup()
[all …]
A Ddir.c1051 const char *redirect = ovl_dentry_get_redirect(dentry); in ovl_set_redirect() local
1054 if (redirect && (!absolute_redirect || redirect[0] == '/')) in ovl_set_redirect()
1057 redirect = ovl_get_redirect(dentry, absolute_redirect); in ovl_set_redirect()
1058 if (IS_ERR(redirect)) in ovl_set_redirect()
1059 return PTR_ERR(redirect); in ovl_set_redirect()
1063 redirect, strlen(redirect), -EXDEV); in ovl_set_redirect()
1066 ovl_dentry_set_redirect(dentry, redirect); in ovl_set_redirect()
1069 kfree(redirect); in ovl_set_redirect()
A Dutil.c425 return OVL_I(d_inode(dentry))->redirect; in ovl_dentry_get_redirect()
428 void ovl_dentry_set_redirect(struct dentry *dentry, const char *redirect) in ovl_dentry_set_redirect() argument
432 kfree(oi->redirect); in ovl_dentry_set_redirect()
433 oi->redirect = redirect; in ovl_dentry_set_redirect()
A Dovl_entry.h132 const char *redirect; member
/linux-6.3-rc2/tools/testing/ktest/
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-6.3-rc2/Documentation/bpf/
A Dredirect.rst25 :doc: xdp redirect
28 Not all drivers support transmitting frames after a redirect, and for
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.
A Dindex.rst34 redirect
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
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-6.3-rc2/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/
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-6.3-rc2/Documentation/networking/
A Dxdp-rx-metadata.rst85 ``bpf_redirect_map`` can redirect the frame to a different device.
87 program after the redirect. However, the final consumer doesn't have
94 before redirect. If the frame is eventually passed to the kernel, the
/linux-6.3-rc2/net/bridge/
A Dbr_nf_core.c55 .redirect = fake_redirect,
/linux-6.3-rc2/drivers/net/caif/
A DKconfig21 it will redirect the TTY's traffic into the CAIF stack.
/linux-6.3-rc2/net/ipv4/
A Dxfrm4_policy.c116 path->ops->redirect(path, sk, skb); in xfrm4_redirect()
141 .redirect = xfrm4_redirect,
/linux-6.3-rc2/include/net/
A Ddst_ops.h32 void (*redirect)(struct dst_entry *dst, struct sock *sk, member
/linux-6.3-rc2/arch/ia64/include/asm/
A Dhw_irq.h123 extern void ia64_send_ipi (int cpu, int vector, int delivery_mode, int redirect);
/linux-6.3-rc2/net/ipv6/
A Dxfrm6_policy.c114 path->ops->redirect(path, sk, skb); in xfrm6_redirect()
158 .redirect = xfrm6_redirect,
/linux-6.3-rc2/drivers/tty/
A Dtty_io.c506 static struct file *redirect; variable
544 if (redirect && file_tty(redirect) == tty) { in tty_release_redirect()
545 f = redirect; in tty_release_redirect()
546 redirect = NULL; in tty_release_redirect()
1118 if (redirect) in redirected_tty_write()
1119 p = get_file(redirect); in redirected_tty_write()
2392 f = redirect; in tioccons()
2393 redirect = NULL; in tioccons()
2406 if (redirect) { in tioccons()
2410 redirect = get_file(file); in tioccons()
/linux-6.3-rc2/kernel/bpf/
A Dcpumap.c194 stats->redirect++; in cpu_map_bpf_prog_run_skb()
253 stats->redirect++; in cpu_map_bpf_prog_run_xdp()
286 if (stats->redirect) in cpu_map_bpf_prog_run()
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb3/
A Dcxgb3_offload.h87 int (*redirect)(void *ctx, struct dst_entry *old, member
/linux-6.3-rc2/Documentation/netlink/specs/
A Dnetdev.yaml19 name: redirect
/linux-6.3-rc2/arch/x86/kernel/apic/
A Dx2apic_uv_x.c881 union uvh_rh_gam_alias_2_redirect_config_u redirect; in get_lowmem_redirect() local
904 redirect.v = uv_read_local_mmr(m_redirect); in get_lowmem_redirect()
905 *base = (unsigned long)redirect.s.dest_base << DEST_SHIFT; in get_lowmem_redirect()
1066 unsigned long redirect = uv_read_local_mmr(m_redirect); in calc_mmioh_map() local
1068 nasid = redirect & nasid_mask; in calc_mmioh_map()
1071 id, redirect, m_redirect, nasid); in calc_mmioh_map()

Completed in 46 milliseconds

1234