Searched refs:rewinder (Results 1 – 1 of 1) sorted by relevance
27 static void rewind_dns_packet(DnsPacketRewinder *rewinder) { in rewind_dns_packet() argument28 if (rewinder->packet) in rewind_dns_packet()29 dns_packet_rewind(rewinder->packet, rewinder->saved_rindex); in rewind_dns_packet()36 #define CANCEL_REWINDER(rewinder) do { (rewinder).packet = NULL; } while (0) argument1375 _cleanup_(rewind_dns_packet) DnsPacketRewinder rewinder = REWINDER_INIT(p); in dns_packet_read_string()1404 *start = rewinder.saved_rindex; in dns_packet_read_string()1405 CANCEL_REWINDER(rewinder); in dns_packet_read_string()1413 _cleanup_(rewind_dns_packet) DnsPacketRewinder rewinder = REWINDER_INIT(p); in dns_packet_read_raw_string()1428 *start = rewinder.saved_rindex; in dns_packet_read_raw_string()1429 CANCEL_REWINDER(rewinder); in dns_packet_read_raw_string()[all …]