Lines Matching refs:sock

38 	int	    (*queue_xmit)(struct sock *sk, struct sk_buff *skb, struct flowi *fl);
39 void (*send_check)(struct sock *sk, struct sk_buff *skb);
40 int (*rebuild_header)(struct sock *sk);
41 void (*sk_rx_dst_set)(struct sock *sk, const struct sk_buff *skb);
42 int (*conn_request)(struct sock *sk, struct sk_buff *skb);
43 struct sock *(*syn_recv_sock)(const struct sock *sk, struct sk_buff *skb,
51 int (*setsockopt)(struct sock *sk, int level, int optname,
53 int (*getsockopt)(struct sock *sk, int level, int optname,
56 int (*compat_setsockopt)(struct sock *sk,
59 int (*compat_getsockopt)(struct sock *sk,
63 void (*addr2sockaddr)(struct sock *sk, struct sockaddr *);
64 void (*mtu_reduced)(struct sock *sk);
105 void (*icsk_clean_acked)(struct sock *sk, u32 acked_seq);
107 unsigned int (*icsk_sync_mss)(struct sock *sk, u32 pmtu);
153 static inline struct inet_connection_sock *inet_csk(const struct sock *sk) in inet_csk()
158 static inline void *inet_csk_ca(const struct sock *sk) in inet_csk_ca()
163 struct sock *inet_csk_clone_lock(const struct sock *sk,
175 void inet_csk_init_xmit_timers(struct sock *sk,
179 void inet_csk_clear_xmit_timers(struct sock *sk);
181 static inline void inet_csk_schedule_ack(struct sock *sk) in inet_csk_schedule_ack()
186 static inline int inet_csk_ack_scheduled(const struct sock *sk) in inet_csk_ack_scheduled()
191 static inline void inet_csk_delack_init(struct sock *sk) in inet_csk_delack_init()
196 void inet_csk_delete_keepalive_timer(struct sock *sk);
197 void inet_csk_reset_keepalive_timer(struct sock *sk, unsigned long timeout);
199 static inline void inet_csk_clear_xmit_timer(struct sock *sk, const int what) in inet_csk_clear_xmit_timer()
221 static inline void inet_csk_reset_xmit_timer(struct sock *sk, const int what, in inet_csk_reset_xmit_timer()
257 struct sock *inet_csk_accept(struct sock *sk, int flags, int *err, bool kern);
259 int inet_csk_get_port(struct sock *sk, unsigned short snum);
261 struct dst_entry *inet_csk_route_req(const struct sock *sk, struct flowi4 *fl4,
263 struct dst_entry *inet_csk_route_child_sock(const struct sock *sk,
264 struct sock *newsk,
267 struct sock *inet_csk_reqsk_queue_add(struct sock *sk,
269 struct sock *child);
270 void inet_csk_reqsk_queue_hash_add(struct sock *sk, struct request_sock *req,
272 struct sock *inet_csk_complete_hashdance(struct sock *sk, struct sock *child,
276 static inline void inet_csk_reqsk_queue_added(struct sock *sk) in inet_csk_reqsk_queue_added()
281 static inline int inet_csk_reqsk_queue_len(const struct sock *sk) in inet_csk_reqsk_queue_len()
286 static inline int inet_csk_reqsk_queue_is_full(const struct sock *sk) in inet_csk_reqsk_queue_is_full()
291 bool inet_csk_reqsk_queue_drop(struct sock *sk, struct request_sock *req);
292 void inet_csk_reqsk_queue_drop_and_put(struct sock *sk, struct request_sock *req);
294 void inet_csk_destroy_sock(struct sock *sk);
295 void inet_csk_prepare_forced_close(struct sock *sk);
300 static inline __poll_t inet_csk_listen_poll(const struct sock *sk) in inet_csk_listen_poll()
306 int inet_csk_listen_start(struct sock *sk, int backlog);
307 void inet_csk_listen_stop(struct sock *sk);
309 void inet_csk_addr2sockaddr(struct sock *sk, struct sockaddr *uaddr);
311 int inet_csk_compat_getsockopt(struct sock *sk, int level, int optname,
313 int inet_csk_compat_setsockopt(struct sock *sk, int level, int optname,
318 struct sock *sk);
320 struct dst_entry *inet_csk_update_pmtu(struct sock *sk, u32 mtu);