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> 26 struct buf *b, inbuf, outbuf;
41 buf_get(&inbuf, &vers,
sizeof(vers));
49 buf_putf(&outbuf,
"[version %d]\n%s\n", vers + 1, p);
int buf_putf(buf_t buf, const char *fmt,...)
void buf_init(buf_t buf, u_char *data, int len)
int decode_snmp(u_char *buf, int len, u_char *obuf, int olen)
char * buf_strdup(buf_t buf)
int buf_get(buf_t buf, void *dst, int len)
buf_t buf_tok(buf_t buf, void *sep, int len)