aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/net/phonet/phonet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/phonet/phonet.h b/include/net/phonet/phonet.h
index d3957d3be0fd..1c6f7e7d5fea 100644
--- a/include/net/phonet/phonet.h
+++ b/include/net/phonet/phonet.h
@@ -47,6 +47,7 @@ static inline struct pn_sock *pn_sk(struct sock *sk)
47extern const struct proto_ops phonet_dgram_ops; 47extern const struct proto_ops phonet_dgram_ops;
48 48
49struct sock *pn_find_sock_by_sa(const struct sockaddr_pn *sa); 49struct sock *pn_find_sock_by_sa(const struct sockaddr_pn *sa);
50void phonet_get_local_port_range(int *min, int *max);
50void pn_sock_hash(struct sock *sk); 51void pn_sock_hash(struct sock *sk);
51void pn_sock_unhash(struct sock *sk); 52void pn_sock_unhash(struct sock *sk);
52int pn_sock_get_port(struct sock *sk, unsigned short sport); 53int pn_sock_get_port(struct sock *sk, unsigned short sport);
@@ -97,6 +98,8 @@ struct phonet_protocol {
97int phonet_proto_register(int protocol, struct phonet_protocol *pp); 98int phonet_proto_register(int protocol, struct phonet_protocol *pp);
98void phonet_proto_unregister(int protocol, struct phonet_protocol *pp); 99void phonet_proto_unregister(int protocol, struct phonet_protocol *pp);
99 100
101int phonet_sysctl_init(void);
102void phonet_sysctl_exit(void);
100void phonet_netlink_register(void); 103void phonet_netlink_register(void);
101int isi_register(void); 104int isi_register(void);
102void isi_unregister(void); 105void isi_unregister(void);