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/if.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/if.h')
-rw-r--r-- | include/linux/if.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/if.h b/include/linux/if.h index 32bf419351f..186070d5c54 100644 --- a/include/linux/if.h +++ b/include/linux/if.h | |||
@@ -50,7 +50,9 @@ | |||
50 | #define IFF_LOWER_UP 0x10000 /* driver signals L1 up */ | 50 | #define IFF_LOWER_UP 0x10000 /* driver signals L1 up */ |
51 | #define IFF_DORMANT 0x20000 /* driver signals dormant */ | 51 | #define IFF_DORMANT 0x20000 /* driver signals dormant */ |
52 | 52 | ||
53 | #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|\ | 53 | #define IFF_ECHO 0x40000 /* echo sent packets */ |
54 | |||
55 | #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|IFF_ECHO|\ | ||
54 | IFF_MASTER|IFF_SLAVE|IFF_RUNNING|IFF_LOWER_UP|IFF_DORMANT) | 56 | IFF_MASTER|IFF_SLAVE|IFF_RUNNING|IFF_LOWER_UP|IFF_DORMANT) |
55 | 57 | ||
56 | /* Private (from user) interface flags (netdevice->priv_flags). */ | 58 | /* Private (from user) interface flags (netdevice->priv_flags). */ |