Lines Matching refs:sk_buff
352 void tcp_v4_err(struct sk_buff *skb, u32);
356 void tcp_v4_early_demux(struct sk_buff *skb);
357 int tcp_v4_rcv(struct sk_buff *skb);
364 void tcp_wfree(struct sk_buff *skb);
368 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(struct sock *sk, struct sk_buff *skb,
461 int tcp_v4_do_rcv(struct sock *sk, struct sk_buff *skb);
464 struct sk_buff *tcp_make_synack(struct sock *sk, struct dst_entry *dst,
469 void tcp_finish_connect(struct sock *sk, struct sk_buff *skb);
471 void inet_sk_rx_dst_set(struct sock *sk, const struct sk_buff *skb);
476 struct sock *cookie_v4_check(struct sock *sk, struct sk_buff *skb);
498 __u32 cookie_v4_init_sequence(struct sock *sk, const struct sk_buff *skb,
508 struct sock *cookie_v6_check(struct sock *sk, struct sk_buff *skb);
512 __u32 cookie_v6_init_sequence(struct sock *sk, const struct sk_buff *skb,
520 int __tcp_retransmit_skb(struct sock *, struct sk_buff *);
521 int tcp_retransmit_skb(struct sock *, struct sk_buff *);
525 int tcp_trim_head(struct sock *, struct sk_buff *, u32);
526 int tcp_fragment(struct sock *, struct sk_buff *, u32, unsigned int, gfp_t);
582 typedef int (*sk_read_actor_t)(read_descriptor_t *, struct sk_buff *,
678 static inline u32 tcp_skb_timestamp(const struct sk_buff *skb) in tcp_skb_timestamp()
744 static inline int tcp_v6_iif(const struct sk_buff *skb) in tcp_v6_iif()
753 static inline int tcp_skb_pcount(const struct sk_buff *skb) in tcp_skb_pcount()
758 static inline void tcp_skb_pcount_set(struct sk_buff *skb, int segs) in tcp_skb_pcount_set()
763 static inline void tcp_skb_pcount_add(struct sk_buff *skb, int segs) in tcp_skb_pcount_add()
769 static inline int tcp_skb_mss(const struct sk_buff *skb) in tcp_skb_mss()
1075 static inline __sum16 __tcp_checksum_complete(struct sk_buff *skb) in __tcp_checksum_complete()
1080 static inline bool tcp_checksum_complete(struct sk_buff *skb) in tcp_checksum_complete()
1096 bool tcp_prequeue(struct sock *sk, struct sk_buff *skb);
1222 bool tcp_oow_rate_limited(struct net *net, const struct sk_buff *skb,
1303 const struct sock *sk, const struct sk_buff *skb);
1335 int tcp_md5_hash_skb_data(struct tcp_md5sig_pool *, const struct sk_buff *,
1358 bool tcp_try_fastopen(struct sock *sk, struct sk_buff *skb,
1375 struct sk_buff *skb; 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()
1394 const struct sk_buff *skb) in tcp_write_queue_next()
1399 static inline struct sk_buff *tcp_write_queue_prev(const struct sock *sk, in tcp_write_queue_prev()
1400 const struct sk_buff *skb) in tcp_write_queue_prev()
1414 static inline struct sk_buff *tcp_send_head(const struct sock *sk) in tcp_send_head()
1420 const struct sk_buff *skb) 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()
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()
1468 static inline void tcp_insert_write_queue_after(struct sk_buff *skb, in tcp_insert_write_queue_after()
1469 struct sk_buff *buff, in tcp_insert_write_queue_after()
1476 static inline void tcp_insert_write_queue_before(struct sk_buff *new, in tcp_insert_write_queue_before()
1477 struct sk_buff *skb, 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()
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()
1538 struct sk_buff *old, in tcp_highest_sack_combine()
1539 struct sk_buff *new) in tcp_highest_sack_combine()
1587 struct sk_buff *tcp_gso_segment(struct sk_buff *skb,
1589 struct sk_buff **tcp_gro_receive(struct sk_buff **head, struct sk_buff *skb);
1590 int tcp_gro_complete(struct sk_buff *skb);
1592 void __tcp_v4_send_check(struct sk_buff *skb, __be32 saddr, __be32 daddr);
1615 struct sock *sk, struct sk_buff *skb);
1625 const struct sk_buff *skb);
1640 const struct sk_buff *skb);
1643 struct sk_buff *skb);
1645 __u32 (*cookie_init_seq)(struct sock *sk, const struct sk_buff *skb,
1651 __u32 (*init_seq)(const struct sk_buff *skb);
1661 struct sock *sk, struct sk_buff *skb, in cookie_init_sequence()
1668 struct sock *sk, struct sk_buff *skb, in cookie_init_sequence()
1683 static inline struct ip_options_rcu *tcp_v4_save_options(struct sk_buff *skb) in tcp_v4_save_options()
1705 static inline bool skb_is_tcp_pure_ack(const struct sk_buff *skb) in skb_is_tcp_pure_ack()
1710 static inline void skb_set_tcp_pure_ack(struct sk_buff *skb) in skb_set_tcp_pure_ack()