Home
last modified time | relevance | path

Searched +full:foo +full:- +full:over +full:- +full:udp (Results 1 – 23 of 23) sorted by relevance

/kernel/linux/linux-6.6/net/ipv4/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
40 so-called IP spoofing, however it can pose problems if you use
42 than packets from that host to you) or if you operate a non-routing
52 <file:Documentation/networking/ip-sysctl.rst>.
71 address into account. Furthermore, the TOS (Type-Of-Service) field
89 equal "cost" and chooses one of them in a non-deterministic fashion
122 one containing the directory /) from some other computer over the
132 <file:Documentation/admin-guide/nfs/nfsroot.rst> for details.
139 one containing the directory /) from some other computer over the
147 Read <file:Documentation/admin-guide/nfs/nfsroot.rst> for details.
[all …]
Dfou_core.c1 // SPDX-License-Identifier: GPL-2.0-only
8 #include <linux/udp.h>
17 #include <net/udp.h>
58 /* Remove 'len' bytes from the packet (UDP header and in fou_recv_pull()
61 if (fou->family == AF_INET) in fou_recv_pull()
62 ip_hdr(skb)->tot_len = htons(ntohs(ip_hdr(skb)->tot_len) - len); in fou_recv_pull()
64 ipv6_hdr(skb)->payload_len = in fou_recv_pull()
65 htons(ntohs(ipv6_hdr(skb)->payload_len) - len); in fou_recv_pull()
83 return -fou->protocol; in fou_udp_recv()
100 if (skb->remcsum_offload) in gue_remcsum()
[all …]
Dip_output.c1 // SPDX-License-Identifier: GPL-2.0-only
39 * silently drop skb instead of failing with -EPERM.
41 * Hirokazu Takahashi: HW checksumming for outgoing UDP
43 * Hirokazu Takahashi: sendfile() on UDP works now.
80 #include <linux/bpf-cgroup.h>
95 iph->check = 0; in ip_send_check()
96 iph->check = ip_fast_csum((unsigned char *)iph, iph->ihl); in ip_send_check()
106 iph_set_totlen(iph, skb->len); in __ip_local_out()
116 skb->protocol = htons(ETH_P_IP); in __ip_local_out()
119 net, sk, skb, NULL, skb_dst(skb)->dev, in __ip_local_out()
[all …]
/kernel/linux/linux-5.10/net/ipv4/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
40 so-called IP spoofing, however it can pose problems if you use
42 than packets from that host to you) or if you operate a non-routing
52 <file:Documentation/networking/ip-sysctl.rst>.
71 address into account. Furthermore, the TOS (Type-Of-Service) field
89 equal "cost" and chooses one of them in a non-deterministic fashion
122 one containing the directory /) from some other computer over the
132 <file:Documentation/admin-guide/nfs/nfsroot.rst> for details.
139 one containing the directory /) from some other computer over the
147 Read <file:Documentation/admin-guide/nfs/nfsroot.rst> for details.
[all …]
Dfou.c1 // SPDX-License-Identifier: GPL-2.0-only
8 #include <linux/udp.h>
16 #include <net/udp.h>
51 return sk->sk_user_data; in fou_from_sock()
56 /* Remove 'len' bytes from the packet (UDP header and in fou_recv_pull()
59 if (fou->family == AF_INET) in fou_recv_pull()
60 ip_hdr(skb)->tot_len = htons(ntohs(ip_hdr(skb)->tot_len) - len); in fou_recv_pull()
62 ipv6_hdr(skb)->payload_len = in fou_recv_pull()
63 htons(ntohs(ipv6_hdr(skb)->payload_len) - len); in fou_recv_pull()
81 return -fou->protocol; in fou_udp_recv()
[all …]
Dip_output.c1 // SPDX-License-Identifier: GPL-2.0-only
39 * silently drop skb instead of failing with -EPERM.
41 * Hirokazu Takahashi: HW checksumming for outgoing UDP
43 * Hirokazu Takahashi: sendfile() on UDP works now.
79 #include <linux/bpf-cgroup.h>
94 iph->check = 0; in ip_send_check()
95 iph->check = ip_fast_csum((unsigned char *)iph, iph->ihl); in ip_send_check()
103 iph->tot_len = htons(skb->len); in __ip_local_out()
113 skb->protocol = htons(ETH_P_IP); in __ip_local_out()
116 net, sk, skb, NULL, skb_dst(skb)->dev, in __ip_local_out()
[all …]
/kernel/linux/linux-6.6/Documentation/netlink/specs/
Dfou.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
5 protocol: genetlink-legacy
8 Foo-over-UDP.
10 c-family-name: fou-genl-name
11 c-version-name: fou-genl-version
12 max-by-define: true
13 kernel-policy: global
16 -
19 name-prefix: fou-encap-
20 enum-name:
[all …]
/kernel/linux/linux-5.10/net/ipv6/
Dfou6.c1 // SPDX-License-Identifier: GPL-2.0-only
7 #include <linux/udp.h>
16 #include <net/udp.h>
31 uh->dest = e->dport; in fou6_build_udp()
32 uh->source = sport; in fou6_build_udp()
33 uh->len = htons(skb->len); in fou6_build_udp()
34 udp6_set_csum(!(e->flags & TUNNEL_ENCAP_FLAG_CSUM6), skb, in fou6_build_udp()
35 &fl6->saddr, &fl6->daddr, skb->len); in fou6_build_udp()
45 int type = e->flags & TUNNEL_ENCAP_FLAG_CSUM6 ? in fou6_build_header()
62 int type = e->flags & TUNNEL_ENCAP_FLAG_CSUM6 ? in gue6_build_header()
[all …]
/kernel/linux/linux-6.6/net/ipv6/
Dfou6.c1 // SPDX-License-Identifier: GPL-2.0-only
7 #include <linux/udp.h>
16 #include <net/udp.h>
31 uh->dest = e->dport; in fou6_build_udp()
32 uh->source = sport; in fou6_build_udp()
33 uh->len = htons(skb->len); in fou6_build_udp()
34 udp6_set_csum(!(e->flags & TUNNEL_ENCAP_FLAG_CSUM6), skb, in fou6_build_udp()
35 &fl6->saddr, &fl6->daddr, skb->len); in fou6_build_udp()
45 int type = e->flags & TUNNEL_ENCAP_FLAG_CSUM6 ? in fou6_build_header()
62 int type = e->flags & TUNNEL_ENCAP_FLAG_CSUM6 ? in gue6_build_header()
[all …]
/kernel/linux/linux-6.6/include/net/
Dgro.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
11 #include <net/udp.h>
16 /* Virtual address of skb_shinfo(skb)->frags[0].page + offset. */
32 /* This indicates where we are processing relative to skb->data. */
35 /* This is non-zero if the packet cannot be merged with the new skb. */
44 /* Used in ipv6_gro_receive() and foo-over-udp */
56 /* This is non-zero if the packet may be of the same flow. */
71 /* Used in foo-over-udp, set in udp[46]_gro_receive */
100 #define NAPI_GRO_CB(skb) ((struct napi_gro_cb *)(skb)->cb)
105 return ++NAPI_GRO_CB(skb)->recursion_counter == GRO_RECURSION_LIMIT; in gro_recursion_inc_test()
[all …]
/kernel/linux/linux-6.6/Documentation/bpf/
Dverifier.rst32 After kernel function call, R1-R5 are reset to unreadable and
35 Since R6-R9 are callee saved, their state is preserved across the call.
40 bpf_call foo
72 stack bounds, which are [-MAX_BPF_STACK, 0). In this example offset is 8,
78 Classic BPF verifier does similar check with M[0-15] memory slots.
81 bpf_ld R0 = *(u32 *)(R10 - 4)
85 Though R10 is correct read-only register and has type PTR_TO_STACK
86 and R10 - 4 is within stack bounds, there were no stores into that location.
88 Pointer register spill/fill is tracked as well, since four (R6-R9)
91 Allowed function calls are customized with bpf_verifier_ops->get_func_proto()
[all …]
/kernel/linux/linux-5.10/Documentation/networking/
Dfilter.rst1 .. SPDX-License-Identifier: GPL-2.0
3 .. _networking-filter:
10 ------------
17 BPF allows a user-space program to attach a filter onto any socket and
42 The biggest user of this construct might be libpcap. Issuing a high-level
43 filter command like `tcpdump -i em1 port 22` passes through the libpcap
45 via SO_ATTACH_FILTER to the kernel. `tcpdump -i em1 port 22 -ddd`
50 qdisc layer, SECCOMP-BPF (SECure COMPuting [1]_), and lots of other places
53 .. [1] Documentation/userspace-api/seccomp_filter.rst
58 architecture for user-level packet capture. In Proceedings of the
[all …]
Dbonding.rst1 .. SPDX-License-Identifier: GPL-2.0
11 Corrections, HA extensions: 2000/10/03-15:
13 - Willy Tarreau <willy at meta-x.org>
14 - Constantine Gavrilov <const-g at xpert.com>
15 - Chad N. Tindel <ctindel at ieee dot org>
16 - Janice Girouard <girouard at us dot ibm dot com>
17 - Jay Vosburgh <fubar at us dot ibm dot com>
22 - Mitch Williams <mitch.a.williams at intel.com>
35 the original tools from extreme-linux and beowulf sites will not work
119 -----------------------------------------------
[all …]
/kernel/linux/linux-6.6/Documentation/networking/
Dbonding.rst1 .. SPDX-License-Identifier: GPL-2.0
11 Corrections, HA extensions: 2000/10/03-15:
13 - Willy Tarreau <willy at meta-x.org>
14 - Constantine Gavrilov <const-g at xpert.com>
15 - Chad N. Tindel <ctindel at ieee dot org>
16 - Janice Girouard <girouard at us dot ibm dot com>
17 - Jay Vosburgh <fubar at us dot ibm dot com>
22 - Mitch Williams <mitch.a.williams at intel.com>
35 the original tools from extreme-linux and beowulf sites will not work
119 -----------------------------------------------
[all …]
/kernel/linux/linux-5.10/include/linux/
Dnetdevice.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
13 * Corey Minyard <wf-rch!minyard@relay.EU.net>
66 /* UDP Tunnel offloads */
87 * - qdisc return codes
88 * - driver transmit return codes
89 * - errno values
93 * the driver transmit return codes though - when qdiscs are used, the actual
100 /* qdisc ->enqueue() return codes. */
110 #define net_xmit_errno(e) ((e) != NET_XMIT_CN ? -ENOBUFS : 0)
130 * - successful transmission (rc == NETDEV_TX_OK) in dev_xmit_complete()
[all …]
/kernel/linux/linux-6.6/net/netfilter/
Dnf_conntrack_proto_tcp.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* (C) 1999-2001 Paul `Rusty' Russell
3 * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org>
4 * (C) 2002-2013 Jozsef Kadlecsik <kadlec@netfilter.org>
5 * (C) 2006-2012 Patrick McHardy <kaber@trash.net>
35 closely. They're more complex. --RR */
73 to ~13-30min depending on RTO. */
116 * SYN_SENT: SYN-only packet seen
117 * SYN_SENT2: SYN-only packet seen from reply dir, simultaneous open
118 * SYN_RECV: SYN-ACK packet seen
[all …]
/kernel/linux/linux-5.10/net/netfilter/
Dnf_conntrack_proto_tcp.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* (C) 1999-2001 Paul `Rusty' Russell
3 * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org>
4 * (C) 2002-2013 Jozsef Kadlecsik <kadlec@netfilter.org>
5 * (C) 2006-2012 Patrick McHardy <kaber@trash.net>
36 If it's non-zero, we mark only out of window RST segments as INVALID. */
49 closely. They're more complex. --RR */
81 to ~13-30min depending on RTO. */
124 * SYN_SENT: SYN-only packet seen
125 * SYN_SENT2: SYN-only packet seen from reply dir, simultaneous open
[all …]
/kernel/linux/linux-6.6/Documentation/admin-guide/
Dkernel-parameters.txt5 force -- enable ACPI if default was off
6 on -- enable ACPI but allow fallback to DT [arm64,riscv64]
7 off -- disable ACPI if default was on
8 noirq -- do not use ACPI for IRQ routing
9 strict -- Be less tolerant of platforms that are not
11 rsdt -- prefer RSDT over (default) XSDT
12 copy_dsdt -- copy DSDT to memory
26 If set to vendor, prefer vendor-specific driver
58 Documentation/firmware-guide/acpi/debug.rst for more information about
116 Format: <byte> or <bitmap-list>
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/
Dkernel-parameters.txt5 force -- enable ACPI if default was off
6 on -- enable ACPI but allow fallback to DT [arm64]
7 off -- disable ACPI if default was on
8 noirq -- do not use ACPI for IRQ routing
9 strict -- Be less tolerant of platforms that are not
11 rsdt -- prefer RSDT over (default) XSDT
12 copy_dsdt -- copy DSDT to memory
26 If set to vendor, prefer vendor-specific driver
58 Documentation/firmware-guide/acpi/debug.rst for more information about
121 Disable auto-serialization of AML methods
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/natsemi/
Dns83820.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Questions/comments/discussion to linux-ns83820@kvack.org.
16 * 20010414 0.1 - created
17 * 20010622 0.2 - basic rx and tx.
18 * 20010711 0.3 - added duplex and link state detection support.
19 * 20010713 0.4 - zero copy, no hangs.
20 * 0.5 - 64 bit dma support (davem will hate me for this)
21 * - disable jumbo frames to avoid tx hangs
22 * - work around tx deadlocks on my 1.02 card via
24 * 20010810 0.6 - use pci dma api for ringbuffers, work on ia64
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/natsemi/
Dns83820.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Questions/comments/discussion to linux-ns83820@kvack.org.
16 * 20010414 0.1 - created
17 * 20010622 0.2 - basic rx and tx.
18 * 20010711 0.3 - added duplex and link state detection support.
19 * 20010713 0.4 - zero copy, no hangs.
20 * 0.5 - 64 bit dma support (davem will hate me for this)
21 * - disable jumbo frames to avoid tx hangs
22 * - work around tx deadlocks on my 1.02 card via
24 * 20010810 0.6 - use pci dma api for ringbuffers, work on ia64
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/sun/
Dsunhme.c1 // SPDX-License-Identifier: GPL-2.0
10 * 2000/11/11 Willy Tarreau <willy AT meta-x.org>
11 * - port to non-sparc architectures. Tested only on x86 and
13 * - ability to specify the MAC address at module load time by passing this
20 #include <linux/dma-mapping.h>
111 tlp->tstamp = (unsigned int)jiffies;
112 tlp->tx_new = hp->tx_new;
113 tlp->tx_old = hp->tx_old;
114 tlp->action = a;
115 tlp->status = s;
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/
Dsunhme.c1 // SPDX-License-Identifier: GPL-2.0
10 * 2000/11/11 Willy Tarreau <willy AT meta-x.org>
11 * - port to non-sparc architectures. Tested only on x86 and
13 * - ability to specify the MAC address at module load time by passing this
38 #include <linux/dma-mapping.h>
117 tlp->tstamp = (unsigned int)jiffies; in tx_add_log()
118 tlp->tx_new = hp->tx_new; in tx_add_log()
119 tlp->tx_old = hp->tx_old; in tx_add_log()
120 tlp->action = a; in tx_add_log()
121 tlp->status = s; in tx_add_log()
[all …]