aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/phonet.h3
-rw-r--r--include/net/phonet/pep.h4
2 files changed, 3 insertions, 4 deletions
diff --git a/include/linux/phonet.h b/include/linux/phonet.h
index e27cbf931740..26c8df786918 100644
--- a/include/linux/phonet.h
+++ b/include/linux/phonet.h
@@ -36,10 +36,9 @@
36/* Socket options for SOL_PNPIPE level */ 36/* Socket options for SOL_PNPIPE level */
37#define PNPIPE_ENCAP 1 37#define PNPIPE_ENCAP 1
38#define PNPIPE_IFINDEX 2 38#define PNPIPE_IFINDEX 2
39#define PNPIPE_CREATE 3 39#define PNPIPE_PIPE_HANDLE 3
40#define PNPIPE_ENABLE 4 40#define PNPIPE_ENABLE 4
41/* unused slot */ 41/* unused slot */
42#define PNPIPE_DESTROY 6
43 42
44#define PNADDR_ANY 0 43#define PNADDR_ANY 0
45#define PNADDR_BROADCAST 0xFC 44#define PNADDR_BROADCAST 0xFC
diff --git a/include/net/phonet/pep.h b/include/net/phonet/pep.h
index def6cfa3f451..b60b28c99e87 100644
--- a/include/net/phonet/pep.h
+++ b/include/net/phonet/pep.h
@@ -46,8 +46,8 @@ struct pep_sock {
46 u8 init_enable; /* auto-enable at creation */ 46 u8 init_enable; /* auto-enable at creation */
47 u8 aligned; 47 u8 aligned;
48#ifdef CONFIG_PHONET_PIPECTRLR 48#ifdef CONFIG_PHONET_PIPECTRLR
49 u16 remote_pep; 49 u8 pipe_state;
50 u8 pipe_state; 50 struct sockaddr_pn remote_pep;
51#endif 51#endif
52}; 52};
53 53