Lines Matching refs:sk_buff

353 void tcp_v4_err(struct sk_buff *skb, u32);
357 void tcp_v4_early_demux(struct sk_buff *skb);
358 int tcp_v4_rcv(struct sk_buff *skb);
365 void tcp_wfree(struct sk_buff *skb);
369 int tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb);
370 void tcp_rcv_established(struct sock *sk, struct sk_buff *skb,
408 struct sk_buff *skb,
410 struct sock *tcp_check_req(struct sock *sk, struct sk_buff *skb,
413 struct sk_buff *skb);
441 void tcp_parse_options(const struct sk_buff *skb,
450 void tcp_v4_send_check(struct sock *sk, struct sk_buff *skb);
453 int tcp_v4_conn_request(struct sock *sk, struct sk_buff *skb);
456 struct sk_buff *skb);
458 struct sock *tcp_v4_syn_recv_sock(const struct sock *sk, struct sk_buff *skb,
463 int tcp_v4_do_rcv(struct sock *sk, struct sk_buff *skb);
466 struct sk_buff *tcp_make_synack(const struct sock *sk, struct dst_entry *dst,
472 void tcp_finish_connect(struct sock *sk, struct sk_buff *skb);
474 void inet_sk_rx_dst_set(struct sock *sk, const struct sk_buff *skb);
477 struct sock *tcp_get_cookie_sock(struct sock *sk, struct sk_buff *skb,
482 struct sock *cookie_v4_check(struct sock *sk, struct sk_buff *skb);
527 __u32 cookie_v4_init_sequence(const struct sk_buff *skb, __u16 *mss);
536 struct sock *cookie_v6_check(struct sock *sk, struct sk_buff *skb);
540 __u32 cookie_v6_init_sequence(const struct sk_buff *skb, __u16 *mss);
547 int __tcp_retransmit_skb(struct sock *, struct sk_buff *);
548 int tcp_retransmit_skb(struct sock *, struct sk_buff *);
552 int tcp_trim_head(struct sock *, struct sk_buff *, u32);
553 int tcp_fragment(struct sock *, struct sk_buff *, u32, unsigned int, gfp_t);
572 void tcp_skb_mark_lost_uncond_verify(struct tcp_sock *tp, struct sk_buff *skb);
611 typedef int (*sk_read_actor_t)(read_descriptor_t *, struct sk_buff *,
713 static inline u32 tcp_skb_timestamp(const struct sk_buff *skb) in tcp_skb_timestamp()
784 static inline int tcp_v6_iif(const struct sk_buff *skb) in tcp_v6_iif()
793 static inline int tcp_skb_pcount(const struct sk_buff *skb) in tcp_skb_pcount()
798 static inline void tcp_skb_pcount_set(struct sk_buff *skb, int segs) in tcp_skb_pcount_set()
803 static inline void tcp_skb_pcount_add(struct sk_buff *skb, int segs) in tcp_skb_pcount_add()
809 static inline int tcp_skb_mss(const struct sk_buff *skb) in tcp_skb_mss()
1137 static inline __sum16 __tcp_checksum_complete(struct sk_buff *skb) in __tcp_checksum_complete()
1142 static inline bool tcp_checksum_complete(struct sk_buff *skb) in tcp_checksum_complete()
1158 bool tcp_prequeue(struct sock *sk, struct sk_buff *skb);
1298 bool tcp_oow_rate_limited(struct net *net, const struct sk_buff *skb,
1379 const struct sock *sk, const struct sk_buff *skb);
1411 int tcp_md5_hash_skb_data(struct tcp_md5sig_pool *, const struct sk_buff *,
1434 struct sock *tcp_try_fastopen(struct sock *sk, struct sk_buff *skb,
1451 struct sk_buff *skb; in tcp_write_queue_purge()
1459 static inline struct sk_buff *tcp_write_queue_head(const struct sock *sk) in tcp_write_queue_head()
1464 static inline struct sk_buff *tcp_write_queue_tail(const struct sock *sk) in tcp_write_queue_tail()
1469 static inline struct sk_buff *tcp_write_queue_next(const struct sock *sk, in tcp_write_queue_next()
1470 const struct sk_buff *skb) in tcp_write_queue_next()
1475 static inline struct sk_buff *tcp_write_queue_prev(const struct sock *sk, in tcp_write_queue_prev()
1476 const struct sk_buff *skb) in tcp_write_queue_prev()
1490 static inline struct sk_buff *tcp_send_head(const struct sock *sk) in tcp_send_head()
1496 const struct sk_buff *skb) in tcp_skb_is_last()
1501 static inline void tcp_advance_send_head(struct sock *sk, const struct sk_buff *skb) in tcp_advance_send_head()
1509 static inline void tcp_check_send_head(struct sock *sk, struct sk_buff *skb_unlinked) in tcp_check_send_head()
1520 static inline void __tcp_add_write_queue_tail(struct sock *sk, struct sk_buff *skb) in __tcp_add_write_queue_tail()
1525 static inline void tcp_add_write_queue_tail(struct sock *sk, struct sk_buff *skb) in tcp_add_write_queue_tail()
1538 static inline void __tcp_add_write_queue_head(struct sock *sk, struct sk_buff *skb) in __tcp_add_write_queue_head()
1544 static inline void tcp_insert_write_queue_after(struct sk_buff *skb, in tcp_insert_write_queue_after()
1545 struct sk_buff *buff, in tcp_insert_write_queue_after()
1552 static inline void tcp_insert_write_queue_before(struct sk_buff *new, in tcp_insert_write_queue_before()
1553 struct sk_buff *skb, in tcp_insert_write_queue_before()
1562 static inline void tcp_unlink_write_queue(struct sk_buff *skb, struct sock *sk) in tcp_unlink_write_queue()
1596 static inline void tcp_advance_highest_sack(struct sock *sk, struct sk_buff *skb) in tcp_advance_highest_sack()
1602 static inline struct sk_buff *tcp_highest_sack(struct sock *sk) in tcp_highest_sack()
1614 struct sk_buff *old, in tcp_highest_sack_combine()
1615 struct sk_buff *new) in tcp_highest_sack_combine()
1661 struct sk_buff *tcp_gso_segment(struct sk_buff *skb,
1663 struct sk_buff **tcp_gro_receive(struct sk_buff **head, struct sk_buff *skb);
1664 int tcp_gro_complete(struct sk_buff *skb);
1666 void __tcp_v4_send_check(struct sk_buff *skb, __be32 saddr, __be32 daddr);
1689 struct sock *sk, struct sk_buff *skb);
1699 const struct sk_buff *skb);
1714 const struct sk_buff *skb);
1718 struct sk_buff *skb);
1720 __u32 (*cookie_init_seq)(const struct sk_buff *skb,
1726 __u32 (*init_seq)(const struct sk_buff *skb);
1735 const struct sock *sk, struct sk_buff *skb, in cookie_init_sequence()
1744 const struct sock *sk, struct sk_buff *skb, in cookie_init_sequence()
1772 static inline struct ip_options_rcu *tcp_v4_save_options(struct sk_buff *skb) in tcp_v4_save_options()
1794 static inline bool skb_is_tcp_pure_ack(const struct sk_buff *skb) in skb_is_tcp_pure_ack()
1799 static inline void skb_set_tcp_pure_ack(struct sk_buff *skb) in skb_set_tcp_pure_ack()