|
libspf2
1.2.10
|
#include "config.h"#include <sys/types.h>#include <netinet/in.h>#include "arpa_nameser.h"#include <errno.h>
Go to the source code of this file.
Macros | |
| #define | RETERR(err) do { errno = (err); return (-1); } while (0) |
Functions | |
| int | ns_skiprr (const u_char *ptr, const u_char *eom, ns_sect section, int count) |
| int | ns_initparse (const u_char *msg, int msglen, ns_msg *handle) |
| int | ns_parserr (ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) |
Variables | |
| struct _ns_flagdata | _ns_flagdata [16] |
| #define RETERR | ( | err | ) | do { errno = (err); return (-1); } while (0) |
Definition at line 51 of file __ns_initparse.c.
| int ns_initparse | ( | const u_char * | msg, |
| int | msglen, | ||
| ns_msg * | handle | ||
| ) |
Definition at line 100 of file __ns_initparse.c.
References NS_GET16, NS_INT16SZ, ns_s_max, ns_skiprr(), NULL, and RETERR.

| int ns_parserr | ( | ns_msg * | handle, |
| ns_sect | section, | ||
| int | rrnum, | ||
| ns_rr * | rr | ||
| ) |
Definition at line 137 of file __ns_initparse.c.
Definition at line 76 of file __ns_initparse.c.
References dn_skipname, NS_GET16, NS_INT16SZ, NS_INT32SZ, ns_s_qd, NULL, and RETERR.
Referenced by ns_initparse().
| struct _ns_flagdata _ns_flagdata[16] |
Definition at line 56 of file __ns_initparse.c.
1.8.17