diff options
Diffstat (limited to 'include/net/tcp.h')
| -rw-r--r-- | include/net/tcp.h | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index f42d300f0cfa..81e8ade1e6e4 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h @@ -1709,6 +1709,11 @@ static inline struct sk_buff *tcp_rtx_queue_head(const struct sock *sk)  	return skb_rb_first(&sk->tcp_rtx_queue);  } +static inline struct sk_buff *tcp_rtx_queue_tail(const struct sock *sk) +{ +	return skb_rb_last(&sk->tcp_rtx_queue); +} +  static inline struct sk_buff *tcp_write_queue_head(const struct sock *sk)  {  	return skb_peek(&sk->sk_write_queue); @@ -2103,6 +2108,8 @@ struct tcp_ulp_ops {  	/* initialize ulp */  	int (*init)(struct sock *sk); +	/* update ulp */ +	void (*update)(struct sock *sk, struct proto *p);  	/* cleanup ulp */  	void (*release)(struct sock *sk); @@ -2114,6 +2121,7 @@ void tcp_unregister_ulp(struct tcp_ulp_ops *type);  int tcp_set_ulp(struct sock *sk, const char *name);  void tcp_get_available_ulp(char *buf, size_t len);  void tcp_cleanup_ulp(struct sock *sk); +void tcp_update_ulp(struct sock *sk, struct proto *p);  #define MODULE_ALIAS_TCP_ULP(name)				\  	__MODULE_INFO(alias, alias_userspace, name);		\  | 
