Searched refs:mss (Results 1 – 6 of 6) sorted by relevance
/tools/testing/selftests/net/ |
D | psock_snd.sh | 15 readonly mss="$((${mtu} - ${iphlen} - ${udphlen}))" 16 readonly mss_exceeds="$((${mss} + 1))" 58 ./in_netns.sh ./psock_snd -l "${mss}" 72 ./in_netns.sh ./psock_snd -d -l "${mss}"
|
D | tcp_mmap.c | 455 int mss = 0; in main() local 486 mss = atoi(optarg); in main() 530 if (mss && in main() 532 &mss, sizeof(mss)) == -1) { in main() 562 if (mss && in main() 563 setsockopt(fd, IPPROTO_TCP, TCP_MAXSEG, &mss, sizeof(mss)) == -1) { in main()
|
D | udpgso.c | 508 int i, ret, val, mss; in run_one() local 531 mss = test->gso_len; in run_one() 533 mss = addr->sa_family == AF_INET ? CONST_MSS_V4 : CONST_MSS_V6; in run_one() 539 if (ret != mss) in run_one() 540 error(1, 0, "recv.%d: %d != %d", i, ret, mss); in run_one()
|
/tools/testing/selftests/bpf/progs/ |
D | xdp_synproxy_kern.c | 308 static __always_inline void values_get_tcpipopts(__u16 *mss, __u8 *wscale, in values_get_tcpipopts() argument 317 *mss = (*value >> 32) & 0xffff; in values_get_tcpipopts() 319 *mss = *value & 0xffff; in values_get_tcpipopts() 325 *mss = ipv6 ? DEFAULT_MSS6 : DEFAULT_MSS4; in values_get_tcpipopts() 480 static __always_inline __u8 tcp_mkoptions(__be32 *buf, __be32 *tsopt, __u16 mss, in tcp_mkoptions() argument 485 *buf++ = bpf_htonl((TCPOPT_MSS << 24) | (TCPOLEN_MSS << 16) | mss); in tcp_mkoptions() 514 __u16 mss, __u8 wscale) in tcp_gen_synack() argument 530 tcp_header->doff += tcp_mkoptions(tcp_options, tsopt, mss, wscale); in tcp_gen_synack() 537 __u16 mss; in tcpv4_gen_synack() local 540 values_get_tcpipopts(&mss, &wscale, &ttl, false); in tcpv4_gen_synack() [all …]
|
D | test_tcp_check_syncookie_kern.c | 135 __u32 mss = seq_mss >> 32; in check_syncookie() local 138 bpf_map_update_elem(&results, &key_mss, &mss, 0); in check_syncookie()
|
/tools/testing/selftests/netfilter/ |
D | nft_synproxy.sh | 93 … meta iif veth0 meta l4proto tcp ct state untracked,invalid synproxy mss 1460 sack-perm timestamp
|