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
spidp_q defined in line 17; used 8 times

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_did defined in line 32; used 3 times
si_dna defined in line 26; used 4 times
si_dt defined in line 30; used 1 times
si_len defined in line 23; used 4 times
si_pt defined in line 25; used 1 times
si_seq defined in line 33; used 26 times
si_sid defined in line 31; used 3 times
si_sna defined in line 27; used 3 times
si_sport defined in line 28; used 2 times
si_sum defined in line 22; used 3 times
si_tc defined in line 24; never used

Usage of this include

Last modified: 1986-06-05
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 903
Valid CSS Valid XHTML 1.0 Strict