dsniff
2.4b2
About: A collection of tools for network auditing Fossies Dox: dsniff-2.4b2.tar.gz ("inofficial" and yet experimental doxygen-generated source code documentation) 
|
Go to the documentation of this file. 13 #include <sys/types.h> 25 struct buf *
line, inbuf, outbuf;
39 while ((i =
buf_index(&inbuf,
"\n", 1)) != -1) {
43 if (i > 0 &&
line->base[i - 1] ==
'\r')
54 if (n < 2)
return (0);
int strip_telopts(u_char *buf, int len)
int buf_putf(buf_t buf, const char *fmt,...)
int buf_isascii(buf_t buf)
void buf_init(buf_t buf, u_char *data, int len)
int decode_ftp(u_char *buf, int len, u_char *obuf, int olen)
buf_t buf_tok(buf_t buf, void *sep, int len)
int buf_index(buf_t buf, void *ptr, int len)