1: /*
2: * Copyright (c) 1984, 1985, 1986, 1987 Regents of the University of California.
3: * All rights reserved.
4: *
5: * Redistribution and use in source and binary forms are permitted
6: * provided that this notice is preserved and that due credit is given
7: * to the University of California at Berkeley. The name of the University
8: * may not be used to endorse or promote products derived from this
9: * software without specific prior written permission. This software
10: * is provided ``as is'' without express or implied warranty.
11: *
12: * @(#)idp.h 7.2 (Berkeley) 1/20/88
13: */
14:
15: /*
16: * Definitions for NS(tm) Internet Datagram Protocol
17: */
18: struct idp {
19: u_short idp_sum; /* Checksum */
20: u_short idp_len; /* Length, in bytes, including header */
21: u_char idp_tc; /* Transport Crontrol (i.e. hop count) */
22: u_char idp_pt; /* Packet Type (i.e. level 2 protocol) */
23: struct ns_addr idp_dna; /* Destination Network Address */
24: struct ns_addr idp_sna; /* Source Network Address */
25: };
Defined struct's
idp
defined in line
18; used 84 times
- in /usr/src/sys/netns/idp_usrreq.c line
49(4),
71-72(4),
122(2),
164(2),
171-181(8),
287-290(8),
338-339(4)
- in /usr/src/sys/netns/ns_error.c line
74-75(6),
104(2),
277-281(4)
- in /usr/src/sys/netns/ns_input.c line
77(2),
97-98(4),
111(2),
291(2),
374(2),
454-459(4)
- in /usr/src/sys/netns/ns_ip.c line
130(2),
144(2),
168(2),
229(4)
- in /usr/src/sys/netns/ns_output.c line
43(4)
- in /usr/src/sys/netns/spp_debug.c line
127(2)
- in /usr/src/sys/netns/spp_usrreq.c line
233-234(4),
1234(2),
1443(2)
Usage of this include