diff options
author | Remi Denis-Courmont <remi.denis-courmont@nokia.com> | 2008-09-23 03:05:57 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-23 03:05:57 (GMT) |
commit | 107d0d9b8d9a236883db72841fb61cedd5be845e (patch) | |
tree | 6555b3bc7a8ce3551c462e1f3f7d6556eeda0897 /include/net | |
parent | ba113a94b7503ee23ffe819e7045134b0c1d31de (diff) | |
download | linux-fsl-qoriq-107d0d9b8d9a236883db72841fb61cedd5be845e.tar.xz |
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')
-rw-r--r-- | include/net/phonet/phonet.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/phonet/phonet.h b/include/net/phonet/phonet.h index 2ae5cbb..d3957d3 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 |