diff options
author | Scott Wood <scottwood@freescale.com> | 2014-04-07 23:49:35 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-04-07 23:49:35 (GMT) |
commit | 62b8c978ee6b8d135d9e7953221de58000dba986 (patch) | |
tree | 683b04b2e627f6710c22c151b23c8cc9a165315e /include/net/protocol.h | |
parent | 78fd82238d0e5716578c326404184a27ba67fd6e (diff) | |
download | linux-fsl-qoriq-62b8c978ee6b8d135d9e7953221de58000dba986.tar.xz |
Rewind v3.13-rc3+ (78fd82238d0e5716) to v3.12
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 fbf7676..047c047 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]; extern const struct inet6_protocol __rcu *inet6_protos[MAX_INET_PROTOS]; #endif -int inet_add_protocol(const struct net_protocol *prot, unsigned char num); -int inet_del_protocol(const struct net_protocol *prot, unsigned char num); -int inet_add_offload(const struct net_offload *prot, unsigned char num); -int inet_del_offload(const struct net_offload *prot, unsigned char num); -void inet_register_protosw(struct inet_protosw *p); -void inet_unregister_protosw(struct inet_protosw *p); +extern int inet_add_protocol(const struct net_protocol *prot, unsigned char num); +extern int inet_del_protocol(const struct net_protocol *prot, unsigned char num); +extern int inet_add_offload(const struct net_offload *prot, unsigned char num); +extern int inet_del_offload(const struct net_offload *prot, unsigned char num); +extern void inet_register_protosw(struct inet_protosw *p); +extern void inet_unregister_protosw(struct inet_protosw *p); #if IS_ENABLED(CONFIG_IPV6) -int inet6_add_protocol(const struct inet6_protocol *prot, unsigned char num); -int inet6_del_protocol(const struct inet6_protocol *prot, unsigned char num); -int inet6_register_protosw(struct inet_protosw *p); -void inet6_unregister_protosw(struct inet_protosw *p); +extern int inet6_add_protocol(const struct inet6_protocol *prot, unsigned char num); +extern int inet6_del_protocol(const struct inet6_protocol *prot, unsigned char num); +extern int inet6_register_protosw(struct inet_protosw *p); +extern void inet6_unregister_protosw(struct inet_protosw *p); #endif -int inet6_add_offload(const struct net_offload *prot, unsigned char num); -int inet6_del_offload(const struct net_offload *prot, unsigned char num); +extern int inet6_add_offload(const struct net_offload *prot, unsigned char num); +extern int inet6_del_offload(const struct net_offload *prot, unsigned char num); #endif /* _PROTOCOL_H */ |