Annotation of kernel/bsd/netat/h/at_zip.h, revision 1.1.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: 
                     26: /*
                     27:  *     Copyright (c) 1988, 1989 Apple Computer, Inc. 
                     28:  *
                     29:  *     The information contained herein is subject to change without
                     30:  *     notice and  should not be  construed as a commitment by Apple
                     31:  *     Computer, Inc. Apple Computer, Inc. assumes no responsibility
                     32:  *     for any errors that may appear.
                     33:  *
                     34:  *     Confidential and Proprietary to Apple Computer, Inc.
                     35:  */
                     36: 
                     37: /* "@(#)at_zip.h: 2.0, 1.6; 7/5/89; Copyright 1988-89, Apple Computer, Inc." */
                     38: 
                     39: typedef struct {
                     40:        char            command;
                     41:        char            flags;
                     42:        at_net          cable_range_start;
                     43:        at_net          cable_range_end;
                     44:        u_char          data[1];
                     45: } at_x_zip_t;
                     46: 
                     47: #define        ZIP_X_HDR_SIZE  6
                     48: 
                     49: /* flags for ZipNetInfoReply packet */
                     50: #define        ZIP_ZONENAME_INVALID    0x80
                     51: #define        ZIP_USE_BROADCAST       0x40
                     52: #define        ZIP_ONE_ZONE            0x20
                     53: 
                     54: #define        ZIP_NETINFO_RETRIES     3
                     55: #define        ZIP_TIMER_INT           HZ      /* HZ defined in param.h */
                     56: 
                     57: /* ZIP control codes */
                     58: #define        ZIP_ONLINE              1
                     59: #define ZIP_LATE_ROUTER                2
                     60: #define        ZIP_NO_ROUTER           3
                     61: 
                     62: #define ZIP_RE_AARP            -1

unix.superglobalmegacorp.com

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