Searched refs:inet_sk (Results 1 – 9 of 9) sorted by relevance
192 static inline struct inet_sock *inet_sk(const struct sock *sk) in inet_sk() function201 memcpy(inet_sk(sk_to) + 1, inet_sk(sk_from) + 1, in __inet_sk_copy_descendant()230 const struct inet_sock *inet = inet_sk(sk); in inet_sk_ehashfn()257 if (inet_sk(sk)->transparent || inet_sk(sk)->hdrincl) in inet_sk_flowi_flags()
138 return __ip_make_skb(sk, fl4, &sk->sk_write_queue, &inet_sk(sk)->cork.base); in ip_finish_skb()267 return inet_sk(sk)->pmtudisc == IP_PMTUDISC_DO || in ip_dont_fragment()268 (inet_sk(sk)->pmtudisc == IP_PMTUDISC_WANT && in ip_dont_fragment()284 iph->id = (sk && inet_sk(sk)->inet_daddr) ? in ip_select_ident()285 htons(inet_sk(sk)->inet_id++) : 0; in ip_select_ident()295 if (sk && inet_sk(sk)->inet_daddr) { in ip_select_ident_more()296 iph->id = htons(inet_sk(sk)->inet_id); in ip_select_ident_more()297 inet_sk(sk)->inet_id += 1 + more; in ip_select_ident_more()371 inet_sk(sk)->inet_rcv_saddr = inet_sk(sk)->inet_saddr = 0; in inet_reset_saddr()390 return inet_sk(sk)->mc_loop; in sk_mc_loop()
244 return inet_lhashfn(sock_net(sk), inet_sk(sk)->inet_num); in inet_sk_listen_hashfn()304 ((*((__addrpair *)&(inet_sk(__sk)->inet_daddr))) == (__cookie)) && \305 ((*((__portpair *)&(inet_sk(__sk)->inet_dport))) == (__ports)) && \316 (inet_sk(__sk)->inet_daddr == (__saddr)) && \317 (inet_sk(__sk)->inet_rcv_saddr == (__daddr)) && \318 ((*((__portpair *)&(inet_sk(__sk)->inet_dport))) == (__ports)) && \
51 inet_sk(sk)->tos |= INET_ECN_ECT_0; in INET_ECN_xmit()58 inet_sk(sk)->tos &= ~INET_ECN_MASK; in INET_ECN_dontxmit()
45 const struct inet_sock *inet = inet_sk(sk); in inet6_sk_ehashfn()
40 #define RT_CONN_FLAGS(sk) (RT_TOS(inet_sk(sk)->tos) | sock_flag(sk, SOCK_LOCALROUTE))246 if (inet_sk(sk)->transparent) in ip_route_connect_init()
23 __entry->lport = inet_sk(sk)->inet_num;
110 int wildcard = (inet_sk(sk)->inet_rcv_saddr == 0); in nf_tproxy_get_sock_v4()
423 return inet_sk(__sk)->pinet6; in inet6_sk()535 ((*((__portpair *)&(inet_sk(__sk)->inet_dport))) == (__ports)) && \