|
|
1.1 ! root 1: /*++ ! 2: ! 3: Copyright (c) 1991 Microsoft Corporation ! 4: ! 5: Module Name: ! 6: ! 7: in_top.c ! 8: ! 9: Abstract: ! 10: ! 11: This source file implements the top insulating module for the ! 12: subsystem-parallel (ie. non mp-safe) TCP/IP stack. ! 13: ! 14: To customize this bottom insulator for a another subsystem-parallel ! 15: stack, replace TCPIP_SUBSYSTEM_ID with that stack's subsystem id. ! 16: ! 17: All downstream messages that arrive at this module are queued up, to be ! 18: serviced by our write service procedure, inswsrv(). ! 19: ! 20: --*/ ! 21: ! 22: #include "insulate.h" ! 23: ! 24: ! 25: ! 26: // ! 27: // Queue Information Structures ! 28: // ---------------------------- ! 29: // Each queue has an minfo structure. ! 30: // ! 31: // id name min max hi lo ! 32: // ! 33: static ! 34: struct module_info minfo = { ! 35: INSTOP_STID,INSTOP_NAME,0, INFPSZ, 0x7fff, 0x7fff, ! 36: }; ! 37: ! 38: ! 39: // ! 40: // Queue Initialization Templates ! 41: // ------------------------------ ! 42: // put service open close future minfo future subsystem ! 43: // ! 44: static ! 45: struct qinit urinit = { ! 46: putnext,NULL, noopen, noclose,NULL, &minfo, NULL, TCPIP_SUBSYSTEM_ID ! 47: }; ! 48: ! 49: static ! 50: struct qinit uwinit = { ! 51: putq, inswsrv,NULL, NULL, NULL, &minfo, NULL, TCPIP_SUBSYSTEM_ID ! 52: }; ! 53: ! 54: ! 55: // ! 56: // Streamtab Entry ! 57: // --------------- ! 58: // upper queue pair lower queue pair ! 59: // ! 60: struct streamtab intopinfo = { ! 61: &urinit, &uwinit, NULL, NULL ! 62: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.