|
DataMuseum.dkPresents historical artifacts from the history of: Regnecentalen RC-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Regnecentalen RC-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 2232 (0x8b8) Types: TextFile Notes: UNIX file Names: »sockmod.h«
└─⟦8c4f54e61⟧ Bits:30004068/disk2.imd Interactive TCP/IP v.1.2 └─⟦8c4f54e61⟧ UNIX Filesystem └─⟦this⟧ »hb/new/usr/include/sys/sockmod.h«
/* * definitions for socket to TLI conversion streams module * * Copyrighted as an unpublished work. * (c) Copyright 1988 INTERACTIVE Systems Corporation * All rights reserved. * * RESTRICTED RIGHTS: * * These programs are supplied under a license. They may be used, * disclosed, and/or copied only as permitted under such license * agreement. Any copy must contain the above copyright notice and * this restricted rights notice. Use, copying, and/or disclosure * of the programs is strictly prohibited unless otherwise provided * in the license agreement. */ #ident "@(#)sockmod.h 1.5 - 90/03/06" #define MAXSOCSZ INFPSZ #define SOCHIWAT 4096 #define SOCLOWAT 2048 #ifdef DEBUG #define SOCDEBUG #endif struct socdev { queue_t *soc_qptr; /* ptr to write queue */ ushort soc_state; /* state of socket module */ ushort soc_domain; /* network family (domain) name */ ushort soc_type; /* network type */ ushort soc_proto; /* network protocol */ struct sockaddr soc_saddr; /* local network address */ struct sockaddr soc_daddr; /* remote network address */ ushort soc_slen; /* local network length */ ushort soc_dlen; /* remote network length */ ushort soc_pend; /* number of pending connections allowed */ ushort soc_backlog; /* number of pending connections requested */ ushort soc_npend; /* length of soc_pendlist queue */ mblk_t *soc_pendlist; /* queue of pending connections */ struct socdev *soc_spend; /* ptr to queue pending accept */ mblk_t *soc_template; /* ptr to template of tli data message */ mblk_t *soc_opt; /* ptr to queue of socket options set */ long soc_options; /* socket option bits */ long soc_sequence; /* sequence number of current connection */ uint soc_ioctl; /* id of ioctl pending */ ushort soc_prisig; /* priority data signal to send */ ushort soc_flags; /* socket flags */ mblk_t *soc_mblk; /* mblock containing this structure */ struct socdev *soc_head; /* pointer back to the listening socdev */ }; /* flags */ #define SOCF_IOCTLWAT 1 /* waiting for ioctl response */ #define SOCF_BINDWAT 2 /* waiting for bind response */ #define SOCF_DRAIN 4 /* wait for data to drain */