diff options
Diffstat (limited to 'include/net/protocol.h')
-rw-r--r-- | include/net/protocol.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/include/net/protocol.h b/include/net/protocol.h index 047c0476c0a0..fbf7676c9a02 100644 --- a/include/net/protocol.h +++ b/include/net/protocol.h | |||
@@ -96,20 +96,20 @@ extern const struct net_offload __rcu *inet6_offloads[MAX_INET_PROTOS]; | |||
96 | extern const struct inet6_protocol __rcu *inet6_protos[MAX_INET_PROTOS]; | 96 | extern const struct inet6_protocol __rcu *inet6_protos[MAX_INET_PROTOS]; |
97 | #endif | 97 | #endif |
98 | 98 | ||
99 | extern int inet_add_protocol(const struct net_protocol *prot, unsigned char num); | 99 | int inet_add_protocol(const struct net_protocol *prot, unsigned char num); |
100 | extern int inet_del_protocol(const struct net_protocol *prot, unsigned char num); | 100 | int inet_del_protocol(const struct net_protocol *prot, unsigned char num); |
101 | extern int inet_add_offload(const struct net_offload *prot, unsigned char num); | 101 | int inet_add_offload(const struct net_offload *prot, unsigned char num); |
102 | extern int inet_del_offload(const struct net_offload *prot, unsigned char num); | 102 | int inet_del_offload(const struct net_offload *prot, unsigned char num); |
103 | extern void inet_register_protosw(struct inet_protosw *p); | 103 | void inet_register_protosw(struct inet_protosw *p); |
104 | extern void inet_unregister_protosw(struct inet_protosw *p); | 104 | void inet_unregister_protosw(struct inet_protosw *p); |
105 | 105 | ||
106 | #if IS_ENABLED(CONFIG_IPV6) | 106 | #if IS_ENABLED(CONFIG_IPV6) |
107 | extern int inet6_add_protocol(const struct inet6_protocol *prot, unsigned char num); | 107 | int inet6_add_protocol(const struct inet6_protocol *prot, unsigned char num); |
108 | extern int inet6_del_protocol(const struct inet6_protocol *prot, unsigned char num); | 108 | int inet6_del_protocol(const struct inet6_protocol *prot, unsigned char num); |
109 | extern int inet6_register_protosw(struct inet_protosw *p); | 109 | int inet6_register_protosw(struct inet_protosw *p); |
110 | extern void inet6_unregister_protosw(struct inet_protosw *p); | 110 | void inet6_unregister_protosw(struct inet_protosw *p); |
111 | #endif | 111 | #endif |
112 | extern int inet6_add_offload(const struct net_offload *prot, unsigned char num); | 112 | int inet6_add_offload(const struct net_offload *prot, unsigned char num); |
113 | extern int inet6_del_offload(const struct net_offload *prot, unsigned char num); | 113 | int inet6_del_offload(const struct net_offload *prot, unsigned char num); |
114 | 114 | ||
115 | #endif /* _PROTOCOL_H */ | 115 | #endif /* _PROTOCOL_H */ |