|
|
1.1 ! root 1: /*++ ! 2: ! 3: Copyright (c) 1991 Microsoft Corporation ! 4: ! 5: Module Name: ! 6: ! 7: in_bot.c ! 8: ! 9: Abstract: ! 10: ! 11: This source file implements the bottom 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 upstream messages that arrive at this module are queued up, to be ! 18: serviced by our read service procedure, insrsrv(). ! 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: INSBOT_STID,INSBOT_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: putq, insrsrv,noopen, noclose,NULL, &minfo, NULL, TCPIP_SUBSYSTEM_ID ! 47: }; ! 48: ! 49: static ! 50: struct qinit uwinit = { ! 51: putnext,NULL, NULL, NULL, NULL, &minfo, NULL, TCPIP_SUBSYSTEM_ID ! 52: }; ! 53: ! 54: ! 55: ! 56: // ! 57: // Streamtab Entry ! 58: // --------------- ! 59: // upper queue pair lower queue pair ! 60: // ! 61: struct streamtab inbotinfo = { ! 62: &urinit, &uwinit, NULL, NULL ! 63: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.