/* * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * The contents of this file constitute Original Code as defined in and * are subject to the Apple Public Source License Version 1.1 (the * "License"). You may not use this file except in compliance with the * License. Please obtain a copy of the License at * http://www.apple.com/publicsource and read it before using this file. * * This Original Code and all software distributed under the License are * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the * License for the specific language governing rights and limitations * under the License. * * @APPLE_LICENSE_HEADER_END@ */ /* * Copyright (c) 1988, 1989 Apple Computer, Inc. */ #ifndef _NETAT_RTMP_H_ #define _NETAT_RTMP_H_ /* Changed 03-22-94 for router support LD */ /* RTMP function codes */ #define RTMP_REQ_FUNC1 0x01 /* RTMP request function code=1 */ #define RTMP_REQ_FUNC2 0x02 /* Route Data Req with Split Horizon */ #define RTMP_REQ_FUNC3 0x03 /* Route Data Req no Split Horizon */ #define RTMP_ROUTER_AGE 50 /* Number of seconds to age router */ /* RTMP response and data packet format */ typedef struct { at_net at_rtmp_this_net; u_char at_rtmp_id_length; u_char at_rtmp_id[1]; } at_rtmp; /* RTMP network/distance data tuples */ #define RTMP_TUPLE_SIZE 3 /* Extended AppleTalk tuple can be thought of as two of * these tuples back to back. */ #define RTMP_RANGE_FLAG 0x80 #define RTMP_DISTANCE 0x0f typedef struct { at_net at_rtmp_net; unsigned char at_rtmp_data; } at_rtmp_tuple; #endif /* _NETAT_RTMP_H_ */