Home
last modified time | relevance | path

Searched refs:fou (Results 1 – 5 of 5) sorted by relevance

/linux/net/ipv4/
H A Dfou_core.c24 struct fou { struct
51 static inline struct fou *fou_from_sock(struct sock *sk) in fou_from_sock() argument
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()
80 if (fou_recv_pull(skb, fou, sizeof(struct udphdr))) in fou_udp_recv()
83 return -fou->protocol; in fou_udp_recv()
122 struct fou *fou = fou_from_sock(sk); in gue_udp_recv() local
129 if (!fou) in gue_udp_recv()
[all …]
H A DMakefile27 fou-y := fou_core.o fou_nl.o fou_bpf.o
28 obj-$(CONFIG_NET_FOU) += fou.o
/linux/tools/testing/selftests/net/
H A Dpmtu.sh414 modprobe fou || return $ksft_skip
439 run_cmd ${ns_a} ip fou add port 5555 ipproto ${ipproto} || return $ksft_skip
442 run_cmd ${ns_b} ip fou add port 5556 ipproto ${ipproto}
458 setup_fou_or_gue 4 4 fou
462 setup_fou_or_gue 4 6 fou
466 setup_fou_or_gue 6 4 fou
470 setup_fou_or_gue 6 6 fou
1673 test_pmtu_ipvX_over_fouY_or_gueY 4 4 fou
1677 test_pmtu_ipvX_over_fouY_or_gueY 6 4 fou
1681 test_pmtu_ipvX_over_fouY_or_gueY 4 6 fou
[all …]
H A Drtnetlink.sh489 run_cmd_grep 'Usage: ip fou' ip fou help
495 if ! /sbin/modprobe -q -n fou; then
499 /sbin/modprobe -q fou
501 run_cmd ip -netns "$testns" fou add port 7777 ipproto 47
506 run_cmd ip -netns "$testns" fou add port 8888 ipproto 4
507 run_cmd_fail ip -netns "$testns" fou del port 9999
508 run_cmd ip -netns "$testns" fou del port 7777
/linux/tools/testing/selftests/bpf/
H A Dtest_tc_tunnel.sh169 readonly foumod=fou
234 ip netns exec "${ns2}" ip fou add port $dport ipproto ${dproto}