Skip to content

Instantly share code, notes, and snippets.

@DRiKE
Created July 16, 2020 18:29
Show Gist options
  • Save DRiKE/b2673676b010b59defc2fcec319d187b to your computer and use it in GitHub Desktop.
Save DRiKE/b2673676b010b59defc2fcec319d187b to your computer and use it in GitHub Desktop.
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