/* * Copyright (c) 1984, 1985, 1986 Regents of the University of California. * All rights reserved. The Berkeley software License Agreement * specifies the terms and conditions for redistribution. * * @(#)spidp.h 7.1 (Berkeley) 6/5/86 */ /* * Definitions for NS(tm) Internet Datagram Protocol * containing a Sequenced Packet Protocol packet. */ struct spidp { struct idp si_i; struct sphdr si_s; }; struct spidp_q { struct spidp_q *si_next; struct spidp_q *si_prev; }; #define SI(x) ((struct spidp *)x) #define si_sum si_i.idp_sum #define si_len si_i.idp_len #define si_tc si_i.idp_tc #define si_pt si_i.idp_pt #define si_dna si_i.idp_dna #define si_sna si_i.idp_sna #define si_sport si_i.idp_sna.x_port #define si_cc si_s.sp_cc #define si_dt si_s.sp_dt #define si_sid si_s.sp_sid #define si_did si_s.sp_did #define si_seq si_s.sp_seq #define si_ack si_s.sp_ack #define si_alo si_s.sp_alo