1: /*
2: * Copyright (c) 1984, 1985, 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: * @(#)spidp.h 7.1 (Berkeley) 6/5/86
7: */
8:
9: /*
10: * Definitions for NS(tm) Internet Datagram Protocol
11: * containing a Sequenced Packet Protocol packet.
12: */
13: struct spidp {
14: struct idp si_i;
15: struct sphdr si_s;
16: };
17: struct spidp_q {
18: struct spidp_q *si_next;
19: struct spidp_q *si_prev;
20: };
21: #define SI(x) ((struct spidp *)x)
22: #define si_sum si_i.idp_sum
23: #define si_len si_i.idp_len
24: #define si_tc si_i.idp_tc
25: #define si_pt si_i.idp_pt
26: #define si_dna si_i.idp_dna
27: #define si_sna si_i.idp_sna
28: #define si_sport si_i.idp_sna.x_port
29: #define si_cc si_s.sp_cc
30: #define si_dt si_s.sp_dt
31: #define si_sid si_s.sp_sid
32: #define si_did si_s.sp_did
33: #define si_seq si_s.sp_seq
34: #define si_ack si_s.sp_ack
35: #define si_alo si_s.sp_alo
Defined struct's
spidp
defined in line
13; used 42 times
- in /usr/src/sys/netns/spp_debug.c line
40(2)
- in /usr/src/sys/netns/spp_usrreq.c line
41(2),
54(4),
73(2),
239(2),
442(2),
466(2),
492(4),
570-573(6),
665(2),
693(2),
705-708(4),
842(2),
1109(2),
1142-1144(4)
Defined macros
SI
defined in line
21; used 6 times
si_ack
defined in line
34; used 12 times
si_alo
defined in line
35; used 11 times
si_cc
defined in line
29; used 13 times
si_dt
defined in line
30; used 1 times
si_pt
defined in line
25; used 1 times
si_seq
defined in line
33; used 26 times
- in /usr/src/sys/netns/spp_debug.c line
85
- in /usr/src/sys/netns/spp_usrreq.c line
75(2),
127,
217(2),
301-303(2),
311-313(2),
329-330(4),
349,
464-467(2),
667,
675-679(2),
710,
736-739(3),
755(2)
si_tc
defined in line
24;
never used
Usage of this include