Lines Matching full:sock
36 int (*queue_xmit)(struct sock *sk, struct sk_buff *skb, struct flowi *fl);
38 int (*rebuild_header)(struct sock *sk);
39 void (*sk_rx_dst_set)(struct sock *sk, const struct sk_buff *skb);
40 int (*conn_request)(struct sock *sk, struct sk_buff *skb);
41 struct sock *(*syn_recv_sock)(const struct sock *sk, struct sk_buff *skb,
46 void (*opt_child_init)(struct sock *newsk,
47 const struct sock *sk));
48 int (*setsockopt)(struct sock *sk, int level, int optname,
50 int (*getsockopt)(struct sock *sk, int level, int optname,
52 void (*mtu_reduced)(struct sock *sk);
55 /** inet_connection_sock - INET connection oriented sock
101 unsigned int (*icsk_sync_mss)(struct sock *sk, u32 pmtu);
153 static inline void *inet_csk_ca(const struct sock *sk) in inet_csk_ca()
158 struct sock *inet_csk_clone_lock(const struct sock *sk,
171 void inet_csk_init_xmit_timers(struct sock *sk,
175 void inet_csk_clear_xmit_timers(struct sock *sk);
176 void inet_csk_clear_xmit_timers_sync(struct sock *sk);
178 static inline void inet_csk_schedule_ack(struct sock *sk) in inet_csk_schedule_ack()
183 static inline int inet_csk_ack_scheduled(const struct sock *sk) in inet_csk_ack_scheduled()
188 static inline void inet_csk_delack_init(struct sock *sk) in inet_csk_delack_init()
193 static inline unsigned long tcp_timeout_expires(const struct sock *sk) in tcp_timeout_expires()
204 static inline void inet_csk_clear_xmit_timer(struct sock *sk, const int what) in inet_csk_clear_xmit_timer()
227 static inline void inet_csk_reset_xmit_timer(struct sock *sk, const int what, in inet_csk_reset_xmit_timer()
262 struct sock *inet_csk_accept(struct sock *sk, struct proto_accept_arg *arg);
264 int inet_csk_get_port(struct sock *sk, unsigned short snum);
266 struct dst_entry *inet_csk_route_req(const struct sock *sk, struct flowi4 *fl4,
268 struct dst_entry *inet_csk_route_child_sock(const struct sock *sk,
269 struct sock *newsk,
272 struct sock *inet_csk_reqsk_queue_add(struct sock *sk,
274 struct sock *child);
275 bool inet_csk_reqsk_queue_hash_add(struct sock *sk, struct request_sock *req);
276 struct sock *inet_csk_complete_hashdance(struct sock *sk, struct sock *child,
280 static inline void inet_csk_reqsk_queue_added(struct sock *sk) in inet_csk_reqsk_queue_added()
285 static inline int inet_csk_reqsk_queue_len(const struct sock *sk) in inet_csk_reqsk_queue_len()
290 static inline int inet_csk_reqsk_queue_is_full(const struct sock *sk) in inet_csk_reqsk_queue_is_full()
295 bool inet_csk_reqsk_queue_drop(struct sock *sk, struct request_sock *req);
296 void inet_csk_reqsk_queue_drop_and_put(struct sock *sk, struct request_sock *req);
298 void inet_csk_destroy_sock(struct sock *sk);
299 void inet_csk_prepare_for_destroy_sock(struct sock *sk);
300 void inet_csk_prepare_forced_close(struct sock *sk);
305 static inline __poll_t inet_csk_listen_poll(const struct sock *sk) in inet_csk_listen_poll()
311 int inet_csk_listen_start(struct sock *sk);
312 void inet_csk_listen_stop(struct sock *sk);
315 void inet_csk_update_fastreuse(const struct sock *sk,
319 struct dst_entry *inet_csk_update_pmtu(struct sock *sk, u32 mtu);
321 static inline void inet_csk_enter_pingpong_mode(struct sock *sk) in inet_csk_enter_pingpong_mode()
327 static inline void inet_csk_exit_pingpong_mode(struct sock *sk) in inet_csk_exit_pingpong_mode()
332 static inline bool inet_csk_in_pingpong_mode(struct sock *sk) in inet_csk_in_pingpong_mode()
338 static inline void inet_csk_inc_pingpong_cnt(struct sock *sk) in inet_csk_inc_pingpong_cnt()
346 static inline bool inet_csk_has_ulp(const struct sock *sk) in inet_csk_has_ulp()
351 static inline void inet_init_csk_locks(struct sock *sk) in inet_init_csk_locks()