Home
last modified time | relevance | path

Searched refs:tw (Results 1 – 8 of 8) sorted by relevance

/net/ipv4/
A Dinet_timewait_sock.c39 tw->tw_tb = NULL; in inet_twsk_bind_unhash()
40 tw->tw_tb2 = NULL; in inet_twsk_bind_unhash()
59 bhead = &hashinfo->bhash[inet_bhashfn(twsk_net(tw), tw->tw_num, in inet_twsk_kill()
62 twsk_net(tw), tw->tw_num); in inet_twsk_kill()
71 inet_twsk_put(tw); in inet_twsk_kill()
78 kmem_cache_free(tw->tw_prot->twsk_prot->twsk_slab, tw); in inet_twsk_free()
85 inet_twsk_free(tw); in inet_twsk_put()
135 sk_add_bind_node((struct sock *)tw, &tw->tw_tb2->owners); in inet_twsk_hashdance_schedule()
172 struct inet_timewait_sock *tw = timer_container_of(tw, t, tw_timer); in tw_timer_handler() local
189 if (tw) { in inet_twsk_alloc()
[all …]
A Dtcp_minisocks.c51 inet_twsk_put(tw); in tcp_timewait_check_oow_rate_limit()
144 inet_twsk_put(tw); in tcp_timewait_state_process()
203 inet_twsk_deschedule_put(tw); in tcp_timewait_state_process()
217 inet_twsk_put(tw); in tcp_timewait_state_process()
267 inet_twsk_put(tw); in tcp_timewait_state_process()
313 struct inet_timewait_sock *tw; in tcp_time_wait() local
317 if (tw) { in tcp_time_wait()
322 tw->tw_mark = sk->sk_mark; in tcp_time_wait()
336 tw->tw_txhash = sk->sk_txhash; in tcp_time_wait()
342 if (tw->tw_family == PF_INET6) { in tcp_time_wait()
[all …]
A Dinet_hashtables.c581 tw = inet_twsk(sk2); in __inet_check_established()
598 if (tw) { in __inet_check_established()
606 *twp = tw; in __inet_check_established()
607 } else if (tw) { in __inet_check_established()
609 inet_twsk_deschedule_put(tw); in __inet_check_established()
1096 port, &tw, false, in __inet_hash_connect()
1156 if (tw) in __inet_hash_connect()
1162 if (tw) in __inet_hash_connect()
1163 inet_twsk_deschedule_put(tw); in __inet_hash_connect()
1181 if (tw) in __inet_hash_connect()
[all …]
A Dtcp_ipv4.c139 if (tw->tw_family == AF_INET6) { in tcp_twsk_unique()
1046 u8 tos = tw->tw_tos;
1065 inet_twsk_put(tw);
1096 tw->tw_bound_dev_if, &key,
1099 tw->tw_txhash);
1101 inet_twsk_put(tw);
2982 dest = tw->tw_daddr;
2983 src = tw->tw_rcv_saddr;
2984 destp = ntohs(tw->tw_dport);
2985 srcp = ntohs(tw->tw_sport);
[all …]
A Dinet_diag.c430 struct inet_timewait_sock *tw = inet_twsk(sk); in inet_twsk_diag_fill() local
442 BUG_ON(tw->tw_state != TCP_TIME_WAIT); in inet_twsk_diag_fill()
447 r->idiag_state = READ_ONCE(tw->tw_substate); in inet_twsk_diag_fill()
449 tmo = tw->tw_timer.expires - jiffies; in inet_twsk_diag_fill()
457 tw->tw_mark)) { in inet_twsk_diag_fill()
A Dtcp.c4979 struct inet_timewait_sock *tw = inet_twsk(sk); in tcp_abort() local
4981 refcount_inc(&tw->tw_refcnt); in tcp_abort()
4983 inet_twsk_deschedule_put(tw); in tcp_abort()
/net/ipv6/
A Dinet6_hashtables.c279 struct inet_timewait_sock *tw = NULL; in __inet6_check_established() local
307 tw = inet_twsk(sk2); in __inet6_check_established()
324 if (tw) { in __inet6_check_established()
325 sk_nulls_del_node_init_rcu((struct sock *)tw); in __inet6_check_established()
332 *twp = tw; in __inet6_check_established()
333 } else if (tw) { in __inet6_check_established()
335 inet_twsk_deschedule_put(tw); in __inet6_check_established()
A Dtcp_ipv6.c1166 u8 tclass = tw->tw_tclass;
1211 tcptw->tw_rcv_wnd >> tw->tw_rcv_wscale,
1215 tw->tw_priority, tw->tw_txhash);
1220 inet_twsk_put(tw);
1988 inet_twsk_deschedule_put(tw);
2255 dest = &tw->tw_v6_daddr;
2256 src = &tw->tw_v6_rcv_saddr;
2257 destp = ntohs(tw->tw_dport);
2258 srcp = ntohs(tw->tw_sport);
2268 READ_ONCE(tw->tw_substate), 0, 0,
[all …]

Completed in 55 milliseconds