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: * @(#)spidp.h 7.2 (Berkeley) 1/20/88
13: */
14:
15: /*
16: * Definitions for NS(tm) Internet Datagram Protocol
17: * containing a Sequenced Packet Protocol packet.
18: */
19: struct spidp {
20: struct idp si_i;
21: struct sphdr si_s;
22: };
23: struct spidp_q {
24: struct spidp_q *si_next;
25: struct spidp_q *si_prev;
26: };
27: #define SI(x) ((struct spidp *)x)
28: #define si_sum si_i.idp_sum
29: #define si_len si_i.idp_len
30: #define si_tc si_i.idp_tc
31: #define si_pt si_i.idp_pt
32: #define si_dna si_i.idp_dna
33: #define si_sna si_i.idp_sna
34: #define si_sport si_i.idp_sna.x_port
35: #define si_cc si_s.sp_cc
36: #define si_dt si_s.sp_dt
37: #define si_sid si_s.sp_sid
38: #define si_did si_s.sp_did
39: #define si_seq si_s.sp_seq
40: #define si_ack si_s.sp_ack
41: #define si_alo si_s.sp_alo
Defined struct's
spidp
defined in line
19; used 48 times
- in /usr/src/sys/netns/spp_debug.c line
48(2)
- in /usr/src/sys/netns/spp_usrreq.c line
48(2),
61(4),
81(2),
272(2),
388(2),
600(2),
624(2),
648(4),
726-729(6),
880(2),
911(2),
934-937(4),
1117(2),
1240-1244(4),
1410(2),
1455(2)
- in /usr/src/usr.sbin/trsp/trsp.c line
245(2)
Defined macros
SI
defined in line
27; used 6 times
si_ack
defined in line
40; used 23 times
- in /usr/src/sys/netns/spp_debug.c line
94
- in /usr/src/sys/netns/spp_usrreq.c line
84(2),
166,
213,
248(2),
290,
299,
306,
328-330(2),
338,
369,
388,
395-403(4),
410-411(2),
1000
- in /usr/src/usr.sbin/trsp/trsp.c line
260
si_alo
defined in line
41; used 15 times
si_cc
defined in line
35; used 16 times
- in /usr/src/sys/netns/spp_debug.c line
107
- in /usr/src/sys/netns/spp_usrreq.c line
286-291(2),
403,
421-426(2),
447,
478,
494,
744,
760,
942,
952,
996-997(2)
- in /usr/src/usr.sbin/trsp/trsp.c line
281
si_dt
defined in line
36; used 1 times
si_pt
defined in line
31;
never used
si_seq
defined in line
39; used 33 times
- in /usr/src/sys/netns/spp_debug.c line
93
- in /usr/src/sys/netns/spp_usrreq.c line
83(2),
142,
247(2),
388,
399(2),
409,
420,
427,
453-456(2),
465-469(4),
491,
622-625(2),
881-886(2),
912,
940,
959-963(3),
982-983(2),
998(2)
- in /usr/src/usr.sbin/trsp/trsp.c line
259
si_tc
defined in line
30;
never used
Usage of this include