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

Defined macros

SI defined in line 27; used 6 times
si_ack defined in line 40; used 23 times
si_alo defined in line 41; used 15 times
si_did defined in line 38; used 3 times
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
si_sid defined in line 37; used 2 times
si_sport defined in line 34; used 2 times
si_sum defined in line 28; used 3 times
si_tc defined in line 30; never used

Usage of this include

Last modified: 1988-04-28
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 715
Valid CSS Valid XHTML 1.0 Strict