summaryrefslogtreecommitdiffstats
path: root/private/inc/sys/snet/tcp_ctrl.h
blob: ef99e34245255c79a3df7a81d9ac5db75f231ca7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/*++

Copyright (c) 1991  Microsoft Corporation

Module Name:

    tcp_ctrl.h

Abstract:

    TCP interface declarations.

Author:

    Mike Massa (mikemas)           Jan 30, 1992

Revision History:

    Who         When        What
    --------    --------    ----------------------------------------------
    mikemas     01-30-92     created

Notes:

--*/

/******************************************************************
 *
 *  SpiderTCP Interface Primitives
 *
 *  Copyright (c) 1988  Spider Systems Limited
 *
 *  This Source Code is furnished under Licence, and may not be
 *  copied or distributed without express written agreement.
 *
 *  All rights reserved.
 *
 *  Written by 		Nick Felisiak, Ian Heavens, Peter Reid,
 *			Gavin Shearer, Mark Valentine
 *
 *  TCP_CONTROL.H
 *
 *  TCP Streams ioctl primitives for TCP/IP on V.3 Streams
 *
 ******************************************************************/

/*
 *	 /usr/projects/spare/PBRAIN/SCCS/pbrainG/dev/src/include/sys/snet/0/s.tcp_control.h
 *	@(#)tcp_control.h	1.4
 *
 *	Last delta created	11:56:46 11/1/91
 *	This file extracted	16:49:20 12/23/91
 *
 *	Modifications:
 *
 *	20/07/88 MV	Added tcp_proto to hold tcp_pcbinfo.
 */

#ifndef _SYS_SNET_TCP_CTRL_INCLUDED
#define _SYS_SNET_TCP_CTRL_INCLUDED


struct tcp_pcbinfo {
	int prim_type;
	int tcbcount;
};

typedef union tcp_proto {
	int type;
	struct tcp_pcbinfo pcbinfo;
} S_TCP_PROTO;

#define TCP_PCBINFO	1
#define TCP_TCBINFO 2


#endif  // _SYS_SNET_TCP_CTRL_INCLUDED