ISC DHCP  4.3.1
A reference DHCPv4 and DHCPv6 implementation
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ns_name.c File Reference
#include <sys/types.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <errno.h>
#include <string.h>
#include <ctype.h>
#include "minires.h"
#include "arpa/nameser.h"

Go to the source code of this file.

Functions

int MRns_name_ntop (const u_char *src, char *dst, size_t dstsiz)
 
int MRns_name_pton (const char *src, u_char *dst, size_t dstsiz)
 
int MRns_name_ntol (const u_char *src, u_char *dst, size_t dstsiz)
 
int MRns_name_unpack (const u_char *msg, const u_char *eom, const u_char *src, u_char *dst, size_t dstsiz)
 
int MRns_name_pack (const u_char *src, u_char *dst, unsigned dstsiz, const u_char **dnptrs, const u_char **lastdnptr)
 
int MRns_name_uncompress (const u_char *msg, const u_char *eom, const u_char *src, char *dst, size_t dstsiz)
 
int MRns_name_compress (const char *src, u_char *dst, size_t dstsiz, const u_char **dnptrs, const u_char **lastdnptr)
 
int MRns_name_skip (const u_char **ptrptr, const u_char *eom)
 

Function Documentation

int MRns_name_compress ( const char *  src,
u_char *  dst,
size_t  dstsiz,
const u_char **  dnptrs,
const u_char **  lastdnptr 
)

Definition at line 502 of file ns_name.c.

int MRns_name_ntol ( const u_char *  src,
u_char *  dst,
size_t  dstsiz 
)

Definition at line 250 of file ns_name.c.

int MRns_name_ntop ( const u_char *  src,
char *  dst,
size_t  dstsiz 
)

Definition at line 60 of file ns_name.c.

int MRns_name_pack ( const u_char *  src,
u_char *  dst,
unsigned  dstsiz,
const u_char **  dnptrs,
const u_char **  lastdnptr 
)

Definition at line 382 of file ns_name.c.

int MRns_name_pton ( const char *  src,
u_char *  dst,
size_t  dstsiz 
)

Definition at line 141 of file ns_name.c.

int MRns_name_skip ( const u_char **  ptrptr,
const u_char *  eom 
)

Definition at line 519 of file ns_name.c.

int MRns_name_uncompress ( const u_char *  msg,
const u_char *  eom,
const u_char *  src,
char *  dst,
size_t  dstsiz 
)

Definition at line 474 of file ns_name.c.

int MRns_name_unpack ( const u_char *  msg,
const u_char *  eom,
const u_char *  src,
u_char *  dst,
size_t  dstsiz 
)

Definition at line 294 of file ns_name.c.