Home
last modified time | relevance | path

Searched refs:fou (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/net/ipv4/
H A Dfou.c13 #include <net/fou.h>
19 #include <uapi/linux/fou.h>
22 struct fou { struct
49 static inline struct fou *fou_from_sock(struct sock *sk) in fou_from_sock()
54 static int fou_recv_pull(struct sk_buff *skb, struct fou *fou, size_t len) in fou_recv_pull() argument
59 if (fou->family == AF_INET) in fou_recv_pull()
73 struct fou *fou = fou_from_sock(sk); in fou_udp_recv() local
75 if (!fou) in fou_udp_recv()
120 struct fou *fou = fou_from_sock(sk); gue_udp_recv() local
323 struct fou *fou = fou_from_sock(sk); gue_gro_receive() local
503 fou_cfg_cmp(struct fou *fou, struct fou_cfg *cfg) fou_cfg_cmp() argument
533 fou_add_to_port_list(struct net *net, struct fou *fou, struct fou_cfg *cfg) fou_add_to_port_list() argument
553 fou_release(struct fou *fou) fou_release() argument
567 struct fou *fou = NULL; fou_create() local
640 struct fou *fou; fou_destroy() local
788 fou_fill_info(struct fou *fou, struct sk_buff *msg) fou_fill_info() argument
824 fou_dump_info(struct fou *fou, u32 portid, u32 seq, u32 flags, struct sk_buff *skb, u8 cmd) fou_dump_info() argument
1257 struct fou *fou, *next; fou_exit_net() local
[all...]
H A DMakefile29 obj-$(CONFIG_NET_FOU) += fou.o
/kernel/linux/linux-6.6/net/ipv4/
H A Dfou_core.c14 #include <net/fou.h>
19 #include <uapi/linux/fou.h>
24 struct fou { struct
51 static inline struct fou *fou_from_sock(struct sock *sk) in fou_from_sock()
56 static int fou_recv_pull(struct sk_buff *skb, struct fou *fou, size_t len) in fou_recv_pull() argument
61 if (fou->family == AF_INET) in fou_recv_pull()
75 struct fou *fou = fou_from_sock(sk); in fou_udp_recv() local
77 if (!fou) in fou_udp_recv()
122 struct fou *fou = fou_from_sock(sk); gue_udp_recv() local
319 struct fou *fou = fou_from_sock(sk); gue_gro_receive() local
491 fou_cfg_cmp(struct fou *fou, struct fou_cfg *cfg) fou_cfg_cmp() argument
521 fou_add_to_port_list(struct net *net, struct fou *fou, struct fou_cfg *cfg) fou_add_to_port_list() argument
541 fou_release(struct fou *fou) fou_release() argument
555 struct fou *fou = NULL; fou_create() local
628 struct fou *fou; fou_destroy() local
762 fou_fill_info(struct fou *fou, struct sk_buff *msg) fou_fill_info() argument
798 fou_dump_info(struct fou *fou, u32 portid, u32 seq, u32 flags, struct sk_buff *skb, u8 cmd) fou_dump_info() argument
1211 struct fou *fou, *next; fou_exit_net() local
[all...]
H A DMakefile29 fou-y := fou_core.o fou_nl.o fou_bpf.o
30 obj-$(CONFIG_NET_FOU) += fou.o
H A Dfou_nl.h3 /* Documentation/netlink/specs/fou.yaml */
12 #include <uapi/linux/fou.h>
14 /* Global operation policy for fou */
17 /* Ops table for fou */
H A Dfou_nl.c3 /* Documentation/netlink/specs/fou.yaml */
11 #include <uapi/linux/fou.h>
13 /* Global operation policy for fou */
28 /* Ops table for fou */
H A Dfou_bpf.c13 #include <net/fou.h>
/kernel/linux/linux-5.10/tools/testing/selftests/net/
H A Dpmtu.sh368 modprobe fou || return 2
393 run_cmd ${ns_a} ip fou add port 5555 ipproto ${ipproto} || return 2
396 run_cmd ${ns_b} ip fou add port 5556 ipproto ${ipproto}
412 setup_fou_or_gue 4 4 fou
416 setup_fou_or_gue 4 6 fou
420 setup_fou_or_gue 6 4 fou
424 setup_fou_or_gue 6 6 fou
1285 test_pmtu_ipvX_over_fouY_or_gueY 4 4 fou
1289 test_pmtu_ipvX_over_fouY_or_gueY 6 4 fou
1293 test_pmtu_ipvX_over_fouY_or_gueY 4 6 fou
[all...]
H A Drtnetlink.sh514 name="test-fou"
517 ip fou help 2>&1 |grep -q 'Usage: ip fou'
519 echo "SKIP: fou: iproute2 too old"
523 if ! /sbin/modprobe -q -n fou; then
524 echo "SKIP: module fou is not found"
527 /sbin/modprobe -q fou
528 ip -netns "$testns" fou add port 7777 ipproto 47 2>/dev/null
530 echo "FAIL: can't add fou port 7777, skipping test"
534 ip -netns "$testns" fou ad
[all...]
/kernel/linux/linux-6.6/tools/net/ynl/generated/
H A DMakefile17 GENS:=ethtool devlink handshake fou netdev
H A Dfou-user.h3 /* Documentation/netlink/specs/fou.yaml */
12 #include <linux/fou.h>
H A Dfou-user.c3 /* Documentation/netlink/specs/fou.yaml */
8 #include "fou-user.h"
10 #include <linux/fou.h>
327 .name = "fou",
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dtest_tc_tunnel.sh150 readonly foumod=fou
200 # Set up fou tunnel.
202 targs="encap fou encap-sport auto encap-dport $udpport"
203 # fou may be a module; allow this to fail.
213 ip netns exec "${ns2}" ip fou add port $dport ipproto ${dproto}
214 targs="encap fou encap-sport auto encap-dport $dport"
240 # No support for MPLS IPv6 fou tunnel; expect failure.
243 # No support for TEB fou tunnel; expect failure.
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dtest_tc_tunnel.sh160 readonly foumod=fou
210 # Set up fou tunnel.
212 targs="encap fou encap-sport auto encap-dport $udpport"
213 # fou may be a module; allow this to fail.
223 ip netns exec "${ns2}" ip fou add port $dport ipproto ${dproto}
224 targs="encap fou encap-sport auto encap-dport $dport"
259 # No support for MPLS IPv6 fou tunnel; expect failure.
262 # No support for TEB fou tunnel; expect failure.
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dpmtu.sh404 modprobe fou || return $ksft_skip
429 run_cmd ${ns_a} ip fou add port 5555 ipproto ${ipproto} || return $ksft_skip
432 run_cmd ${ns_b} ip fou add port 5556 ipproto ${ipproto}
448 setup_fou_or_gue 4 4 fou
452 setup_fou_or_gue 4 6 fou
456 setup_fou_or_gue 6 4 fou
460 setup_fou_or_gue 6 6 fou
1530 test_pmtu_ipvX_over_fouY_or_gueY 4 4 fou
1534 test_pmtu_ipvX_over_fouY_or_gueY 6 4 fou
1538 test_pmtu_ipvX_over_fouY_or_gueY 4 6 fou
[all...]
H A Drtnetlink.sh540 name="test-fou"
543 ip fou help 2>&1 |grep -q 'Usage: ip fou'
545 echo "SKIP: fou: iproute2 too old"
549 if ! /sbin/modprobe -q -n fou; then
550 echo "SKIP: module fou is not found"
553 /sbin/modprobe -q fou
554 ip -netns "$testns" fou add port 7777 ipproto 47 2>/dev/null
556 echo "FAIL: can't add fou port 7777, skipping test"
560 ip -netns "$testns" fou ad
[all...]
/kernel/linux/linux-5.10/net/ipv6/
H A Dfou6.c11 #include <net/fou.h>
/kernel/linux/linux-6.6/net/ipv6/
H A Dfou6.c11 #include <net/fou.h>

Completed in 16 milliseconds