H A D | smb.h | 10 #define CVAL(buf,pos) (((unsigned char *)(buf))[pos]) argument 11 #define PVAL(buf,pos) ((unsigned)CVAL(buf,pos)) argument 12 #define SCVAL(buf,pos,val) (CVAL(buf,pos) = (val)) argument 14 #define SVAL(buf,pos) (PVAL(buf,pos)|PVAL(buf,(pos)+1)<<8) argument 15 #define IVAL(buf,pos) (SVAL(buf,pos)|SVAL(buf,(pos)+2)<<16) argument 16 #define SSVALX(buf,pos,val) (CVAL(buf,pos)=(val)&0xFF,CVAL(buf,pos+1)=(val)>>8) argument 17 #define SIVALX(buf,pos,val) (SSVALX(buf,pos,val&0xFFFF),SSVALX(buf,pos+2,val>>16)) argument 18 #define SVALS(buf,pos) ((int16)SVAL(buf,pos)) argument 19 #define IVALS(buf,pos) ((int32)IVAL(buf,pos)) argument 29 #define RSVAL(buf,pos) SREV(SVAL(buf,pos)) argument [all …]
|