Lines Matching refs:inet_sk
242 return __ip_make_skb(sk, fl4, &sk->sk_write_queue, &inet_sk(sk)->cork.base); in ip_finish_skb()
419 u8 pmtudisc = READ_ONCE(inet_sk(sk)->pmtudisc); in ip_dont_fragment()
428 return inet_sk(sk)->pmtudisc != IP_PMTUDISC_INTERFACE && in ip_sk_accept_pmtu()
429 inet_sk(sk)->pmtudisc != IP_PMTUDISC_OMIT; in ip_sk_accept_pmtu()
434 return inet_sk(sk)->pmtudisc < IP_PMTUDISC_PROBE; in ip_sk_use_pmtu()
439 return inet_sk(sk)->pmtudisc < IP_PMTUDISC_DO || in ip_sk_ignore_df()
440 inet_sk(sk)->pmtudisc == IP_PMTUDISC_OMIT; in ip_sk_ignore_df()
532 if (sk && inet_sk(sk)->inet_daddr) { in ip_select_ident_segs()
533 iph->id = htons(inet_sk(sk)->inet_id); in ip_select_ident_segs()
534 inet_sk(sk)->inet_id += segs; in ip_select_ident_segs()
638 inet_sk(sk)->inet_rcv_saddr = inet_sk(sk)->inet_saddr = 0; in inet_reset_saddr()