Home
last modified time | relevance | path

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

/linux-6.6.21/include/net/
Dip6_route.h269 if (np && np->pmtudisc >= IPV6_PMTUDISC_PROBE) { in ip6_skb_dst_mtu()
280 return inet6_sk(sk)->pmtudisc != IPV6_PMTUDISC_INTERFACE && in ip6_sk_accept_pmtu()
281 inet6_sk(sk)->pmtudisc != IPV6_PMTUDISC_OMIT; in ip6_sk_accept_pmtu()
286 return inet6_sk(sk)->pmtudisc < IPV6_PMTUDISC_DO || in ip6_sk_ignore_df()
287 inet6_sk(sk)->pmtudisc == IPV6_PMTUDISC_OMIT; in ip6_sk_ignore_df()
Dip.h428 u8 pmtudisc = READ_ONCE(inet_sk(sk)->pmtudisc); in ip_dont_fragment() local
430 return pmtudisc == IP_PMTUDISC_DO || in ip_dont_fragment()
431 (pmtudisc == IP_PMTUDISC_WANT && in ip_dont_fragment()
437 return inet_sk(sk)->pmtudisc != IP_PMTUDISC_INTERFACE && in ip_sk_accept_pmtu()
438 inet_sk(sk)->pmtudisc != IP_PMTUDISC_OMIT; in ip_sk_accept_pmtu()
443 return inet_sk(sk)->pmtudisc < IP_PMTUDISC_PROBE; in ip_sk_use_pmtu()
448 return inet_sk(sk)->pmtudisc < IP_PMTUDISC_DO || in ip_sk_ignore_df()
449 inet_sk(sk)->pmtudisc == IP_PMTUDISC_OMIT; in ip_sk_ignore_df()
Dinet_sock.h231 __u8 pmtudisc; member
/linux-6.6.21/include/linux/
Dipv6.h268 pmtudisc:3, member
/linux-6.6.21/net/ipv6/
Daf_inet6.c225 np->pmtudisc = IPV6_PMTUDISC_WANT; in inet6_create()
242 inet->pmtudisc = IP_PMTUDISC_DONT; in inet6_create()
244 inet->pmtudisc = IP_PMTUDISC_WANT; in inet6_create()
Dipv6_sockglue.c910 np->pmtudisc = val; in do_ipv6_setsockopt()
1384 val = np->pmtudisc; in do_ipv6_getsockopt()
Dip6_output.c1445 mtu = np->pmtudisc >= IPV6_PMTUDISC_PROBE ? in ip6_setup_cork()
1448 mtu = np->pmtudisc >= IPV6_PMTUDISC_PROBE ? in ip6_setup_cork()
Draw.c309 harderr = (np->pmtudisc == IPV6_PMTUDISC_DO); in rawv6_err()
Dudp.c602 if (np->pmtudisc != IPV6_PMTUDISC_DONT) in __udp6_lib_err()
/linux-6.6.21/net/ipv4/
Dip_sockglue.c626 inet_sk(sk)->pmtudisc = val; in ip_sock_set_mtu_discover()
1102 inet->pmtudisc = val; in do_ip_setsockopt()
1637 val = inet->pmtudisc; in do_ip_getsockopt()
Dip_output.c1421 if (inet->pmtudisc == IP_PMTUDISC_DO || in __ip_make_skb()
1422 inet->pmtudisc == IP_PMTUDISC_PROBE || in __ip_make_skb()
Daf_inet.c348 inet->pmtudisc = IP_PMTUDISC_DONT; in inet_create()
350 inet->pmtudisc = IP_PMTUDISC_WANT; in inet_create()
Draw.c242 harderr = inet->pmtudisc != IP_PMTUDISC_DONT; in raw_err()
Dping.c554 if (inet_sock->pmtudisc != IP_PMTUDISC_DONT) { in ping_err()
Dicmp.c1507 inet_sk(sk)->pmtudisc = IP_PMTUDISC_DONT; in icmp_init()
Dtcp_ipv4.c370 if (inet->pmtudisc != IP_PMTUDISC_DONT && in tcp_v4_mtu_reduced()
3401 inet_sk(sk)->pmtudisc = IP_PMTUDISC_DO; in tcp_v4_init()
Dudp.c753 if (inet->pmtudisc != IP_PMTUDISC_DONT) { in __udp4_lib_err()
/linux-6.6.21/net/netfilter/ipvs/
Dip_vs_sync.c1342 inet->pmtudisc = val; in set_mcast_pmtudisc()
1348 np->pmtudisc = val; in set_mcast_pmtudisc()
/linux-6.6.21/net/dccp/
Dipv4.c184 if (inet->pmtudisc != IP_PMTUDISC_DONT && in dccp_do_pmtu_discovery()
/linux-6.6.21/net/sctp/
Dprotocol.c1069 inet->pmtudisc = t->param_flags & SPP_PMTUD_ENABLE ? IP_PMTUDISC_DO in sctp_v4_xmit()
Dsocket.c9483 newinet->pmtudisc = inet->pmtudisc; in sctp_copy_sock()