Lines Matching refs:sock

36 	int	    (*queue_xmit)(struct sock *sk, struct sk_buff *skb, struct flowi *fl);
37 void (*send_check)(struct sock *sk, struct sk_buff *skb);
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,
49 int (*setsockopt)(struct sock *sk, int level, int optname,
51 int (*getsockopt)(struct sock *sk, int level, int optname,
53 void (*addr2sockaddr)(struct sock *sk, struct sockaddr *);
54 void (*mtu_reduced)(struct sock *sk);
57 /** inet_connection_sock - INET connection oriented sock
100 void (*icsk_clean_acked)(struct sock *sk, u32 acked_seq);
101 unsigned int (*icsk_sync_mss)(struct sock *sk, u32 pmtu);
148 static inline struct inet_connection_sock *inet_csk(const struct sock *sk)
153 static inline void *inet_csk_ca(const struct sock *sk)
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);
177 static inline void inet_csk_schedule_ack(struct sock *sk)
182 static inline int inet_csk_ack_scheduled(const struct sock *sk)
187 static inline void inet_csk_delack_init(struct sock *sk)
192 void inet_csk_delete_keepalive_timer(struct sock *sk);
193 void inet_csk_reset_keepalive_timer(struct sock *sk, unsigned long timeout);
195 static inline void inet_csk_clear_xmit_timer(struct sock *sk, const int what)
218 static inline void inet_csk_reset_xmit_timer(struct sock *sk, const int what,
253 struct sock *inet_csk_accept(struct sock *sk, int flags, int *err, bool kern);
255 int inet_csk_get_port(struct sock *sk, unsigned short snum);
257 struct dst_entry *inet_csk_route_req(const struct sock *sk, struct flowi4 *fl4,
259 struct dst_entry *inet_csk_route_child_sock(const struct sock *sk,
260 struct sock *newsk,
263 struct sock *inet_csk_reqsk_queue_add(struct sock *sk,
265 struct sock *child);
266 void inet_csk_reqsk_queue_hash_add(struct sock *sk, struct request_sock *req,
268 struct sock *inet_csk_complete_hashdance(struct sock *sk, struct sock *child,
272 static inline void inet_csk_reqsk_queue_added(struct sock *sk)
277 static inline int inet_csk_reqsk_queue_len(const struct sock *sk)
282 static inline int inet_csk_reqsk_queue_is_full(const struct sock *sk)
287 bool inet_csk_reqsk_queue_drop(struct sock *sk, struct request_sock *req);
288 void inet_csk_reqsk_queue_drop_and_put(struct sock *sk, struct request_sock *req);
298 static inline void inet_csk_prepare_for_destroy_sock(struct sock *sk)
305 void inet_csk_destroy_sock(struct sock *sk);
306 void inet_csk_prepare_forced_close(struct sock *sk);
311 static inline __poll_t inet_csk_listen_poll(const struct sock *sk)
317 int inet_csk_listen_start(struct sock *sk);
318 void inet_csk_listen_stop(struct sock *sk);
320 void inet_csk_addr2sockaddr(struct sock *sk, struct sockaddr *uaddr);
324 struct sock *sk);
326 struct dst_entry *inet_csk_update_pmtu(struct sock *sk, u32 mtu);
330 static inline void inet_csk_enter_pingpong_mode(struct sock *sk)
335 static inline void inet_csk_exit_pingpong_mode(struct sock *sk)
340 static inline bool inet_csk_in_pingpong_mode(struct sock *sk)
345 static inline bool inet_csk_has_ulp(const struct sock *sk)
350 static inline void inet_init_csk_locks(struct sock *sk)