diff options
author | harti <harti@FreeBSD.org> | 2004-01-26 12:13:11 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2004-01-26 12:13:11 +0000 |
commit | 2a7fced5d0177332253cee9a1afb122a1f91c7c4 (patch) | |
tree | 4270fc3fcdab9f637648b0a28446781ed5ce3e9f /sys/net | |
parent | d46e2b1219de41b40829d7e36f032b7b272f220e (diff) | |
download | FreeBSD-src-2a7fced5d0177332253cee9a1afb122a1f91c7c4.zip FreeBSD-src-2a7fced5d0177332253cee9a1afb122a1f91c7c4.tar.gz |
Add a device type for virtual interfaces.
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_atm.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/if_atm.h b/sys/net/if_atm.h index 93ef680..48bfa61 100644 --- a/sys/net/if_atm.h +++ b/sys/net/if_atm.h @@ -54,6 +54,7 @@ #define ATM_DEVICE_IDTABR155 11 /* 77252 based card 155MBit */ #define ATM_DEVICE_PROATM25 12 /* 77252 based ProSum card 25MBit */ #define ATM_DEVICE_PROATM155 13 /* 77252 based ProSum card 155MBit */ +#define ATM_DEVICE_VIRTUAL 14 /* virtual ATM device (netgraph) */ /* map to strings and vendors */ #define ATM_DEVICE_NAMES \ @@ -70,7 +71,8 @@ { "IDT77252/25", "IDT" }, \ { "IDT77252/155", "IDT" }, \ { "ProATM/25", "ProSum" }, \ - { "ProATM/155", "ProSum" }, + { "ProATM/155", "ProSum" }, \ + { "Virtual", "NetGraph" }, /* * This is the common link layer MIB for all ATM interfaces. Much of the |