Searched refs:packet (Results 1 – 5 of 5) sorted by relevance
459 _dnsPacket_init( DnsPacket* packet, const uint8_t* buff, int bufflen ) in _dnsPacket_init() argument461 packet->base = buff; in _dnsPacket_init()462 packet->end = buff + bufflen; in _dnsPacket_init()463 packet->cursor = buff; in _dnsPacket_init()467 _dnsPacket_rewind( DnsPacket* packet ) in _dnsPacket_rewind() argument469 packet->cursor = packet->base; in _dnsPacket_rewind()473 _dnsPacket_skip( DnsPacket* packet, int count ) in _dnsPacket_skip() argument475 const uint8_t* p = packet->cursor + count; in _dnsPacket_skip()477 if (p > packet->end) in _dnsPacket_skip()478 p = packet->end; in _dnsPacket_skip()[all …]
30 char packet[12]; member
737 __u8 packet : 1; member754 __u8 packet : 1; member
47 __u32 packet; member
190 } packet; member252 unsigned char cmd_type, packet, pad0, pad1; member256 unsigned char cmd_type, packet; member