diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/net.h | 1 | ||||
| -rw-r--r-- | include/net/sock.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/net.h b/include/linux/net.h index 91216b16feb7..2a0391eea05c 100644 --- a/include/linux/net.h +++ b/include/linux/net.h | |||
| @@ -222,6 +222,7 @@ enum { | |||
| 222 | int sock_wake_async(struct socket_wq *sk_wq, int how, int band); | 222 | int sock_wake_async(struct socket_wq *sk_wq, int how, int band); |
| 223 | int sock_register(const struct net_proto_family *fam); | 223 | int sock_register(const struct net_proto_family *fam); |
| 224 | void sock_unregister(int family); | 224 | void sock_unregister(int family); |
| 225 | bool sock_is_registered(int family); | ||
| 225 | int __sock_create(struct net *net, int family, int type, int proto, | 226 | int __sock_create(struct net *net, int family, int type, int proto, |
| 226 | struct socket **res, int kern); | 227 | struct socket **res, int kern); |
| 227 | int sock_create(int family, int type, int proto, struct socket **res); | 228 | int sock_create(int family, int type, int proto, struct socket **res); |
diff --git a/include/net/sock.h b/include/net/sock.h index 169c92afcafa..ae23f3b389ca 100644 --- a/include/net/sock.h +++ b/include/net/sock.h | |||
| @@ -1137,6 +1137,7 @@ struct proto { | |||
| 1137 | 1137 | ||
| 1138 | int proto_register(struct proto *prot, int alloc_slab); | 1138 | int proto_register(struct proto *prot, int alloc_slab); |
| 1139 | void proto_unregister(struct proto *prot); | 1139 | void proto_unregister(struct proto *prot); |
| 1140 | int sock_load_diag_module(int family, int protocol); | ||
| 1140 | 1141 | ||
| 1141 | #ifdef SOCK_REFCNT_DEBUG | 1142 | #ifdef SOCK_REFCNT_DEBUG |
| 1142 | static inline void sk_refcnt_debug_inc(struct sock *sk) | 1143 | static inline void sk_refcnt_debug_inc(struct sock *sk) |
