Annotation of kernel/bsd/netat/h/if_cnt.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
        !             3:  *
        !             4:  * @APPLE_LICENSE_HEADER_START@
        !             5:  * 
        !             6:  * Portions Copyright (c) 1999 Apple Computer, Inc.  All Rights
        !             7:  * Reserved.  This file contains Original Code and/or Modifications of
        !             8:  * Original Code as defined in and that are subject to the Apple Public
        !             9:  * Source License Version 1.1 (the "License").  You may not use this file
        !            10:  * except in compliance with the License.  Please obtain a copy of the
        !            11:  * License at http://www.apple.com/publicsource and read it before using
        !            12:  * this file.
        !            13:  * 
        !            14:  * The Original Code and all software distributed under the License are
        !            15:  * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
        !            16:  * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
        !            17:  * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
        !            18:  * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT.  Please see the
        !            19:  * License for the specific language governing rights and limitations
        !            20:  * under the License.
        !            21:  * 
        !            22:  * @APPLE_LICENSE_HEADER_END@
        !            23:  */
        !            24: 
        !            25: /* if_cnt.h
        !            26:  *
        !            27:  * defines for if_stat struct. 
        !            28:  * note: set IF_TYPE_CNT to number of types supported and make sure 
        !            29:  *     that defines for those type  are LESS than this value
        !            30:  */
        !            31: #define IF_TYPENO_ET   0       /* ethernet */
        !            32: #define IF_TYPENO_ATM  1       /* ATM */
        !            33: #define IF_TYPENO_TR   2       /* token ring */
        !            34: #define IF_TYPENO_FD   3       /* FDDI */
        !            35: #define IF_TYPENO_NT   4       /* NULLTalk */
        !            36: #define IF_TYPENO_LT   5       /* Localtalk */ /* *** not used *** */
        !            37: #define IF_TYPENO_CNT  5       /* number of different types we support */
        !            38:        
        !            39: /* these defines must correspond to above defines and are used in
        !            40:  * the global array if_types in at_elap.c 
        !            41:  */
        !            42: #define IF_TYPE_1      "en"    /* ethernet */
        !            43: #define IF_TYPE_2      "at"    /* ATM */
        !            44: #define IF_TYPE_3      "tr"    /* token ring */
        !            45: #define IF_TYPE_4      "fi"    /* FDDI */
        !            46: #define IF_TYPE_5      "nt"    /* NULLTalk */
        !            47: #define IF_TYPE_6      "lt"    /* Localtalk */
        !            48: 
        !            49: /* maximum number of I/F's allowed of each type */
        !            50: /* *** "17" corresponds to Shiner *** */
        !            51: #define IF_TYPE_ET_MAX 17
        !            52: #define IF_TYPE_AT_MAX 17
        !            53: #define IF_TYPE_TR_MAX 17
        !            54: #define IF_TYPE_FD_MAX 17
        !            55: #define IF_TYPE_NT_MAX 17
        !            56: #define IF_TYPE_LT_MAX 0
        !            57: #define IF_ANY_MAX     17      /* max count of ANY one type */
        !            58: #define IF_TOTAL_MAX   17      /* max count of any combination of I/F's */
        !            59: 
        !            60: #define VERSION_LENGTH         80      /* length of version string */
        !            61: 
        !            62: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.