Function gnunet_sys::GNUNET_DNSPARSER_parse_mx [−][src]
pub unsafe extern "C" fn GNUNET_DNSPARSER_parse_mx(
udp_payload: *const c_char,
udp_payload_length: usize,
off: *mut usize
) -> *mut GNUNET_DNSPARSER_MxRecord
Parse a DNS MX 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 MX record (to be incremented by the size of the record), unchanged on error @return the parsed MX record, NULL on error