diff options
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 @@ | |||
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 | ||