Lines Matching refs:sk
56 void dccp_time_wait(struct sock *sk, int state, int timeo);
227 void dccp_v4_send_check(struct sock *sk, struct sk_buff *skb);
229 int dccp_retransmit_skb(struct sock *sk);
231 void dccp_send_ack(struct sock *sk);
232 void dccp_reqsk_send_ack(const struct sock *sk, struct sk_buff *skb,
235 void dccp_send_sync(struct sock *sk, const u64 seq,
241 void dccp_qpolicy_push(struct sock *sk, struct sk_buff *skb);
242 bool dccp_qpolicy_full(struct sock *sk);
243 void dccp_qpolicy_drop(struct sock *sk, struct sk_buff *skb);
244 struct sk_buff *dccp_qpolicy_top(struct sock *sk);
245 struct sk_buff *dccp_qpolicy_pop(struct sock *sk);
246 bool dccp_qpolicy_param_ok(struct sock *sk, __be32 param);
251 void dccp_write_xmit(struct sock *sk);
252 void dccp_write_space(struct sock *sk);
253 void dccp_flush_write_queue(struct sock *sk, long *time_budget);
255 void dccp_init_xmit_timers(struct sock *sk);
256 static inline void dccp_clear_xmit_timers(struct sock *sk) in dccp_clear_xmit_timers() argument
258 inet_csk_clear_xmit_timers(sk); in dccp_clear_xmit_timers()
261 unsigned int dccp_sync_mss(struct sock *sk, u32 pmtu);
265 void dccp_set_state(struct sock *sk, const int state);
266 void dccp_done(struct sock *sk);
271 int dccp_v4_conn_request(struct sock *sk, struct sk_buff *skb);
273 struct sock *dccp_create_openreq_child(const struct sock *sk,
277 int dccp_v4_do_rcv(struct sock *sk, struct sk_buff *skb);
279 struct sock *dccp_v4_request_recv_sock(const struct sock *sk, struct sk_buff *skb,
284 struct sock *dccp_check_req(struct sock *sk, struct sk_buff *skb,
289 int dccp_rcv_state_process(struct sock *sk, struct sk_buff *skb,
291 int dccp_rcv_established(struct sock *sk, struct sk_buff *skb,
294 int dccp_init_sock(struct sock *sk, const __u8 ctl_sock_initialized);
295 void dccp_destroy_sock(struct sock *sk);
297 void dccp_close(struct sock *sk, long timeout);
298 struct sk_buff *dccp_make_response(const struct sock *sk, struct dst_entry *dst,
301 int dccp_connect(struct sock *sk);
302 int dccp_disconnect(struct sock *sk, int flags);
303 int dccp_getsockopt(struct sock *sk, int level, int optname,
305 int dccp_setsockopt(struct sock *sk, int level, int optname,
308 int compat_dccp_getsockopt(struct sock *sk, int level, int optname,
310 int compat_dccp_setsockopt(struct sock *sk, int level, int optname,
313 int dccp_ioctl(struct sock *sk, int cmd, unsigned long arg);
314 int dccp_sendmsg(struct sock *sk, struct msghdr *msg, size_t size);
315 int dccp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int nonblock,
317 void dccp_shutdown(struct sock *sk, int how);
321 int dccp_v4_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len);
322 void dccp_req_err(struct sock *sk, u64 seq);
324 struct sk_buff *dccp_ctl_make_reset(struct sock *sk, struct sk_buff *skb);
325 int dccp_send_reset(struct sock *sk, enum dccp_reset_codes code);
326 void dccp_send_close(struct sock *sk, const int active);
328 u32 dccp_sample_rtt(struct sock *sk, long delta);
330 static inline bool dccp_bad_service_code(const struct sock *sk, in dccp_bad_service_code() argument
333 const struct dccp_sock *dp = dccp_sk(sk); in dccp_bad_service_code()
420 static inline void dccp_update_gsr(struct sock *sk, u64 seq) in dccp_update_gsr() argument
422 struct dccp_sock *dp = dccp_sk(sk); in dccp_update_gsr()
448 static inline void dccp_update_gss(struct sock *sk, u64 seq) in dccp_update_gss() argument
450 struct dccp_sock *dp = dccp_sk(sk); in dccp_update_gss()
461 static inline int dccp_ackvec_pending(const struct sock *sk) in dccp_ackvec_pending() argument
463 return dccp_sk(sk)->dccps_hc_rx_ackvec != NULL && in dccp_ackvec_pending()
464 !dccp_ackvec_is_empty(dccp_sk(sk)->dccps_hc_rx_ackvec); in dccp_ackvec_pending()
467 static inline int dccp_ack_pending(const struct sock *sk) in dccp_ack_pending() argument
469 return dccp_ackvec_pending(sk) || inet_csk_ack_scheduled(sk); in dccp_ack_pending()
472 int dccp_feat_signal_nn_change(struct sock *sk, u8 feat, u64 nn_val);
477 int dccp_feat_activate_values(struct sock *sk, struct list_head *fn);
480 int dccp_insert_options(struct sock *sk, struct sk_buff *skb);