Lines Matching defs:sk

306 static inline bool tcp_out_of_memory(struct sock *sk)  in tcp_out_of_memory()
314 static inline bool tcp_too_many_orphans(struct sock *sk, int shift) in tcp_too_many_orphans()
330 static inline void tcp_synq_overflow(struct sock *sk) in tcp_synq_overflow()
336 static inline bool tcp_synq_no_recent_overflow(const struct sock *sk) in tcp_synq_no_recent_overflow()
379 static inline void tcp_dec_quickack_mode(struct sock *sk, in tcp_dec_quickack_mode()
547 static inline void tcp_clear_xmit_timers(struct sock *sk) in tcp_clear_xmit_timers()
594 static inline void tcp_bound_rto(const struct sock *sk) in tcp_bound_rto()
617 static inline void tcp_fast_path_check(struct sock *sk) in tcp_fast_path_check()
629 static inline u32 tcp_rto_min(struct sock *sk) in tcp_rto_min()
639 static inline u32 tcp_rto_min_us(struct sock *sk) in tcp_rto_min_us()
871 static inline bool tcp_ca_needs_ecn(const struct sock *sk) in tcp_ca_needs_ecn()
878 static inline void tcp_set_ca_state(struct sock *sk, const u8 ca_state) in tcp_set_ca_state()
887 static inline void tcp_ca_event(struct sock *sk, const enum tcp_ca_event event) in tcp_ca_event()
969 static inline bool tcp_in_cwnd_reduction(const struct sock *sk) in tcp_in_cwnd_reduction()
979 static inline __u32 tcp_current_ssthresh(const struct sock *sk) in tcp_current_ssthresh()
1035 static inline bool tcp_is_cwnd_limited(const struct sock *sk) in tcp_is_cwnd_limited()
1046 static inline void tcp_check_probe_timer(struct sock *sk) in tcp_check_probe_timer()
1132 static inline int tcp_space(const struct sock *sk) in tcp_space()
1138 static inline int tcp_full_space(const struct sock *sk) in tcp_full_space()
1171 static inline int tcp_fin_time(const struct sock *sk) in tcp_fin_time()
1317 static inline struct tcp_md5sig_key *tcp_md5_do_lookup(struct sock *sk, in tcp_md5_do_lookup()
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()
1405 #define tcp_for_write_queue(skb, sk) \ argument
1408 #define tcp_for_write_queue_from(skb, sk) \ argument
1411 #define tcp_for_write_queue_from_safe(skb, tmp, sk) \ argument
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()
1439 static inline void tcp_init_send_head(struct sock *sk) in tcp_init_send_head()
1444 static inline void __tcp_add_write_queue_tail(struct sock *sk, struct sk_buff *skb) in __tcp_add_write_queue_tail()
1449 static inline void tcp_add_write_queue_tail(struct sock *sk, struct sk_buff *skb) in tcp_add_write_queue_tail()
1462 static inline void __tcp_add_write_queue_head(struct sock *sk, struct sk_buff *skb) in __tcp_add_write_queue_head()
1470 struct sock *sk) in tcp_insert_write_queue_after()
1478 struct sock *sk) in tcp_insert_write_queue_before()
1486 static inline void tcp_unlink_write_queue(struct sk_buff *skb, struct sock *sk) in tcp_unlink_write_queue()
1491 static inline bool tcp_write_queue_empty(struct sock *sk) in tcp_write_queue_empty()
1496 static inline void tcp_push_pending_frames(struct sock *sk) in tcp_push_pending_frames()
1520 static inline void tcp_advance_highest_sack(struct sock *sk, struct sk_buff *skb) in tcp_advance_highest_sack()
1526 static inline struct sk_buff *tcp_highest_sack(struct sock *sk) in tcp_highest_sack()
1531 static inline void tcp_highest_sack_reset(struct sock *sk) in tcp_highest_sack_reset()
1537 static inline void tcp_highest_sack_combine(struct sock *sk, in tcp_highest_sack_combine()
1599 static inline bool tcp_stream_memory_free(const struct sock *sk) in tcp_stream_memory_free()
1661 struct sock *sk, struct sk_buff *skb, in cookie_init_sequence()
1668 struct sock *sk, struct sk_buff *skb, in cookie_init_sequence()