1 /* 2 * Copyright (c) 1984, 1985, 1986, 1987, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * @(#)spidp.h 8.1 (Berkeley) 06/10/93 8 */ 9 10 /* 11 * Definitions for NS(tm) Internet Datagram Protocol 12 * containing a Sequenced Packet Protocol packet. 13 */ 14 struct spidp { 15 struct idp si_i; 16 struct sphdr si_s; 17 }; 18 struct spidp_q { 19 struct spidp_q *si_next; 20 struct spidp_q *si_prev; 21 }; 22 #define SI(x) ((struct spidp *)x) 23 #define si_sum si_i.idp_sum 24 #define si_len si_i.idp_len 25 #define si_tc si_i.idp_tc 26 #define si_pt si_i.idp_pt 27 #define si_dna si_i.idp_dna 28 #define si_sna si_i.idp_sna 29 #define si_sport si_i.idp_sna.x_port 30 #define si_cc si_s.sp_cc 31 #define si_dt si_s.sp_dt 32 #define si_sid si_s.sp_sid 33 #define si_did si_s.sp_did 34 #define si_seq si_s.sp_seq 35 #define si_ack si_s.sp_ack 36 #define si_alo si_s.sp_alo 37