'ODTONE - Open Dot Twenty One'

PrevUpHomeNext

Function parse_naptr_record

odtone::dns::parse_naptr_record

Synopsis

// In header: </home/carlos/Projectos/odtone/inc/odtone/net/dns/utils.hpp>


naptr_record parse_naptr_record(const unsigned char * p, int pos, int len);

Description

Parse a NAPTR Resource Record. In the end the position is pointing to the next byte after the NAPTR Resource Record end.

Parameters:

len

Length of the NAPTR Resource Record.

p

Byte array containing the information.

pos

Position in the byte array where to start parsing.

Returns:

The NAPTR Resource Record value.


PrevUpHomeNext