aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/phonet.h
diff options
context:
space:
mode:
authorRémi Denis-Courmont <remi.denis-courmont@nokia.com>2008-10-05 14:16:16 -0400
committerDavid S. Miller <davem@davemloft.net>2008-10-05 14:16:16 -0400
commit02a47617cdce440f60c71a51f3a93f9f5fcc5a7a (patch)
tree2f65d9978345b8eafdaf926a3342424a21c6e57a /include/linux/phonet.h
parentc41bd97f815720f9404f97da0c4f4400b52c243d (diff)
Phonet: implement GPRS virtual interface over PEP socket
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/phonet.h')
-rw-r--r--include/linux/phonet.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/phonet.h b/include/linux/phonet.h
index f92185242078..c9609f9aedac 100644
--- a/include/linux/phonet.h
+++ b/include/linux/phonet.h
@@ -31,9 +31,17 @@
31#define PN_PROTO_PIPE 2 31#define PN_PROTO_PIPE 2
32#define PHONET_NPROTO 3 32#define PHONET_NPROTO 3
33 33
34/* Socket options for SOL_PNPIPE level */
35#define PNPIPE_ENCAP 1
36#define PNPIPE_IFINDEX 2
37
34#define PNADDR_ANY 0 38#define PNADDR_ANY 0
35#define PNPORT_RESOURCE_ROUTING 0 39#define PNPORT_RESOURCE_ROUTING 0
36 40
41/* Values for PNPIPE_ENCAP option */
42#define PNPIPE_ENCAP_NONE 0
43#define PNPIPE_ENCAP_IP 1
44
37/* ioctls */ 45/* ioctls */
38#define SIOCPNGETOBJECT (SIOCPROTOPRIVATE + 0) 46#define SIOCPNGETOBJECT (SIOCPROTOPRIVATE + 0)
39 47