Annotation of kernel/bsd/netat/h/rtmp.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: /* @(#)rtmp.h: 2.0, 1.4; 7/17/89; Copyright 1988-89, Apple Computer, Inc. */
                     38: 
                     39: /* Changed 03-22-94 for router support  LD */
                     40: 
                     41: /* RTMP DDP socket number */
                     42: #define RTMP_SOCKET            0x01    /* RTMP socket number   */
                     43: 
                     44: 
                     45: /* DDP RTMP packet types */
                     46: #define RTMP_DDP_TYPE          0x01    /* RTMP data or response packet */
                     47: #define RTMP_REQ               0x05    /* RTMP request packet  */
                     48: 
                     49: /* RTMP function codes */
                     50: #define RTMP_REQ_FUNC1         0x01    /* RTMP request function code=1 */
                     51: #define RTMP_REQ_FUNC2         0x02    /* Route Data Req with Split Horizon */
                     52: #define RTMP_REQ_FUNC3         0x03    /* Route Data Req no Split Horizon */
                     53: 
                     54: 
                     55: #define RTMP_ROUTER_AGE                50      /* Number of seconds to age router */
                     56: 
                     57: /* RTMP response and data packet format */
                     58: 
                     59: typedef struct {
                     60:         at_net         at_rtmp_this_net;
                     61:         u_char         at_rtmp_id_length;
                     62:         u_char         at_rtmp_id[1];
                     63: } at_rtmp;
                     64: 
                     65: /* RTMP network/distance data tuples */
                     66: 
                     67: #define RTMP_TUPLE_SIZE                3
                     68: 
                     69: /* Extended AppleTalk tuple can be thought of as two of
                     70:  * these tuples back to back.
                     71:  */
                     72: 
                     73: #define RTMP_RANGE_FLAG 0x80
                     74: #define RTMP_DISTANCE   0x0f
                     75: 
                     76: typedef struct {
                     77:        at_net          at_rtmp_net;
                     78:        unsigned char   at_rtmp_data;
                     79: } at_rtmp_tuple;
                     80: 

unix.superglobalmegacorp.com

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