+12 June 2025: Wouter
+ - Fix header return value description for skip_pkt_rrs and
+ parse_edns_from_query_pkt.
+
11 June 2025: Wouter
- Fix bitwise operators in conditional expressions with parentheses.
- Fix conditional expressions with parentheses for bitwise and.
/**
* Skip RRs from packet
* @param pkt: the packet. position at start must be right after the query
- * section. At end, right after EDNS data or no movement if failed.
+ * section. At end, right after EDNS data or partial movement if failed.
* @param num: Limit of the number of records we want to parse.
- * @return: 0 on success, 1 on failure.
+ * @return: 1 on success, 0 on failure.
*/
int skip_pkt_rrs(struct sldns_buffer* pkt, int num);
/**
* If EDNS data follows a query section, extract it and initialize edns struct.
* @param pkt: the packet. position at start must be right after the query
- * section. At end, right after EDNS data or no movement if failed.
+ * section. At end, right after EDNS data or partial movement if failed.
* @param edns: the edns data allocated by the caller. Does not have to be
* initialised.
* @param cfg: the configuration (with nsid value etc.)