Phonet: Phonet datagram transport protocol
This provides the basic SOCK_DGRAM transport protocol for Phonet. Signed-off-by: Remi Denis-Courmont <remi.denis-courmont@nokia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
ba113a94b7
commit
107d0d9b8d
@@ -51,6 +51,9 @@ void pn_sock_hash(struct sock *sk);
|
||||
void pn_sock_unhash(struct sock *sk);
|
||||
int pn_sock_get_port(struct sock *sk, unsigned short sport);
|
||||
|
||||
int pn_skb_send(struct sock *sk, struct sk_buff *skb,
|
||||
const struct sockaddr_pn *target);
|
||||
|
||||
static inline struct phonethdr *pn_hdr(struct sk_buff *skb)
|
||||
{
|
||||
return (struct phonethdr *)skb_network_header(skb);
|
||||
@@ -95,4 +98,7 @@ int phonet_proto_register(int protocol, struct phonet_protocol *pp);
|
||||
void phonet_proto_unregister(int protocol, struct phonet_protocol *pp);
|
||||
|
||||
void phonet_netlink_register(void);
|
||||
int isi_register(void);
|
||||
void isi_unregister(void);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user