Lines Matching refs:inet
48 struct inet_sock *inet = inet_sk(sk); in dccp_v4_connect() local
67 inet_opt = rcu_dereference_protected(inet->inet_opt, in dccp_v4_connect()
75 orig_sport = inet->inet_sport; in dccp_v4_connect()
77 fl4 = &inet->cork.fl.u.ip4; in dccp_v4_connect()
78 rt = ip_route_connect(fl4, nexthop, inet->inet_saddr, in dccp_v4_connect()
92 if (inet->inet_saddr == 0) { in dccp_v4_connect()
99 sk_rcv_saddr_set(sk, inet->inet_saddr); in dccp_v4_connect()
102 inet->inet_dport = usin->sin_port; in dccp_v4_connect()
120 inet->inet_sport, inet->inet_dport, sk); in dccp_v4_connect()
129 dp->dccps_iss = secure_dccp_sequence_number(inet->inet_saddr, in dccp_v4_connect()
130 inet->inet_daddr, in dccp_v4_connect()
131 inet->inet_sport, in dccp_v4_connect()
132 inet->inet_dport); in dccp_v4_connect()
133 inet->inet_id = get_random_u16(); in dccp_v4_connect()
149 inet->inet_dport = 0; in dccp_v4_connect()
162 const struct inet_sock *inet = inet_sk(sk); in dccp_do_pmtu_discovery() local
184 if (inet->pmtudisc != IP_PMTUDISC_DONT && in dccp_do_pmtu_discovery()
250 struct inet_sock *inet; in dccp_v4_err() local
363 inet = inet_sk(sk); in dccp_v4_err()
364 if (!sock_owned_by_user(sk) && inet->recverr) { in dccp_v4_err()
383 const struct inet_sock *inet = inet_sk(sk); in dccp_v4_send_check() local
388 inet->inet_saddr, in dccp_v4_send_check()
389 inet->inet_daddr); in dccp_v4_send_check()