diff options
author | harti <harti@FreeBSD.org> | 2004-01-26 11:52:32 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2004-01-26 11:52:32 +0000 |
commit | 170e73ecd38bec04e3d3094f6df0f44772963819 (patch) | |
tree | 706364e153cb43c97bd585929f3a45314f05b85c /sys/net | |
parent | 6b1a5f4424963fe0b389249e8cb19ff29f368a48 (diff) | |
download | FreeBSD-src-170e73ecd38bec04e3d3094f6df0f44772963819.zip FreeBSD-src-170e73ecd38bec04e3d3094f6df0f44772963819.tar.gz |
Add an ATM sub-type for virtual interfaces.
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_media.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/net/if_media.h b/sys/net/if_media.h index 1fbe21b..59ae4fe 100644 --- a/sys/net/if_media.h +++ b/sys/net/if_media.h @@ -216,6 +216,7 @@ int ifmedia_ioctl(struct ifnet *ifp, struct ifreq *ifr, #define IFM_ATM_UTP_155 9 #define IFM_ATM_MM_622 10 #define IFM_ATM_SM_622 11 +#define IFM_ATM_VIRTUAL 12 #define IFM_ATM_SDH 0x00000100 /* SDH instead of SONET */ #define IFM_ATM_NOSCRAMB 0x00000200 /* no scrambling */ #define IFM_ATM_UNASSIGNED 0x00000400 /* unassigned cells */ @@ -475,6 +476,7 @@ struct ifmedia_description { { IFM_ATM_UTP_155, "UTP/155MBit" }, \ { IFM_ATM_MM_622, "Multi-mode/622MBit" }, \ { IFM_ATM_SM_622, "Single-mode/622MBit" }, \ + { IFM_ATM_VIRTUAL, "Virtual" }, \ { 0, NULL }, \ } @@ -488,6 +490,7 @@ struct ifmedia_description { { IFM_ATM_UTP_155, "UTP-155" }, \ { IFM_ATM_MM_622, "MM-622" }, \ { IFM_ATM_SM_622, "SM-622" }, \ + { IFM_ATM_VIRTUAL, "VIRTUAL" }, \ { 0, NULL }, \ } |