Lines Matching refs:sock

35 	int	    (*queue_xmit)(struct sock *sk, struct sk_buff *skb, struct flowi *fl);
36 void (*send_check)(struct sock *sk, struct sk_buff *skb);
37 int (*rebuild_header)(struct sock *sk);
38 void (*sk_rx_dst_set)(struct sock *sk, const struct sk_buff *skb);
39 int (*conn_request)(struct sock *sk, struct sk_buff *skb);
40 struct sock *(*syn_recv_sock)(const struct sock *sk, struct sk_buff *skb,
48 int (*setsockopt)(struct sock *sk, int level, int optname,
50 int (*getsockopt)(struct sock *sk, int level, int optname,
52 void (*addr2sockaddr)(struct sock *sk, struct sockaddr *);
53 void (*mtu_reduced)(struct sock *sk);
98 void (*icsk_clean_acked)(struct sock *sk, u32 acked_seq);
100 unsigned int (*icsk_sync_mss)(struct sock *sk, u32 pmtu);
147 static inline struct inet_connection_sock *inet_csk(const struct sock *sk) in inet_csk()
152 static inline void *inet_csk_ca(const struct sock *sk) in inet_csk_ca()
157 struct sock *inet_csk_clone_lock(const struct sock *sk,
169 void inet_csk_init_xmit_timers(struct sock *sk,
173 void inet_csk_clear_xmit_timers(struct sock *sk);
175 static inline void inet_csk_schedule_ack(struct sock *sk) in inet_csk_schedule_ack()
180 static inline int inet_csk_ack_scheduled(const struct sock *sk) in inet_csk_ack_scheduled()
185 static inline void inet_csk_delack_init(struct sock *sk) in inet_csk_delack_init()
190 void inet_csk_delete_keepalive_timer(struct sock *sk);
191 void inet_csk_reset_keepalive_timer(struct sock *sk, unsigned long timeout);
193 static inline void inet_csk_clear_xmit_timer(struct sock *sk, const int what) in inet_csk_clear_xmit_timer()
216 static inline void inet_csk_reset_xmit_timer(struct sock *sk, const int what, in inet_csk_reset_xmit_timer()
251 struct sock *inet_csk_accept(struct sock *sk, int flags, int *err, bool kern);
253 int inet_csk_get_port(struct sock *sk, unsigned short snum);
255 struct dst_entry *inet_csk_route_req(const struct sock *sk, struct flowi4 *fl4,
257 struct dst_entry *inet_csk_route_child_sock(const struct sock *sk,
258 struct sock *newsk,
261 struct sock *inet_csk_reqsk_queue_add(struct sock *sk,
263 struct sock *child);
264 void inet_csk_reqsk_queue_hash_add(struct sock *sk, struct request_sock *req,
266 struct sock *inet_csk_complete_hashdance(struct sock *sk, struct sock *child,
270 static inline void inet_csk_reqsk_queue_added(struct sock *sk) in inet_csk_reqsk_queue_added()
275 static inline int inet_csk_reqsk_queue_len(const struct sock *sk) in inet_csk_reqsk_queue_len()
280 static inline int inet_csk_reqsk_queue_is_full(const struct sock *sk) in inet_csk_reqsk_queue_is_full()
285 bool inet_csk_reqsk_queue_drop(struct sock *sk, struct request_sock *req);
286 void inet_csk_reqsk_queue_drop_and_put(struct sock *sk, struct request_sock *req);
288 static inline void inet_csk_prepare_for_destroy_sock(struct sock *sk) in inet_csk_prepare_for_destroy_sock()
295 void inet_csk_destroy_sock(struct sock *sk);
296 void inet_csk_prepare_forced_close(struct sock *sk);
301 static inline __poll_t inet_csk_listen_poll(const struct sock *sk) in inet_csk_listen_poll()
307 int inet_csk_listen_start(struct sock *sk, int backlog);
308 void inet_csk_listen_stop(struct sock *sk);
310 void inet_csk_addr2sockaddr(struct sock *sk, struct sockaddr *uaddr);
314 struct sock *sk);
316 struct dst_entry *inet_csk_update_pmtu(struct sock *sk, u32 mtu);
320 static inline void inet_csk_enter_pingpong_mode(struct sock *sk) in inet_csk_enter_pingpong_mode()
325 static inline void inet_csk_exit_pingpong_mode(struct sock *sk) in inet_csk_exit_pingpong_mode()
330 static inline bool inet_csk_in_pingpong_mode(struct sock *sk) in inet_csk_in_pingpong_mode()
335 static inline void inet_csk_inc_pingpong_cnt(struct sock *sk) in inet_csk_inc_pingpong_cnt()
343 static inline bool inet_csk_has_ulp(struct sock *sk) in inet_csk_has_ulp()