if_fatmvar.h (118596) | if_fatmvar.h (118607) |
---|---|
1/* 2 * Copyright (c) 2001-2003 3 * Fraunhofer Institute for Open Communication Systems (FhG Fokus). 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 12 unchanged lines hidden (view full) --- 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 * 27 * Author: Hartmut Brandt <harti@freebsd.org> 28 * | 1/* 2 * Copyright (c) 2001-2003 3 * Fraunhofer Institute for Open Communication Systems (FhG Fokus). 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 12 unchanged lines hidden (view full) --- 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 * 27 * Author: Hartmut Brandt <harti@freebsd.org> 28 * |
29 * $FreeBSD: head/sys/dev/fatm/if_fatmvar.h 118596 2003-08-07 10:40:24Z harti $ | 29 * $FreeBSD: head/sys/dev/fatm/if_fatmvar.h 118607 2003-08-07 15:04:27Z jhb $ |
30 * 31 * Fore PCA200E driver definitions. 32 */ 33/* 34 * Debug statistics of the PCA200 driver 35 */ 36struct istats { 37 uint32_t cmd_queue_full; --- 125 unchanged lines hidden (view full) --- 163 * The driver maintains a list of all open VCCs. Because we 164 * use only VPI=0 and a maximum VCI of 1024, the list is rather an array 165 * than a list. We also store the atm pseudoheader flags here and the 166 * rxhand (aka. protocol block). 167 */ 168struct card_vcc { 169 struct atmio_vcc param; /* traffic parameters */ 170 void *rxhand; | 30 * 31 * Fore PCA200E driver definitions. 32 */ 33/* 34 * Debug statistics of the PCA200 driver 35 */ 36struct istats { 37 uint32_t cmd_queue_full; --- 125 unchanged lines hidden (view full) --- 163 * The driver maintains a list of all open VCCs. Because we 164 * use only VPI=0 and a maximum VCI of 1024, the list is rather an array 165 * than a list. We also store the atm pseudoheader flags here and the 166 * rxhand (aka. protocol block). 167 */ 168struct card_vcc { 169 struct atmio_vcc param; /* traffic parameters */ 170 void *rxhand; |
171 uint vflags; | 171 u_int vflags; |
172 uint32_t ipackets; 173 uint32_t opackets; 174 uint32_t ibytes; 175 uint32_t obytes; 176}; 177 178#define FATM_VCC_OPEN 0x00010000 /* is open */ 179#define FATM_VCC_TRY_OPEN 0x00020000 /* is currently opening */ --- 215 unchanged lines hidden --- | 172 uint32_t ipackets; 173 uint32_t opackets; 174 uint32_t ibytes; 175 uint32_t obytes; 176}; 177 178#define FATM_VCC_OPEN 0x00010000 /* is open */ 179#define FATM_VCC_TRY_OPEN 0x00020000 /* is currently opening */ --- 215 unchanged lines hidden --- |