File:  [WindowsNT SDKs] / ntddk / src / network / streams / in_bot.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:31:12 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntddk-nov-1993, HEAD
Microsoft Windows NT Build 511 (DDK SDK) 11-01-1993

/*++

Copyright (c) 1991  Microsoft Corporation

Module Name:

    in_bot.c

Abstract:

    This source file implements the bottom insulating module for the
    subsystem-parallel (ie. non mp-safe) TCP/IP stack.

    To customize this bottom insulator for a another subsystem-parallel
    stack, replace TCPIP_SUBSYSTEM_ID with that stack's subsystem id.

    All upstream messages that arrive at this module are queued up, to be
    serviced by our read service procedure, insrsrv().

--*/

#include "insulate.h"



//
//  Queue Information Structures
//  ----------------------------
//  Each queue has an minfo structure.
//
//  id          name        min     max     hi      lo
//
static
struct module_info minfo = {
    INSBOT_STID,INSBOT_NAME,0,      INFPSZ, 0x7fff, 0x7fff,
};


//
//  Queue Initialization Templates
//  ------------------------------
//  put     service open    close   future  minfo   future  subsystem
//
static
struct qinit urinit = {
    putq,   insrsrv,noopen, noclose,NULL,  &minfo,  NULL,   TCPIP_SUBSYSTEM_ID
};

static
struct qinit uwinit = {
    putnext,NULL,   NULL,   NULL,   NULL,  &minfo,  NULL,   TCPIP_SUBSYSTEM_ID
};



//
//  Streamtab Entry
//  ---------------
//  upper queue pair    lower queue pair
//
struct streamtab inbotinfo = {
    &urinit, &uwinit,   NULL, NULL
};

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.