#include <sys/types.h> #include <netinet/in.h> #include <arpa/nameser.h> #include <resolv.h> int dn_skipname(unsigned char *compressed_domain_name, unsigned char *end_of_message)
The dn_skipname() function is used to skip over a compressed domain name in a DNS packet.
None.
dn_skipname() returns an integer. Possible values are:
When the dn_skipname() function fails, it does not set specific errno or h_errno values. An error occurs under the following conditions:
Top | UNIX-Type APIs | APIs by category |