1: /*
2: * Copyright (c) 1984, 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: * @(#)idp.h 7.1 (Berkeley) 6/5/86
7: */
8:
9: /*
10: * Definitions for NS(tm) Internet Datagram Protocol
11: */
12: struct idp {
13: u_short idp_sum; /* Checksum */
14: u_short idp_len; /* Length, in bytes, including header */
15: u_char idp_tc; /* Transport Crontrol (i.e. hop count) */
16: u_char idp_pt; /* Packet Type (i.e. level 2 protocol) */
17: struct ns_addr idp_dna; /* Destination Network Address */
18: struct ns_addr idp_sna; /* Source Network Address */
19: };
Defined struct's
idp
defined in line
12; used 80 times
- in /usr/src/sys/netns/idp_usrreq.c line
43(4),
65-66(4),
116(2),
158(2),
165-175(8),
281-284(8),
332-333(4)
- in /usr/src/sys/netns/ns_error.c line
47-48(6),
77(2),
250-254(4)
- in /usr/src/sys/netns/ns_input.c line
70(2),
90-91(4),
104(2),
284(2),
367(2),
447-452(4)
- in /usr/src/sys/netns/ns_ip.c line
124(2),
138(2),
162(2),
223(4)
- in /usr/src/sys/netns/ns_output.c line
36(4)
- in /usr/src/sys/netns/spp_debug.c line
119(2)
- in /usr/src/sys/netns/spp_usrreq.c line
205-206(4)
Usage of this include