Please wait until the page is fully downloaded and then press the "Expand" button or the blue line numbers.

0100000 /*
0100001 server/ip/gen/tcp_io.h
0100002 */
0100003 
0100004 #ifndef __SERVER__IP__GEN__TCP_IO_H__
0100005 #define __SERVER__IP__GEN__TCP_IO_H__
0100006 
0100007 typedef struct nwio_tcpconf
0100008 {
0100009          u32_t nwtc_flags;
0100010          ipaddr_t nwtc_locaddr;
0100011          ipaddr_t nwtc_remaddr;
0100012          tcpport_t nwtc_locport;
0100013          tcpport_t nwtc_remport;
0100014 } nwio_tcpconf_t;
0100015 
0100016 #define NWTC_NOFLAGS       0x0000L
0100017 #define NWTC_ACC_MASK       0x0003L
0100018 #       define NWTC_EXCL       0x00000001L
0100019 #       define NWTC_SHARED       0x00000002L
0100020 #       define NWTC_COPY       0x00000003L
0100021 #define NWTC_LOCPORT_MASK       0x0030L
0100022 #       define NWTC_LP_UNSET       0x00000010L
0100023 #       define NWTC_LP_SET       0x00000020L
0100024 #       define NWTC_LP_SEL       0x00000030L
0100025 #define NWTC_REMADDR_MASK       0x0100L
0100026 #       define NWTC_SET_RA       0x00000100L
0100027 #       define NWTC_UNSET_RA       0x01000000L
0100028 #define NWTC_REMPORT_MASK       0x0200L
0100029 #       define NWTC_SET_RP       0x00000200L
0100030 #       define NWTC_UNSET_RP       0x02000000L
0100031 
0100032 typedef struct nwio_tcpcl
0100033 {
0100034          long nwtcl_flags;
0100035          long nwtcl_ttl;
0100036 } nwio_tcpcl_t;
0100037 
0100038 typedef struct nwio_tcpatt
0100039 {
0100040          long nwta_flags;
0100041 } nwio_tcpatt_t;
0100042 
0100043 typedef struct nwio_tcpopt
0100044 {
0100045          u32_t nwto_flags;
0100046 } nwio_tcpopt_t;
0100047 
0100048 #define NWTO_NOFLAG              0x0000L
0100049 #define NWTO_SND_URG_MASK       0x0001L
0100050 #       define NWTO_SND_URG       0x00000001L
0100051 #       define NWTO_SND_NOTURG       0x00010000L
0100052 #define NWTO_RCV_URG_MASK       0x0002L
0100053 #       define NWTO_RCV_URG       0x00000002L
0100054 #       define NWTO_RCV_NOTURG       0x00020000L
0100055 #define NWTO_BSD_URG_MASK       0x0004L
0100056 #       define NWTO_BSD_URG       0x00000004L
0100057 #       define NWTO_NOTBSD_URG       0x00040000L
0100058 #define NWTO_DEL_RST_MASK       0x0008L
0100059 #       define NWTO_DEL_RST       0x00000008L
0100060 
0100061 #endif /* __SERVER__IP__GEN__TCP_IO_H__ */
0100062 
0100063 /*
0100064  * $PchId: tcp_io.h,v 1.4 1995/11/17 22:17:47 philip Exp $
0100065  */