• Home
  • Raw
  • Download

Lines Matching refs:sock

53 void tcp_time_wait(struct sock *sk, int state, int timeo);
302 static inline bool tcp_out_of_memory(struct sock *sk) in tcp_out_of_memory()
310 static inline bool tcp_too_many_orphans(struct sock *sk, int shift) in tcp_too_many_orphans()
323 bool tcp_check_oom(struct sock *sk, int shift);
326 static inline void tcp_synq_overflow(struct sock *sk) in tcp_synq_overflow()
332 static inline bool tcp_synq_no_recent_overflow(const struct sock *sk) in tcp_synq_no_recent_overflow()
350 void tcp_shutdown(struct sock *sk, int how);
356 int tcp_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
358 int tcp_sendpage(struct sock *sk, struct page *page, int offset, size_t size,
360 void tcp_release_cb(struct sock *sk);
362 void tcp_write_timer_handler(struct sock *sk);
363 void tcp_delack_timer_handler(struct sock *sk);
364 int tcp_ioctl(struct sock *sk, int cmd, unsigned long arg);
365 int tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb,
367 void tcp_rcv_established(struct sock *sk, struct sk_buff *skb,
369 void tcp_rcv_space_adjust(struct sock *sk);
370 int tcp_twsk_unique(struct sock *sk, struct sock *sktw, void *twp);
371 void tcp_twsk_destructor(struct sock *sk);
376 static inline void tcp_dec_quickack_mode(struct sock *sk, in tcp_dec_quickack_mode()
407 struct sock *tcp_check_req(struct sock *sk, struct sk_buff *skb,
410 int tcp_child_process(struct sock *parent, struct sock *child,
412 void tcp_enter_loss(struct sock *sk);
414 void tcp_update_metrics(struct sock *sk);
415 void tcp_init_metrics(struct sock *sk);
419 bool tcp_remember_stamp(struct sock *sk);
421 void tcp_fetch_timewait_stamp(struct sock *sk, struct dst_entry *dst);
423 void tcp_close(struct sock *sk, long timeout);
424 void tcp_init_sock(struct sock *sk);
425 unsigned int tcp_poll(struct file *file, struct socket *sock,
427 int tcp_getsockopt(struct sock *sk, int level, int optname,
429 int tcp_setsockopt(struct sock *sk, int level, int optname,
431 int compat_tcp_getsockopt(struct sock *sk, int level, int optname,
433 int compat_tcp_setsockopt(struct sock *sk, int level, int optname,
435 void tcp_set_keepalive(struct sock *sk, int val);
436 void tcp_syn_ack_timeout(struct sock *sk, struct request_sock *req);
437 int tcp_recvmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
448 void tcp_v4_send_check(struct sock *sk, struct sk_buff *skb);
449 void tcp_v4_mtu_reduced(struct sock *sk);
450 int tcp_v4_conn_request(struct sock *sk, struct sk_buff *skb);
451 struct sock *tcp_create_openreq_child(struct sock *sk,
454 struct sock *tcp_v4_syn_recv_sock(struct sock *sk, struct sk_buff *skb,
457 int tcp_v4_do_rcv(struct sock *sk, struct sk_buff *skb);
458 int tcp_v4_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len);
459 int tcp_connect(struct sock *sk);
460 struct sk_buff *tcp_make_synack(struct sock *sk, struct dst_entry *dst,
463 int tcp_disconnect(struct sock *sk, int flags);
465 void tcp_finish_connect(struct sock *sk, struct sk_buff *skb);
466 int tcp_send_rcvq(struct sock *sk, struct msghdr *msg, size_t size);
467 void inet_sk_rx_dst_set(struct sock *sk, const struct sk_buff *skb);
472 struct sock *cookie_v4_check(struct sock *sk, struct sk_buff *skb);
494 __u32 cookie_v4_init_sequence(struct sock *sk, const struct sk_buff *skb,
505 struct sock *cookie_v6_check(struct sock *sk, struct sk_buff *skb);
509 __u32 cookie_v6_init_sequence(struct sock *sk, const struct sk_buff *skb,
514 void __tcp_push_pending_frames(struct sock *sk, unsigned int cur_mss,
516 bool tcp_may_send_now(struct sock *sk);
517 int __tcp_retransmit_skb(struct sock *, struct sk_buff *);
518 int tcp_retransmit_skb(struct sock *, struct sk_buff *);
519 void tcp_retransmit_timer(struct sock *sk);
520 void tcp_xmit_retransmit_queue(struct sock *);
521 void tcp_simple_retransmit(struct sock *);
522 int tcp_trim_head(struct sock *, struct sk_buff *, u32);
523 int tcp_fragment(struct sock *, struct sk_buff *, u32, unsigned int, gfp_t);
525 void tcp_send_probe0(struct sock *);
526 void tcp_send_partial(struct sock *);
527 int tcp_write_wakeup(struct sock *);
528 void tcp_send_fin(struct sock *sk);
529 void tcp_send_active_reset(struct sock *sk, gfp_t priority);
530 int tcp_send_synack(struct sock *);
531 bool tcp_syn_flood_action(struct sock *sk, const struct sk_buff *skb,
533 void tcp_push_one(struct sock *, unsigned int mss_now);
534 void tcp_send_ack(struct sock *sk);
535 void tcp_send_delayed_ack(struct sock *sk);
536 void tcp_send_loss_probe(struct sock *sk);
537 bool tcp_schedule_loss_probe(struct sock *sk);
540 void tcp_resume_early_retransmit(struct sock *sk);
541 void tcp_rearm_rto(struct sock *sk);
542 void tcp_reset(struct sock *sk);
545 void tcp_init_xmit_timers(struct sock *);
546 static inline void tcp_clear_xmit_timers(struct sock *sk) in tcp_clear_xmit_timers()
551 unsigned int tcp_sync_mss(struct sock *sk, u32 pmtu);
552 unsigned int tcp_current_mss(struct sock *sk);
578 void tcp_get_info(const struct sock *, struct tcp_info *);
583 int tcp_read_sock(struct sock *sk, read_descriptor_t *desc,
586 void tcp_initialize_rcv_mss(struct sock *sk);
588 int tcp_mtu_to_mss(struct sock *sk, int pmtu);
589 int tcp_mss_to_mtu(struct sock *sk, int mss);
590 void tcp_mtup_init(struct sock *sk);
591 void tcp_init_buffer_space(struct sock *sk);
593 static inline void tcp_bound_rto(const struct sock *sk) in tcp_bound_rto()
616 static inline void tcp_fast_path_check(struct sock *sk) in tcp_fast_path_check()
628 static inline u32 tcp_rto_min(struct sock *sk) in tcp_rto_min()
638 static inline u32 tcp_rto_min_us(struct sock *sk) in tcp_rto_min_us()
660 u32 __tcp_select_window(struct sock *sk);
662 void tcp_send_window_probe(struct sock *sk);
804 void (*init)(struct sock *sk);
806 void (*release)(struct sock *sk);
809 u32 (*ssthresh)(struct sock *sk);
811 void (*cong_avoid)(struct sock *sk, u32 ack, u32 acked);
813 void (*set_state)(struct sock *sk, u8 new_state);
815 void (*cwnd_event)(struct sock *sk, enum tcp_ca_event ev);
817 void (*in_ack_event)(struct sock *sk, u32 flags);
819 u32 (*undo_cwnd)(struct sock *sk);
821 void (*pkts_acked)(struct sock *sk, u32 num_acked, s32 rtt_us);
823 void (*get_info)(struct sock *sk, u32 ext, struct sk_buff *skb);
832 void tcp_assign_congestion_control(struct sock *sk);
833 void tcp_init_congestion_control(struct sock *sk);
834 void tcp_cleanup_congestion_control(struct sock *sk);
840 int tcp_set_congestion_control(struct sock *sk, const char *name);
844 u32 tcp_reno_ssthresh(struct sock *sk);
845 void tcp_reno_cong_avoid(struct sock *sk, u32 ack, u32 acked);
848 static inline bool tcp_ca_needs_ecn(const struct sock *sk) in tcp_ca_needs_ecn()
855 static inline void tcp_set_ca_state(struct sock *sk, const u8 ca_state) in tcp_set_ca_state()
864 static inline void tcp_ca_event(struct sock *sk, const enum tcp_ca_event event) in tcp_ca_event()
946 static inline bool tcp_in_cwnd_reduction(const struct sock *sk) in tcp_in_cwnd_reduction()
956 static inline __u32 tcp_current_ssthresh(const struct sock *sk) in tcp_current_ssthresh()
971 void tcp_enter_cwr(struct sock *sk);
1012 static inline bool tcp_is_cwnd_limited(const struct sock *sk) in tcp_is_cwnd_limited()
1023 static inline void tcp_check_probe_timer(struct sock *sk) in tcp_check_probe_timer()
1073 bool tcp_prequeue(struct sock *sk, struct sk_buff *skb);
1084 void tcp_set_state(struct sock *sk, int state);
1086 void tcp_done(struct sock *sk);
1088 int tcp_abort(struct sock *sk, int err);
1111 static inline int tcp_space(const struct sock *sk) in tcp_space()
1117 static inline int tcp_full_space(const struct sock *sk) in tcp_full_space()
1124 struct sk_buff *skb, struct sock *sk) in tcp_openreq_init()
1147 struct sock *sk, struct dst_entry *dst);
1149 void tcp_enter_memory_pressure(struct sock *sk);
1174 static inline int tcp_fin_time(const struct sock *sk) in tcp_fin_time()
1303 const struct sock *sk, const struct request_sock *req,
1305 int tcp_md5_do_add(struct sock *sk, const union tcp_md5_addr *addr,
1307 int tcp_md5_do_del(struct sock *sk, const union tcp_md5_addr *addr,
1309 struct tcp_md5sig_key *tcp_v4_md5_lookup(struct sock *sk,
1310 struct sock *addr_sk);
1313 struct tcp_md5sig_key *tcp_md5_do_lookup(struct sock *sk,
1318 static inline struct tcp_md5sig_key *tcp_md5_do_lookup(struct sock *sk, in tcp_md5_do_lookup()
1342 void tcp_fastopen_cache_get(struct sock *sk, u16 *mss,
1345 void tcp_fastopen_cache_set(struct sock *sk, u16 mss,
1358 bool tcp_try_fastopen(struct sock *sk, struct sk_buff *skb,
1373 static inline void tcp_write_queue_purge(struct sock *sk) in tcp_write_queue_purge()
1383 static inline struct sk_buff *tcp_write_queue_head(const struct sock *sk) in tcp_write_queue_head()
1388 static inline struct sk_buff *tcp_write_queue_tail(const struct sock *sk) in tcp_write_queue_tail()
1393 static inline struct sk_buff *tcp_write_queue_next(const struct sock *sk, in tcp_write_queue_next()
1399 static inline struct sk_buff *tcp_write_queue_prev(const struct sock *sk, in tcp_write_queue_prev()
1414 static inline struct sk_buff *tcp_send_head(const struct sock *sk) in tcp_send_head()
1419 static inline bool tcp_skb_is_last(const struct sock *sk, in tcp_skb_is_last()
1425 static inline void tcp_advance_send_head(struct sock *sk, const struct sk_buff *skb) in tcp_advance_send_head()
1433 static inline void tcp_check_send_head(struct sock *sk, struct sk_buff *skb_unlinked) in tcp_check_send_head()
1441 static inline void tcp_init_send_head(struct sock *sk) in tcp_init_send_head()
1446 static inline void __tcp_add_write_queue_tail(struct sock *sk, struct sk_buff *skb) in __tcp_add_write_queue_tail()
1451 static inline void tcp_add_write_queue_tail(struct sock *sk, struct sk_buff *skb) in tcp_add_write_queue_tail()
1464 static inline void __tcp_add_write_queue_head(struct sock *sk, struct sk_buff *skb) in __tcp_add_write_queue_head()
1472 struct sock *sk) in tcp_insert_write_queue_after()
1480 struct sock *sk) in tcp_insert_write_queue_before()
1488 static inline void tcp_unlink_write_queue(struct sk_buff *skb, struct sock *sk) in tcp_unlink_write_queue()
1493 static inline bool tcp_write_queue_empty(struct sock *sk) in tcp_write_queue_empty()
1498 static inline void tcp_push_pending_frames(struct sock *sk) in tcp_push_pending_frames()
1522 static inline void tcp_advance_highest_sack(struct sock *sk, struct sk_buff *skb) in tcp_advance_highest_sack()
1528 static inline struct sk_buff *tcp_highest_sack(struct sock *sk) in tcp_highest_sack()
1533 static inline void tcp_highest_sack_reset(struct sock *sk) in tcp_highest_sack_reset()
1539 static inline void tcp_highest_sack_replace(struct sock *sk, in tcp_highest_sack_replace()
1575 struct sock *syn_wait_sk;
1587 void tcp_v4_destroy_sock(struct sock *sk);
1601 static inline bool tcp_stream_memory_free(const struct sock *sk) in tcp_stream_memory_free()
1614 int tcp_rtx_synack(struct sock *sk, struct request_sock *req);
1617 struct sock *sk, struct sk_buff *skb);
1622 struct tcp_md5sig_key *(*md5_lookup) (struct sock *sk,
1623 struct sock *addr_sk);
1626 const struct sock *sk,
1629 int (*md5_parse) (struct sock *sk,
1638 struct tcp_md5sig_key *(*md5_lookup) (struct sock *sk,
1642 const struct sock *sk,
1646 void (*init_req)(struct request_sock *req, struct sock *sk,
1649 __u32 (*cookie_init_seq)(struct sock *sk, const struct sk_buff *skb,
1652 struct dst_entry *(*route_req)(struct sock *sk, struct flowi *fl,
1656 int (*send_synack)(struct sock *sk, struct dst_entry *dst,
1659 void (*queue_hash_add)(struct sock *sk, struct request_sock *req,
1665 struct sock *sk, struct sk_buff *skb, in cookie_init_sequence()
1672 struct sock *sk, struct sk_buff *skb, in cookie_init_sequence()