Home
last modified time | relevance | path

Searched refs:inet_timewait_sock (Results 1 – 22 of 22) sorted by relevance

/linux/include/net/
H A Dinet_timewait_sock.h33 struct inet_timewait_sock { struct
96 static inline struct inet_timewait_sock *inet_twsk(const struct sock *sk) in inet_twsk() argument
98 return (struct inet_timewait_sock *)sk; in inet_twsk()
101 void inet_twsk_free(struct inet_timewait_sock *tw);
102 void inet_twsk_put(struct inet_timewait_sock *tw);
104 void inet_twsk_bind_unhash(struct inet_timewait_sock *tw,
107 struct inet_timewait_sock *inet_twsk_alloc(const struct sock *sk,
111 void inet_twsk_hashdance_schedule(struct inet_timewait_sock *tw,
116 void __inet_twsk_schedule(struct inet_timewait_sock *tw, int timeo,
119 static inline void inet_twsk_reschedule(struct inet_timewait_sock *tw, int timeo) in inet_twsk_reschedule()
[all …]
H A Dinet_hashtables.h530 struct inet_timewait_sock **,
H A Dtcp.h466 enum tcp_tw_status tcp_timewait_state_process(struct inet_timewait_sock *tw,
/linux/net/ipv4/
H A Dinet_timewait_sock.c30 void inet_twsk_bind_unhash(struct inet_timewait_sock *tw, in inet_twsk_bind_unhash()
49 static void inet_twsk_kill(struct inet_timewait_sock *tw) in inet_twsk_kill()
75 void inet_twsk_free(struct inet_timewait_sock *tw) in inet_twsk_free()
84 void inet_twsk_put(struct inet_timewait_sock *tw) in inet_twsk_put()
91 static void inet_twsk_schedule(struct inet_timewait_sock *tw, int timeo) in inet_twsk_schedule()
103 void inet_twsk_hashdance_schedule(struct inet_timewait_sock *tw, in inet_twsk_hashdance_schedule()
163 struct inet_timewait_sock *tw = timer_container_of(tw, t, tw_timer); in tw_timer_handler()
168 struct inet_timewait_sock *inet_twsk_alloc(const struct sock *sk, in inet_twsk_alloc()
172 struct inet_timewait_sock *tw; in inet_twsk_alloc()
230 void inet_twsk_deschedule_put(struct inet_timewait_sock *tw) in inet_twsk_deschedule_put()
[all …]
H A Dtcp_diag.c197 struct inet_timewait_sock *tw = inet_twsk(sk); in tcp_twsk_diag_fill()
290 BUILD_BUG_ON(offsetof(struct inet_timewait_sock, tw_family) != in twsk_build_assert()
293 BUILD_BUG_ON(offsetof(struct inet_timewait_sock, tw_num) != in twsk_build_assert()
296 BUILD_BUG_ON(offsetof(struct inet_timewait_sock, tw_dport) != in twsk_build_assert()
299 BUILD_BUG_ON(offsetof(struct inet_timewait_sock, tw_rcv_saddr) != in twsk_build_assert()
302 BUILD_BUG_ON(offsetof(struct inet_timewait_sock, tw_daddr) != in twsk_build_assert()
306 BUILD_BUG_ON(offsetof(struct inet_timewait_sock, tw_v6_rcv_saddr) != in twsk_build_assert()
309 BUILD_BUG_ON(offsetof(struct inet_timewait_sock, tw_v6_daddr) != in twsk_build_assert()
H A DMakefile9 inet_timewait_sock.o inet_connection_sock.o \
H A Dtcp_minisocks.c39 tcp_timewait_check_oow_rate_limit(struct inet_timewait_sock *tw, in tcp_timewait_check_oow_rate_limit()
101 tcp_timewait_state_process(struct inet_timewait_sock *tw, struct sk_buff *skb, in tcp_timewait_state_process()
332 struct inet_timewait_sock *tw; in tcp_time_wait()
H A Dinet_hashtables.c577 struct inet_timewait_sock **twp, in __inet_check_established()
591 struct inet_timewait_sock *tw = NULL; in __inet_check_established()
1039 struct sock *, __u16, struct inet_timewait_sock **, in __inet_hash_connect() argument
1044 struct inet_timewait_sock *tw = NULL; in __inet_hash_connect()
H A Dtcp_ipv4.c121 const struct inet_timewait_sock *tw = inet_twsk(sktw); in tcp_twsk_unique()
886 offsetof(struct inet_timewait_sock, tw_bound_dev_if)); in tcp_v4_send_reset()
1038 struct inet_timewait_sock *tw = inet_twsk(sk);
2910 static void get_timewait4_sock(const struct inet_timewait_sock *tw,
H A Dtcp.c5100 struct inet_timewait_sock *tw = inet_twsk(sk); in tcp_abort()
/linux/include/net/psp/
H A Dfunctions.h13 struct inet_timewait_sock;
35 void psp_twsk_init(struct inet_timewait_sock *tw, const struct sock *sk);
36 void psp_twsk_assoc_free(struct inet_timewait_sock *tw);
122 psp_twsk_rx_policy_check(struct inet_timewait_sock *tw, struct sk_buff *skb) in psp_twsk_rx_policy_check()
160 psp_twsk_init(struct inet_timewait_sock *tw, const struct sock *sk) { } in psp_twsk_init()
161 static inline void psp_twsk_assoc_free(struct inet_timewait_sock *tw) { } in psp_twsk_assoc_free()
187 psp_twsk_rx_policy_check(struct inet_timewait_sock *tw, struct sk_buff *skb) in psp_twsk_rx_policy_check()
/linux/net/psp/
H A Dpsp_sock.c266 void psp_twsk_init(struct inet_timewait_sock *tw, const struct sock *sk) in psp_twsk_init()
276 void psp_twsk_assoc_free(struct inet_timewait_sock *tw) in psp_twsk_assoc_free()
/linux/include/net/netfilter/
H A Dnf_tproxy.h20 static inline void nf_tproxy_twsk_deschedule_put(struct inet_timewait_sock *tw) in nf_tproxy_twsk_deschedule_put()
/linux/net/ipv6/
H A Dinet6_hashtables.c267 struct inet_timewait_sock **twp, in __inet6_check_established()
280 struct inet_timewait_sock *tw = NULL; in __inet6_check_established()
H A Dtcp_ipv6.c1120 struct inet_timewait_sock *tw = inet_twsk(sk);
1931 struct inet_timewait_sock *tw = inet_twsk(sk);
2203 struct inet_timewait_sock *tw, int i)
/linux/tools/include/linux/
H A Dbtf_ids.h181 BTF_SOCK_TYPE(BTF_SOCK_TYPE_INET_TW, inet_timewait_sock) \
/linux/include/linux/
H A Dbtf_ids.h246 BTF_SOCK_TYPE(BTF_SOCK_TYPE_INET_TW, inet_timewait_sock) \
H A Dtcp.h559 struct inet_timewait_sock tw_sk;
/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_tcp4.c150 struct inet_timewait_sock *tw = &ttw->tw_sk; in dump_tw_sock()
H A Dbpf_iter_tcp6.c155 struct inet_timewait_sock *tw = &ttw->tw_sk; in dump_tw_sock()
/linux/net/core/
H A Dfilter.c11960 BTF_TYPE_EMIT(struct inet_timewait_sock); in BPF_CALL_1()
/linux/
H A DMAINTAINERS18622 F: net/ipv4/inet_timewait_sock.c