--- mstools/h/nb30.h 2018/08/09 18:20:34 1.1.1.2 +++ mstools/h/nb30.h 2018/08/09 18:21:14 1.1.1.3 @@ -31,7 +31,7 @@ ****************************************************************/ #define NCBNAMSZ 16 /* absolute length of a net name */ -#define MAX_LANA 12 /* lana's in range 0 to MAX_LANA */ +#define MAX_LANA 32 /* lana's in range 0 to MAX_LANA */ /* * Network Control Block @@ -180,6 +180,22 @@ typedef struct _FIND_NAME_BUFFER { UCHAR routing_info[18]; } FIND_NAME_BUFFER, *PFIND_NAME_BUFFER; +/* + * Structure provided with NCBACTION. The purpose of NCBACTION is to provide + * transport specific extensions to netbios. + */ + +typedef struct _ACTION_HEADER { + ULONG transport_id; + USHORT action_code; + USHORT reserved; +} ACTION_HEADER, *PACTION_HEADER; + +// Values for transport_id + +#define ALL_TRANSPORTS "M\0\0\0" +#define MS_NBF "MNBF" + /**************************************************************** * * @@ -214,6 +230,7 @@ typedef struct _FIND_NAME_BUFFER { #define NCBSENDNA 0x71 /* NCB SEND NO ACK */ #define NCBCHAINSENDNA 0x72 /* NCB CHAIN SEND NO ACK */ #define NCBLANSTALERT 0x73 /* NCB LAN STATUS ALERT */ +#define NCBACTION 0x77 /* NCB ACTION */ #define NCBFINDNAME 0x78 /* NCB FIND NAME */ #define NCBTRACE 0x79 /* NCB TRACE */