diff options
author | Oliver Hartkopp <oliver.hartkopp@volkswagen.de> | 2007-12-17 02:59:24 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-29 01:54:09 +0300 |
commit | cd05acfe65ed2cf2db683fa9a6adb8d35635263b (patch) | |
tree | 73cf8541f3ad48bce5078209fb1cc7383e8c2a3b /include/linux/if.h | |
parent | 8dbde28d9711475adfe0e9c88505e38743cdc2a7 (diff) | |
download | linux-cd05acfe65ed2cf2db683fa9a6adb8d35635263b.tar.xz |
[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 32bf419351f1..186070d5c544 100644 --- a/include/linux/if.h +++ b/include/linux/if.h @@ -50,7 +50,9 @@ #define IFF_LOWER_UP 0x10000 /* driver signals L1 up */ #define IFF_DORMANT 0x20000 /* driver signals dormant */ -#define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|\ +#define IFF_ECHO 0x40000 /* echo sent packets */ + +#define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|IFF_ECHO|\ IFF_MASTER|IFF_SLAVE|IFF_RUNNING|IFF_LOWER_UP|IFF_DORMANT) /* Private (from user) interface flags (netdevice->priv_flags). */ |