Created
July 16, 2020 18:29
-
-
Save DRiKE/b2673676b010b59defc2fcec319d187b to your computer and use it in GitHub Desktop.
XDP blog, post 1 gist 4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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