1: /*
2: * Copyright (c) 1986 Regents of the University of California.
3: * All rights reserved. The Berkeley software License Agreement
4: * specifies the terms and conditions for redistribution.
5: *
6: * @(#)if_un.h 1.1 (2.10BSD Berkeley) 12/1/86
7: */
8:
9: /*
10: * Structure of a Ungermann-Bass datagram header.
11: */
12:
13: struct {
14: u_short un_length;
15: u_char un_type;
16: u_char un_control;
17: u_short un_dnet;
18: u_short un_dniu;
19: u_char un_dport;
20: u_char un_dtype;
21: u_short un_snet;
22: u_short un_sniu;
23: u_char un_sport;
24: u_char un_stype;
25: u_char un_option;
26: u_char un_bcc;
27: u_short un_ptype; /* protocol type */
28: };
29:
30: /*
31: * Protocol types
32: */
33:
34: #define UNTYPE_INQUIRE 1 /* inquire - "Who am I?" */
35: #define UNTYPE_IP 2 /* Internet Protocol */
Defined struct's
defined in line
13;
never used
Defined macros