blob: 42f5c859a5fb41fcf1f027b7835a5ab19cbb58ef (
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
79
80
81
82
83
84
85
86
87
|
/*++
Copyright (c) 1991 Microsoft Corporation
Module Name:
stcp_opt.h
Abstract:
This module contains TCP/IP user options definitions for STREAMS TCP/IP.
Author:
Eric Chin (ericc) July 18, 1991
Revision History:
--*/
/******************************************************************
*
* SpiderTCP Application Definitions
*
* Copyright 1987 Spider Systems Limited
*
* STCP_OPT.H
*
* User options for TCP/IP on V.3 Streams
*
* PR@Spider /\oo/\
*
******************************************************************/
/*
* /usr/projects/spare/PBRAIN/SCCS/pbrainG/dev/src/include/sys/snet/0/s.stcp_opt.h
* @(#)stcp_opt.h 1.9
*
* Last delta created 19:24:09 2/21/90
* This file extracted 08:53:45 7/10/91
*
* Modifications:
*
* PR 01/12/87 Integrated into Admin System II, all
* projects
*/
#ifndef _SYS_SNET_STCP_OPT_
#define _SYS_SNET_STCP_OPT_
/*
* TCP Top level option. These may be or'ed together in
* the option word. opt_level should be set to TOL_TLI
* to set these parameters
*/
#define TOL_TLI 0xffff
#define TO_NO_OPTS 0x0000
#define TO_REUSE_ADDR 0x0001
#define TO_KEEPALIVE 0x0004
#define TO_DEBUG 0x0002
#define TO_LINGER 0x0008
#define TO_RDWR 0x0010
#define TO_NODELAY 0x0020
#ifdef TESTOPT
#define TO_TESTOPT 0x0040
#endif
#define TOL_RCVBUF 0x0001
/*
* TCP/IP Option struct for use with the T_OPTMGMT
* function.
*/
typedef struct tcp_opt {
int opt_level;
int opt_name;
int opt_data[1];
} TOPT;
#endif /* _SYS_SNET_STCP_OPT_ */
|