diff options
author | Rémi Denis-Courmont <remi.denis-courmont@nokia.com> | 2008-10-05 22:16:16 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-05 22:16:16 +0400 |
commit | 02a47617cdce440f60c71a51f3a93f9f5fcc5a7a (patch) | |
tree | 2f65d9978345b8eafdaf926a3342424a21c6e57a /include/linux/phonet.h | |
parent | c41bd97f815720f9404f97da0c4f4400b52c243d (diff) | |
download | linux-02a47617cdce440f60c71a51f3a93f9f5fcc5a7a.tar.xz |
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.h | 8 |
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 @@ #define PN_PROTO_PIPE 2 #define PHONET_NPROTO 3 +/* Socket options for SOL_PNPIPE level */ +#define PNPIPE_ENCAP 1 +#define PNPIPE_IFINDEX 2 + #define PNADDR_ANY 0 #define PNPORT_RESOURCE_ROUTING 0 +/* Values for PNPIPE_ENCAP option */ +#define PNPIPE_ENCAP_NONE 0 +#define PNPIPE_ENCAP_IP 1 + /* ioctls */ #define SIOCPNGETOBJECT (SIOCPROTOPRIVATE + 0) |