Searched refs:packet (Results 1 – 3 of 3) sorted by relevance
476 _dnsPacket_init( DnsPacket* packet, const uint8_t* buff, int bufflen ) in _dnsPacket_init() argument478 packet->base = buff; in _dnsPacket_init()479 packet->end = buff + bufflen; in _dnsPacket_init()480 packet->cursor = buff; in _dnsPacket_init()484 _dnsPacket_rewind( DnsPacket* packet ) in _dnsPacket_rewind() argument486 packet->cursor = packet->base; in _dnsPacket_rewind()490 _dnsPacket_skip( DnsPacket* packet, int count ) in _dnsPacket_skip() argument492 const uint8_t* p = packet->cursor + count; in _dnsPacket_skip()494 if (p > packet->end) in _dnsPacket_skip()495 p = packet->end; in _dnsPacket_skip()[all …]
45 u_int32_t packet; member
732 __u8 packet : 1; member749 __u8 packet : 1; member