Searched refs:maxbuf (Results 1 – 2 of 2) sorted by relevance
/external/tcpdump/ |
D | print-smb.c | 173 print_trans2(const u_char *words, const u_char *dat, const u_char *buf, const u_char *maxbuf) in print_trans2() argument 209 maxbuf, unicodestr); in print_trans2() 245 const u_char *maxbuf = data + datalen; in print_browse() local 257 maxbuf, unicodestr); in print_browse() 263 maxbuf, unicodestr); in print_browse() 269 maxbuf, unicodestr); in print_browse() 275 maxbuf, unicodestr); in print_browse() 281 maxbuf, unicodestr); in print_browse() 287 maxbuf, unicodestr); in print_browse() 293 maxbuf, unicodestr); in print_browse() [all …]
|
D | smbutil.c | 132 name_interpret(const u_char *in, const u_char *maxbuf, char *out) in name_interpret() argument 137 if (in >= maxbuf) in name_interpret() 149 if (in + 1 >= maxbuf) in name_interpret() 172 name_ptr(const u_char *buf, int ofs, const u_char *maxbuf) in name_ptr() argument 178 if (p >= maxbuf) in name_ptr() 189 if ((p + 1) >= maxbuf) in name_ptr() 197 if (p >= maxbuf) in name_ptr() 211 name_extract(const u_char *buf, int ofs, const u_char *maxbuf, char *name) in name_extract() argument 213 const u_char *p = name_ptr(buf, ofs, maxbuf); in name_extract() 217 return(name_interpret(p, maxbuf, name)); in name_extract() [all …]
|