if_media.h (139823) | if_media.h (142215) |
---|---|
1/* $NetBSD: if_media.h,v 1.3 1997/03/26 01:19:27 thorpej Exp $ */ | 1/* $NetBSD: if_media.h,v 1.3 1997/03/26 01:19:27 thorpej Exp $ */ |
2/* $FreeBSD: head/sys/net/if_media.h 139823 2005-01-07 01:45:51Z imp $ */ | 2/* $FreeBSD: head/sys/net/if_media.h 142215 2005-02-22 13:04:05Z glebius $ */ |
3 4/*- 5 * Copyright (c) 1997 6 * Jonathan Stone and Jason R. Thorpe. All rights reserved. 7 * 8 * This software is derived from information provided by Matt Thomas. 9 * 10 * Redistribution and use in source and binary forms, with or without --- 211 unchanged lines hidden (view full) --- 222#define IFM_ATM_MM_622 10 223#define IFM_ATM_SM_622 11 224#define IFM_ATM_VIRTUAL 12 225#define IFM_ATM_SDH 0x00000100 /* SDH instead of SONET */ 226#define IFM_ATM_NOSCRAMB 0x00000200 /* no scrambling */ 227#define IFM_ATM_UNASSIGNED 0x00000400 /* unassigned cells */ 228 229/* | 3 4/*- 5 * Copyright (c) 1997 6 * Jonathan Stone and Jason R. Thorpe. All rights reserved. 7 * 8 * This software is derived from information provided by Matt Thomas. 9 * 10 * Redistribution and use in source and binary forms, with or without --- 211 unchanged lines hidden (view full) --- 222#define IFM_ATM_MM_622 10 223#define IFM_ATM_SM_622 11 224#define IFM_ATM_VIRTUAL 12 225#define IFM_ATM_SDH 0x00000100 /* SDH instead of SONET */ 226#define IFM_ATM_NOSCRAMB 0x00000200 /* no scrambling */ 227#define IFM_ATM_UNASSIGNED 0x00000400 /* unassigned cells */ 228 229/* |
230 * CARP Common Address Redundancy Protocol 231 */ 232#define IFM_CARP 0x000000c0 233 234/* |
|
230 * Shared media sub-types 231 */ 232#define IFM_AUTO 0 /* Autoselect best media */ 233#define IFM_MANUAL 1 /* Jumper/dipswitch selects media */ 234#define IFM_NONE 2 /* Deselect all media */ 235 236/* 237 * Shared options --- 56 unchanged lines hidden (view full) --- 294}; 295 296#define IFM_TYPE_DESCRIPTIONS { \ 297 { IFM_ETHER, "Ethernet" }, \ 298 { IFM_TOKEN, "Token ring" }, \ 299 { IFM_FDDI, "FDDI" }, \ 300 { IFM_IEEE80211, "IEEE 802.11 Wireless Ethernet" }, \ 301 { IFM_ATM, "ATM" }, \ | 235 * Shared media sub-types 236 */ 237#define IFM_AUTO 0 /* Autoselect best media */ 238#define IFM_MANUAL 1 /* Jumper/dipswitch selects media */ 239#define IFM_NONE 2 /* Deselect all media */ 240 241/* 242 * Shared options --- 56 unchanged lines hidden (view full) --- 299}; 300 301#define IFM_TYPE_DESCRIPTIONS { \ 302 { IFM_ETHER, "Ethernet" }, \ 303 { IFM_TOKEN, "Token ring" }, \ 304 { IFM_FDDI, "FDDI" }, \ 305 { IFM_IEEE80211, "IEEE 802.11 Wireless Ethernet" }, \ 306 { IFM_ATM, "ATM" }, \ |
307 { IFM_CARP, "Common Address Redundancy Protocol" }, \ |
|
302 { 0, NULL }, \ 303} 304 305#define IFM_SUBTYPE_ETHERNET_DESCRIPTIONS { \ 306 { IFM_10_T, "10baseT/UTP" }, \ 307 { IFM_10_2, "10base2/BNC" }, \ 308 { IFM_10_5, "10base5/AUI" }, \ 309 { IFM_100_TX, "100baseTX" }, \ --- 231 unchanged lines hidden --- | 308 { 0, NULL }, \ 309} 310 311#define IFM_SUBTYPE_ETHERNET_DESCRIPTIONS { \ 312 { IFM_10_T, "10baseT/UTP" }, \ 313 { IFM_10_2, "10base2/BNC" }, \ 314 { IFM_10_5, "10base5/AUI" }, \ 315 { IFM_100_TX, "100baseTX" }, \ --- 231 unchanged lines hidden --- |