Annotation of researchv9/include/dk.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * This file defines message structures and codes
        !             3:  * used in talking to the DK controller
        !             4:  */
        !             5: 
        !             6: /*
        !             7:  * Principal message structure.
        !             8:  */
        !             9: struct dialout {
        !            10:        char    type;           /* message type */
        !            11:        char    srv;            /* service requested */
        !            12:        short   param0;         /* parameters */
        !            13:        short   param1;
        !            14:        short   param2;
        !            15:        short   param3;
        !            16:        short   param4;
        !            17:        short   param5;
        !            18: };
        !            19: 
        !            20: /*
        !            21:  * dialout structure as received with
        !            22:  * cmcld on (includes channel)
        !            23:  */
        !            24: struct listenin {
        !            25:        short   l_lchan;
        !            26:        char    l_type;
        !            27:        char    l_srv;
        !            28:        short   l_param0;
        !            29:        short   l_param1;
        !            30:        short   l_param2;
        !            31:        short   l_param3;
        !            32:        short   l_param4;
        !            33:        short   l_param5;
        !            34: };
        !            35: 
        !            36: 
        !            37: /*
        !            38:  * message types
        !            39:  */
        !            40: #define        T_SRV           1       /* request for server process */
        !            41: #define        T_CHG           3       /* status change on a channel */
        !            42: #define        T_LSTNR         4       /* keep-alive */
        !            43: #define        T_REPLY         10      /* reply from controller */
        !            44: 
        !            45: /*
        !            46:  * T_CHG codes
        !            47:  */
        !            48: #define        D_CLOSE         1       /* close a channel */
        !            49: #define        D_ISCLOSED      2       /* channel is closed */
        !            50: #define        D_OPEN          3       /* channel is open */
        !            51: #define        D_FAIL          5

unix.superglobalmegacorp.com

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