# 2.11BSD#431 - /usr/src/sys/netns/spidp.h

##### Macros

    SI                X
    si_ack            X
    si_alo            X
    si_cc             X
    si_did            X
    si_dna            X
    si_dt             X
    si_len            X
    si_pt             X
    si_seq            X
    si_sid            X
    si_sna            X
    si_sport          X
    si_sum            X
    si_tc             X

##### struct's

    spidp             X
    spidp_q           X

       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

- in /usr/src/sys/netns/spp_debug.c line 48(2)
- in /usr/src/sys/netns/spp_usrreq.c line 48(2), 61(4), 81(2), 272(2), 388(2), 600(2), 624(2), 648(4), 726-729(6), 880(2), 911(2), 934-937(4), 1117(2), 1240-1244(4), 1410(2), 1455(2)
- in /usr/src/usr.sbin/trsp/trsp.c line 245(2)

spidp_q defined in line 23; used 8 times

- in line 24-25(4)
- in /usr/src/sys/netns/spp_usrreq.c line 274(2), 1470(2)

#### Defined macros

SI defined in line 27; used 6 times

- in /usr/src/sys/netns/spp_usrreq.c line 281, 465-469(2), 491-494(2), 622

si_ack defined in line 40; used 23 times

- in /usr/src/sys/netns/spp_debug.c line 94
- in /usr/src/sys/netns/spp_usrreq.c line 84(2), 166, 213, 248(2), 290, 299, 306, 328-330(2), 338, 369, 388, 395-403(4), 410-411(2), 1000
- in /usr/src/usr.sbin/trsp/trsp.c line 260

si_alo defined in line 41; used 15 times

- in /usr/src/sys/netns/spp_debug.c line 95
- in /usr/src/sys/netns/spp_usrreq.c line 85(2), 167, 214, 249(2), 288, 300, 401-411(4), 999
- in /usr/src/usr.sbin/trsp/trsp.c line 261

si_cc defined in line 35; used 16 times

- in /usr/src/sys/netns/spp_debug.c line 107
- in /usr/src/sys/netns/spp_usrreq.c line 286-291(2), 403, 421-426(2), 447, 478, 494, 744, 760, 942, 952, 996-997(2)
- in /usr/src/usr.sbin/trsp/trsp.c line 281

si_did defined in line 38; used 3 times

- in /usr/src/sys/netns/spp_usrreq.c line 142, 183, 207

si_dna defined in line 32; used 5 times

- in /usr/src/sys/netns/spp_debug.c line 123
- in /usr/src/sys/netns/spp_usrreq.c line 112, 155
- in /usr/src/usr.sbin/trsp/trsp.c line 276, 295

si_dt defined in line 36; used 1 times

- in /usr/src/sys/netns/spp_usrreq.c line 743

si_len defined in line 29; used 5 times

- in /usr/src/sys/netns/spp_debug.c line 96
- in /usr/src/sys/netns/spp_usrreq.c line 764, 941, 1004
- in /usr/src/usr.sbin/trsp/trsp.c line 262

si_pt defined in line 31; never used
si_seq defined in line 39; used 33 times

- in /usr/src/sys/netns/spp_debug.c line 93
- in /usr/src/sys/netns/spp_usrreq.c line 83(2), 142, 247(2), 388, 399(2), 409, 420, 427, 453-456(2), 465-469(4), 491, 622-625(2), 881-886(2), 912, 940, 959-963(3), 982-983(2), 998(2)
- in /usr/src/usr.sbin/trsp/trsp.c line 259

si_sid defined in line 37; used 2 times

- in /usr/src/sys/netns/spp_usrreq.c line 165, 212

si_sna defined in line 33; used 4 times

- in /usr/src/sys/netns/spp_debug.c line 122
- in /usr/src/sys/netns/spp_usrreq.c line 152
- in /usr/src/usr.sbin/trsp/trsp.c line 274, 293

si_sport defined in line 34; used 2 times

- in /usr/src/sys/netns/spp_usrreq.c line 188, 215

si_sum defined in line 28; used 3 times

- in /usr/src/sys/netns/spp_usrreq.c line 1003-1009(3)

si_tc defined in line 30; never used

#### Usage of this include

spidp.h used 4 times

- in /usr/src/sys/netns/spp_debug.c line 33
- in /usr/src/sys/netns/spp_usrreq.c line 35
- in /usr/src/ucb/netstat/ns.c line 38
- in /usr/src/usr.sbin/trsp/trsp.c line 37

Last modified: 1988-04-28 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 645 |