Home
last modified time | relevance | path

Searched refs:pmtudisc (Results 1 – 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/include/net/
Dip6_route.h272 if (np && np->pmtudisc >= IPV6_PMTUDISC_PROBE) { in ip6_skb_dst_mtu()
283 return inet6_sk(sk)->pmtudisc != IPV6_PMTUDISC_INTERFACE && in ip6_sk_accept_pmtu()
284 inet6_sk(sk)->pmtudisc != IPV6_PMTUDISC_OMIT; in ip6_sk_accept_pmtu()
289 return inet6_sk(sk)->pmtudisc < IPV6_PMTUDISC_DO || in ip6_sk_ignore_df()
290 inet6_sk(sk)->pmtudisc == IPV6_PMTUDISC_OMIT; in ip6_sk_ignore_df()
Dip.h413 u8 pmtudisc = READ_ONCE(inet_sk(sk)->pmtudisc); in ip_dont_fragment() local
415 return pmtudisc == IP_PMTUDISC_DO || in ip_dont_fragment()
416 (pmtudisc == IP_PMTUDISC_WANT && in ip_dont_fragment()
422 return inet_sk(sk)->pmtudisc != IP_PMTUDISC_INTERFACE && in ip_sk_accept_pmtu()
423 inet_sk(sk)->pmtudisc != IP_PMTUDISC_OMIT; in ip_sk_accept_pmtu()
428 return inet_sk(sk)->pmtudisc < IP_PMTUDISC_PROBE; in ip_sk_use_pmtu()
433 return inet_sk(sk)->pmtudisc < IP_PMTUDISC_DO || in ip_sk_ignore_df()
434 inet_sk(sk)->pmtudisc == IP_PMTUDISC_OMIT; in ip_sk_ignore_df()
Dinet_sock.h231 __u8 pmtudisc; member
/kernel/linux/linux-5.10/include/linux/
Dipv6.h264 pmtudisc:3, member
/kernel/linux/linux-5.10/net/ipv6/
Daf_inet6.c213 np->pmtudisc = IPV6_PMTUDISC_WANT; in inet6_create()
229 inet->pmtudisc = IP_PMTUDISC_DONT; in inet6_create()
231 inet->pmtudisc = IP_PMTUDISC_WANT; in inet6_create()
Dipv6_sockglue.c916 np->pmtudisc = val; in do_ipv6_setsockopt()
1381 val = np->pmtudisc; in do_ipv6_getsockopt()
Dip6_output.c1430 mtu = np->pmtudisc >= IPV6_PMTUDISC_PROBE ? in ip6_setup_cork()
1433 mtu = np->pmtudisc >= IPV6_PMTUDISC_PROBE ? in ip6_setup_cork()
Draw.c342 harderr = (np->pmtudisc == IPV6_PMTUDISC_DO); in rawv6_err()
Dudp.c591 if (np->pmtudisc != IPV6_PMTUDISC_DONT) in __udp6_lib_err()
/kernel/linux/linux-5.10/net/ipv4/
Dip_sockglue.c621 inet_sk(sk)->pmtudisc = val; in ip_sock_set_mtu_discover()
1074 inet->pmtudisc = val; in do_ip_setsockopt()
1614 val = inet->pmtudisc; in do_ip_getsockopt()
Daf_inet.c345 inet->pmtudisc = IP_PMTUDISC_DONT; in inet_create()
347 inet->pmtudisc = IP_PMTUDISC_WANT; in inet_create()
Dip_output.c1526 if (inet->pmtudisc == IP_PMTUDISC_DO || in __ip_make_skb()
1527 inet->pmtudisc == IP_PMTUDISC_PROBE || in __ip_make_skb()
Dicmp.c1347 inet_sk(sk)->pmtudisc = IP_PMTUDISC_DONT; in icmp_sk_init()
Draw.c264 harderr = inet->pmtudisc != IP_PMTUDISC_DONT; in raw_err()
Dping.c547 if (inet_sock->pmtudisc != IP_PMTUDISC_DONT) { in ping_err()
Dtcp_ipv4.c360 if (inet->pmtudisc != IP_PMTUDISC_DONT && in tcp_v4_mtu_reduced()
2862 inet_sk(sk)->pmtudisc = IP_PMTUDISC_DO; in tcp_sk_init()
Dudp.c748 if (inet->pmtudisc != IP_PMTUDISC_DONT) { in __udp4_lib_err()
/kernel/linux/linux-5.10/net/netfilter/ipvs/
Dip_vs_sync.c1344 inet->pmtudisc = val; in set_mcast_pmtudisc()
1350 np->pmtudisc = val; in set_mcast_pmtudisc()
/kernel/linux/linux-5.10/net/dccp/
Dipv4.c172 if (inet->pmtudisc != IP_PMTUDISC_DONT && in dccp_do_pmtu_discovery()
/kernel/linux/linux-5.10/net/sctp/
Dprotocol.c993 inet->pmtudisc = transport->param_flags & SPP_PMTUD_ENABLE ? in sctp_v4_xmit()
Dsocket.c9214 newinet->pmtudisc = inet->pmtudisc; in sctp_copy_sock()