diff options
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index e5cf514ba118..81e8ade1e6e4 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -2108,6 +2108,8 @@ struct tcp_ulp_ops { | |||
2108 | 2108 | ||
2109 | /* initialize ulp */ | 2109 | /* initialize ulp */ |
2110 | int (*init)(struct sock *sk); | 2110 | int (*init)(struct sock *sk); |
2111 | /* update ulp */ | ||
2112 | void (*update)(struct sock *sk, struct proto *p); | ||
2111 | /* cleanup ulp */ | 2113 | /* cleanup ulp */ |
2112 | void (*release)(struct sock *sk); | 2114 | void (*release)(struct sock *sk); |
2113 | 2115 | ||
@@ -2119,6 +2121,7 @@ void tcp_unregister_ulp(struct tcp_ulp_ops *type); | |||
2119 | int tcp_set_ulp(struct sock *sk, const char *name); | 2121 | int tcp_set_ulp(struct sock *sk, const char *name); |
2120 | void tcp_get_available_ulp(char *buf, size_t len); | 2122 | void tcp_get_available_ulp(char *buf, size_t len); |
2121 | void tcp_cleanup_ulp(struct sock *sk); | 2123 | void tcp_cleanup_ulp(struct sock *sk); |
2124 | void tcp_update_ulp(struct sock *sk, struct proto *p); | ||
2122 | 2125 | ||
2123 | #define MODULE_ALIAS_TCP_ULP(name) \ | 2126 | #define MODULE_ALIAS_TCP_ULP(name) \ |
2124 | __MODULE_INFO(alias, alias_userspace, name); \ | 2127 | __MODULE_INFO(alias, alias_userspace, name); \ |