Function gnunet_sys::GNUNET_DNSPARSER_parse_soa [−][src]
pub unsafe extern "C" fn GNUNET_DNSPARSER_parse_soa(
udp_payload: *const c_char,
udp_payload_length: usize,
off: *mut usize
) -> *mut GNUNET_DNSPARSER_SoaRecord
Parse a DNS SOA record.
@param udp_payload reference to UDP packet @param udp_payload_length length of @a udp_payload @param off pointer to the offset of the query to parse in the SOA record (to be incremented by the size of the record), unchanged on error @return the parsed SOA record, NULL on error