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 /net/core/sock.c | |
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 'net/core/sock.c')
-rw-r--r-- | net/core/sock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/core/sock.c b/net/core/sock.c index 98b243a5b323..c9305a861760 100644 --- a/net/core/sock.c +++ b/net/core/sock.c | |||
@@ -154,7 +154,7 @@ static const char *af_family_key_strings[AF_MAX+1] = { | |||
154 | "sk_lock-AF_ASH" , "sk_lock-AF_ECONET" , "sk_lock-AF_ATMSVC" , | 154 | "sk_lock-AF_ASH" , "sk_lock-AF_ECONET" , "sk_lock-AF_ATMSVC" , |
155 | "sk_lock-21" , "sk_lock-AF_SNA" , "sk_lock-AF_IRDA" , | 155 | "sk_lock-21" , "sk_lock-AF_SNA" , "sk_lock-AF_IRDA" , |
156 | "sk_lock-AF_PPPOX" , "sk_lock-AF_WANPIPE" , "sk_lock-AF_LLC" , | 156 | "sk_lock-AF_PPPOX" , "sk_lock-AF_WANPIPE" , "sk_lock-AF_LLC" , |
157 | "sk_lock-27" , "sk_lock-28" , "sk_lock-29" , | 157 | "sk_lock-27" , "sk_lock-28" , "sk_lock-AF_CAN" , |
158 | "sk_lock-AF_TIPC" , "sk_lock-AF_BLUETOOTH", "sk_lock-IUCV" , | 158 | "sk_lock-AF_TIPC" , "sk_lock-AF_BLUETOOTH", "sk_lock-IUCV" , |
159 | "sk_lock-AF_RXRPC" , "sk_lock-AF_MAX" | 159 | "sk_lock-AF_RXRPC" , "sk_lock-AF_MAX" |
160 | }; | 160 | }; |
@@ -168,7 +168,7 @@ static const char *af_family_slock_key_strings[AF_MAX+1] = { | |||
168 | "slock-AF_ASH" , "slock-AF_ECONET" , "slock-AF_ATMSVC" , | 168 | "slock-AF_ASH" , "slock-AF_ECONET" , "slock-AF_ATMSVC" , |
169 | "slock-21" , "slock-AF_SNA" , "slock-AF_IRDA" , | 169 | "slock-21" , "slock-AF_SNA" , "slock-AF_IRDA" , |
170 | "slock-AF_PPPOX" , "slock-AF_WANPIPE" , "slock-AF_LLC" , | 170 | "slock-AF_PPPOX" , "slock-AF_WANPIPE" , "slock-AF_LLC" , |
171 | "slock-27" , "slock-28" , "slock-29" , | 171 | "slock-27" , "slock-28" , "slock-AF_CAN" , |
172 | "slock-AF_TIPC" , "slock-AF_BLUETOOTH", "slock-AF_IUCV" , | 172 | "slock-AF_TIPC" , "slock-AF_BLUETOOTH", "slock-AF_IUCV" , |
173 | "slock-AF_RXRPC" , "slock-AF_MAX" | 173 | "slock-AF_RXRPC" , "slock-AF_MAX" |
174 | }; | 174 | }; |