mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
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>
This commit is contained in:
parent
c41bd97f81
commit
02a47617cd
8 changed files with 550 additions and 16 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -297,6 +297,7 @@ struct ucred {
|
|||
#define SOL_RXRPC 272
|
||||
#define SOL_PPPOL2TP 273
|
||||
#define SOL_BLUETOOTH 274
|
||||
#define SOL_PNPIPE 275
|
||||
|
||||
/* IPX options */
|
||||
#define IPX_TYPE 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue