mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
Phonet: put sockets in a hash table
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4a9b5e5053
commit
6b0d07ba15
3 changed files with 56 additions and 25 deletions
|
@ -46,6 +46,7 @@ static inline struct pn_sock *pn_sk(struct sock *sk)
|
|||
|
||||
extern const struct proto_ops phonet_dgram_ops;
|
||||
|
||||
void pn_sock_init(void);
|
||||
struct sock *pn_find_sock_by_sa(struct net *net, const struct sockaddr_pn *sa);
|
||||
void pn_deliver_sock_broadcast(struct net *net, struct sk_buff *skb);
|
||||
void phonet_get_local_port_range(int *min, int *max);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue