Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
XDP blog, post 1 gist 4
struct dns_qrr {
uint16_t qtype;
uint16_t qclass;
};
struct dns_rr {
uint16_t type;
uint16_t class;
uint32_t ttl;
uint16_t rdata_len;
} __attribute__((packed));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment