libspf2 1.2.11
|
#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.
Definition at line 100 of file __ns_initparse.c.
References ns_msg::_counts, ns_msg::_eom, ns_msg::_flags, ns_msg::_id, ns_msg::_msg, ns_msg::_sections, NS_GET16, NS_INT16SZ, ns_s_max, ns_skiprr, NULL, and RETERR.
Definition at line 137 of file __ns_initparse.c.
References ns_msg::_counts, ns_msg::_eom, ns_msg::_msg, ns_msg::_msg_ptr, ns_msg::_rrnum, ns_msg::_sect, ns_rr::name, NS_GET16, NS_GET32, NS_INT16SZ, NS_INT32SZ, NS_MAXDNAME, ns_s_max, ns_s_qd, ns_skiprr, NULL, ns_rr::rdata, ns_rr::rdlength, RETERR, ns_rr::rr_class, ns_rr::ttl, and ns_rr::type.
Definition at line 76 of file __ns_initparse.c.
References dn_skipname, NS_GET16, NS_INT16SZ, NS_INT32SZ, ns_s_qd, NULL, and RETERR.
struct _ns_flagdata _ns_flagdata[16] |
Definition at line 56 of file __ns_initparse.c.