Lines Matching refs:sock
18 #include <net/sock.h>
56 extern void dccp_time_wait(struct sock *sk, int state, int timeo);
226 extern void dccp_v4_send_check(struct sock *sk, struct sk_buff *skb);
228 extern int dccp_retransmit_skb(struct sock *sk);
230 extern void dccp_send_ack(struct sock *sk);
231 extern void dccp_reqsk_send_ack(struct sock *sk, struct sk_buff *skb,
234 extern void dccp_send_sync(struct sock *sk, const u64 seq,
237 extern void dccp_write_xmit(struct sock *sk, int block);
238 extern void dccp_write_space(struct sock *sk);
240 extern void dccp_init_xmit_timers(struct sock *sk);
241 static inline void dccp_clear_xmit_timers(struct sock *sk)
246 extern unsigned int dccp_sync_mss(struct sock *sk, u32 pmtu);
251 extern void dccp_set_state(struct sock *sk, const int state);
252 extern void dccp_done(struct sock *sk);
257 extern int dccp_v4_conn_request(struct sock *sk, struct sk_buff *skb);
259 extern struct sock *dccp_create_openreq_child(struct sock *sk,
263 extern int dccp_v4_do_rcv(struct sock *sk, struct sk_buff *skb);
265 extern struct sock *dccp_v4_request_recv_sock(struct sock *sk,
269 extern struct sock *dccp_check_req(struct sock *sk, struct sk_buff *skb,
273 extern int dccp_child_process(struct sock *parent, struct sock *child,
275 extern int dccp_rcv_state_process(struct sock *sk, struct sk_buff *skb,
277 extern int dccp_rcv_established(struct sock *sk, struct sk_buff *skb,
280 extern int dccp_init_sock(struct sock *sk, const __u8 ctl_sock_initialized);
281 extern void dccp_destroy_sock(struct sock *sk);
283 extern void dccp_close(struct sock *sk, long timeout);
284 extern struct sk_buff *dccp_make_response(struct sock *sk,
288 extern int dccp_connect(struct sock *sk);
289 extern int dccp_disconnect(struct sock *sk, int flags);
290 extern int dccp_getsockopt(struct sock *sk, int level, int optname,
292 extern int dccp_setsockopt(struct sock *sk, int level, int optname,
295 extern int compat_dccp_getsockopt(struct sock *sk,
298 extern int compat_dccp_setsockopt(struct sock *sk,
302 extern int dccp_ioctl(struct sock *sk, int cmd, unsigned long arg);
303 extern int dccp_sendmsg(struct kiocb *iocb, struct sock *sk,
305 extern int dccp_recvmsg(struct kiocb *iocb, struct sock *sk,
308 extern void dccp_shutdown(struct sock *sk, int how);
309 extern int inet_dccp_listen(struct socket *sock, int backlog);
310 extern unsigned int dccp_poll(struct file *file, struct socket *sock,
312 extern int dccp_v4_connect(struct sock *sk, struct sockaddr *uaddr,
315 extern struct sk_buff *dccp_ctl_make_reset(struct sock *sk,
317 extern int dccp_send_reset(struct sock *sk, enum dccp_reset_codes code);
318 extern void dccp_send_close(struct sock *sk, const int active);
320 extern u32 dccp_sample_rtt(struct sock *sk, long delta);
322 static inline int dccp_bad_service_code(const struct sock *sk,
411 static inline void dccp_update_gsr(struct sock *sk, u64 seq)
421 static inline void dccp_update_gss(struct sock *sk, u64 seq)
431 static inline int dccp_ack_pending(const struct sock *sk)
444 extern int dccp_feat_activate_values(struct sock *sk, struct list_head *fn);
447 extern int dccp_insert_options(struct sock *sk, struct sk_buff *skb);