aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/phonet
diff options
context:
space:
mode:
authorRemi Denis-Courmont <remi.denis-courmont@nokia.com>2008-09-22 20:05:57 -0700
committerDavid S. Miller <davem@davemloft.net>2008-09-22 20:05:57 -0700
commit107d0d9b8d9a236883db72841fb61cedd5be845e (patch)
tree6555b3bc7a8ce3551c462e1f3f7d6556eeda0897 /include/net/phonet
parentPhonet: common socket glue (diff)
downloadlinux-dev-107d0d9b8d9a236883db72841fb61cedd5be845e.tar.xz
linux-dev-107d0d9b8d9a236883db72841fb61cedd5be845e.zip
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>
Diffstat (limited to 'include/net/phonet')
-rw-r--r--include/net/phonet/phonet.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/phonet/phonet.h b/include/net/phonet/phonet.h
index 2ae5cbb59b60..d3957d3be0fd 100644
--- a/include/net/phonet/phonet.h
+++ b/include/net/phonet/phonet.h
@@ -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