Home
last modified time | relevance | path

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

/linux/include/net/
A Dip6_route.h273 if (np && np->pmtudisc >= IPV6_PMTUDISC_PROBE) { in ip6_skb_dst_mtu()
284 return inet6_sk(sk)->pmtudisc != IPV6_PMTUDISC_INTERFACE && in ip6_sk_accept_pmtu()
285 inet6_sk(sk)->pmtudisc != IPV6_PMTUDISC_OMIT; in ip6_sk_accept_pmtu()
290 return inet6_sk(sk)->pmtudisc < IPV6_PMTUDISC_DO || in ip6_sk_ignore_df()
291 inet6_sk(sk)->pmtudisc == IPV6_PMTUDISC_OMIT; in ip6_sk_ignore_df()
A Dip.h417 u8 pmtudisc = READ_ONCE(inet_sk(sk)->pmtudisc); in ip_dont_fragment() local
419 return pmtudisc == IP_PMTUDISC_DO || in ip_dont_fragment()
420 (pmtudisc == IP_PMTUDISC_WANT && in ip_dont_fragment()
426 return inet_sk(sk)->pmtudisc != IP_PMTUDISC_INTERFACE && in ip_sk_accept_pmtu()
427 inet_sk(sk)->pmtudisc != IP_PMTUDISC_OMIT; in ip_sk_accept_pmtu()
432 return inet_sk(sk)->pmtudisc < IP_PMTUDISC_PROBE; in ip_sk_use_pmtu()
437 return inet_sk(sk)->pmtudisc < IP_PMTUDISC_DO || in ip_sk_ignore_df()
438 inet_sk(sk)->pmtudisc == IP_PMTUDISC_OMIT; in ip_sk_ignore_df()
A Dinet_sock.h217 __u8 pmtudisc; member
/linux/net/ipv6/
A Daf_inet6.c214 np->pmtudisc = IPV6_PMTUDISC_WANT; in inet6_create()
230 inet->pmtudisc = IP_PMTUDISC_DONT; in inet6_create()
232 inet->pmtudisc = IP_PMTUDISC_WANT; in inet6_create()
A Dipv6_sockglue.c909 np->pmtudisc = val; in do_ipv6_setsockopt()
1380 val = np->pmtudisc; in do_ipv6_getsockopt()
A Dip6_output.c1402 mtu = np->pmtudisc >= IPV6_PMTUDISC_PROBE ? in ip6_setup_cork()
1405 mtu = np->pmtudisc >= IPV6_PMTUDISC_PROBE ? in ip6_setup_cork()
A Draw.c342 harderr = (np->pmtudisc == IPV6_PMTUDISC_DO); in rawv6_err()
A Dudp.c603 if (np->pmtudisc != IPV6_PMTUDISC_DONT) in __udp6_lib_err()
/linux/include/linux/
A Dipv6.h271 pmtudisc:3, member
/linux/net/ipv4/
A Dip_sockglue.c621 inet_sk(sk)->pmtudisc = val; in ip_sock_set_mtu_discover()
1076 inet->pmtudisc = val; in do_ip_setsockopt()
1623 val = inet->pmtudisc; in do_ip_getsockopt()
A Daf_inet.c338 inet->pmtudisc = IP_PMTUDISC_DONT; in inet_create()
340 inet->pmtudisc = IP_PMTUDISC_WANT; in inet_create()
A Dip_output.c1501 if (inet->pmtudisc == IP_PMTUDISC_DO || in __ip_make_skb()
1502 inet->pmtudisc == IP_PMTUDISC_PROBE || in __ip_make_skb()
A Draw.c264 harderr = inet->pmtudisc != IP_PMTUDISC_DONT; in raw_err()
A Dping.c531 if (inet_sock->pmtudisc != IP_PMTUDISC_DONT) { in ping_err()
A Dicmp.c1474 inet_sk(sk)->pmtudisc = IP_PMTUDISC_DONT; in icmp_sk_init()
A Dtcp_ipv4.c358 if (inet->pmtudisc != IP_PMTUDISC_DONT && in tcp_v4_mtu_reduced()
3136 inet_sk(sk)->pmtudisc = IP_PMTUDISC_DO; in tcp_sk_init()
A Dudp.c759 if (inet->pmtudisc != IP_PMTUDISC_DONT) { in __udp4_lib_err()
/linux/net/netfilter/ipvs/
A Dip_vs_sync.c1344 inet->pmtudisc = val; in set_mcast_pmtudisc()
1350 np->pmtudisc = val; in set_mcast_pmtudisc()
/linux/net/dccp/
A Dipv4.c177 if (inet->pmtudisc != IP_PMTUDISC_DONT && in dccp_do_pmtu_discovery()
/linux/net/sctp/
A Dprotocol.c1064 inet->pmtudisc = t->param_flags & SPP_PMTUD_ENABLE ? IP_PMTUDISC_DO in sctp_v4_xmit()
A Dsocket.c9461 newinet->pmtudisc = inet->pmtudisc; in sctp_copy_sock()

Completed in 67 milliseconds