diff options
author | Oliver Hartkopp <oliver.hartkopp@volkswagen.de> | 2007-12-16 18:59:24 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:54:09 -0500 |
commit | cd05acfe65ed2cf2db683fa9a6adb8d35635263b (patch) | |
tree | 73cf8541f3ad48bce5078209fb1cc7383e8c2a3b /include/linux/socket.h | |
parent | 8dbde28d9711475adfe0e9c88505e38743cdc2a7 (diff) |
[CAN]: Allocate protocol numbers for PF_CAN
This patch adds a protocol/address family number, ARP hardware type,
ethernet packet type, and a line discipline number for the SocketCAN
implementation.
Signed-off-by: Oliver Hartkopp <oliver.hartkopp@volkswagen.de>
Signed-off-by: Urs Thuermann <urs.thuermann@volkswagen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/socket.h')
-rw-r--r-- | include/linux/socket.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/socket.h b/include/linux/socket.h index c22ef1c1afb8..eb5bdd59a644 100644 --- a/include/linux/socket.h +++ b/include/linux/socket.h | |||
@@ -185,6 +185,7 @@ struct ucred { | |||
185 | #define AF_PPPOX 24 /* PPPoX sockets */ | 185 | #define AF_PPPOX 24 /* PPPoX sockets */ |
186 | #define AF_WANPIPE 25 /* Wanpipe API Sockets */ | 186 | #define AF_WANPIPE 25 /* Wanpipe API Sockets */ |
187 | #define AF_LLC 26 /* Linux LLC */ | 187 | #define AF_LLC 26 /* Linux LLC */ |
188 | #define AF_CAN 29 /* Controller Area Network */ | ||
188 | #define AF_TIPC 30 /* TIPC sockets */ | 189 | #define AF_TIPC 30 /* TIPC sockets */ |
189 | #define AF_BLUETOOTH 31 /* Bluetooth sockets */ | 190 | #define AF_BLUETOOTH 31 /* Bluetooth sockets */ |
190 | #define AF_IUCV 32 /* IUCV sockets */ | 191 | #define AF_IUCV 32 /* IUCV sockets */ |
@@ -220,6 +221,7 @@ struct ucred { | |||
220 | #define PF_PPPOX AF_PPPOX | 221 | #define PF_PPPOX AF_PPPOX |
221 | #define PF_WANPIPE AF_WANPIPE | 222 | #define PF_WANPIPE AF_WANPIPE |
222 | #define PF_LLC AF_LLC | 223 | #define PF_LLC AF_LLC |
224 | #define PF_CAN AF_CAN | ||
223 | #define PF_TIPC AF_TIPC | 225 | #define PF_TIPC AF_TIPC |
224 | #define PF_BLUETOOTH AF_BLUETOOTH | 226 | #define PF_BLUETOOTH AF_BLUETOOTH |
225 | #define PF_IUCV AF_IUCV | 227 | #define PF_IUCV AF_IUCV |