OpenHIP 0.9svn1
|
Go to the source code of this file.
Classes | |
struct | dns_hdr |
struct | dns_ans_hdr |
Defines | |
#define | HIP_RR_TYPE 55 |
#define | HIP_RR_PKALG_DSA 1 |
#define | HIP_RR_PKALG_RSA 2 |
#define | DNS_FLAG_MASK_STDQUERY 0x0001 |
#define | DNS_FLAG_AUTHORITATIVE 0x0400 |
#define | DNS_FLAG_ANSWER 0x8000 |
#define | DNS_FLAG_NXDOMAIN 0x03 |
#define | DNS_QTYPE_CLASS_IN 1 |
#define | DNS_DEFAULT_TTL 3600 |
#define | DNS_TYPE_A 1 |
#define | DNS_TYPE_PTR 12 |
#define | DNS_TYPE_NXDOMAIN -1 |
Functions | |
struct dns_hdr | __attribute__ ((packed)) |
Variables | |
__u16 | transaction_id |
__u16 | flags |
__u16 | question_count |
__u16 | answer_count |
__u16 | namesrvr_count |
__u16 | additional_count |
__u16 | ans_name |
__u16 | ans_type |
__u16 | ans_class |
__u32 | ans_ttl |
__u16 | ans_len |
#define DNS_DEFAULT_TTL 3600 |
Referenced by send_dns_response().
#define DNS_FLAG_ANSWER 0x8000 |
Referenced by handle_dns_request(), and send_dns_response().
#define DNS_FLAG_AUTHORITATIVE 0x0400 |
Referenced by send_dns_response().
#define DNS_FLAG_MASK_STDQUERY 0x0001 |
Referenced by send_hip_dns_lookup().
#define DNS_FLAG_NXDOMAIN 0x03 |
Referenced by send_dns_response().
#define DNS_QTYPE_CLASS_IN 1 |
Referenced by send_dns_response().
#define DNS_TYPE_A 1 |
Referenced by send_dns_response().
#define DNS_TYPE_NXDOMAIN -1 |
Referenced by handle_dns_request(), and send_dns_response().
#define DNS_TYPE_PTR 12 |
Referenced by handle_dns_request(), and send_dns_response().
#define HIP_RR_PKALG_DSA 1 |
Referenced by receive_hip_dns_response().
#define HIP_RR_PKALG_RSA 2 |
Referenced by receive_hip_dns_response().
#define HIP_RR_TYPE 55 |
Referenced by receive_hip_dns_response(), and send_hip_dns_lookup().
struct dns_hdr __attribute__ | ( | (packed) | ) |
Referenced by hip_esp_output(), hip_send(), main_loop(), and set_link_params().