Searched refs:packet (Results 1 – 5 of 5) sorted by relevance
457 _dnsPacket_init( DnsPacket* packet, const uint8_t* buff, int bufflen ) in _dnsPacket_init() argument459 packet->base = buff; in _dnsPacket_init()460 packet->end = buff + bufflen; in _dnsPacket_init()461 packet->cursor = buff; in _dnsPacket_init()465 _dnsPacket_rewind( DnsPacket* packet ) in _dnsPacket_rewind() argument467 packet->cursor = packet->base; in _dnsPacket_rewind()471 _dnsPacket_skip( DnsPacket* packet, int count ) in _dnsPacket_skip() argument473 const uint8_t* p = packet->cursor + count; in _dnsPacket_skip()475 if (p > packet->end) in _dnsPacket_skip()476 p = packet->end; in _dnsPacket_skip()[all …]
30 char packet[12]; member
580 __u8 packet : 1; member593 __u8 packet : 1; member
42 __u32 packet; member
159 } packet; member209 unsigned char cmd_type, packet, pad0, pad1; member212 unsigned char cmd_type, packet; member