resolved: separate LLMNR specific header bits
authorDaniel Mack <daniel@zonque.org>
Sat, 11 Jul 2015 00:35:16 +0000 (20:35 -0400)
committerDaniel Mack <daniel@zonque.org>
Mon, 13 Jul 2015 15:28:29 +0000 (11:28 -0400)
commit8b757a38611006a751c90933d1810cccaa47e1af
tree40fc0252f421d90b8d9c7a5b5fcc7db23b5f4eab
parent22a37591ede1e9d5f325d6f10495cc91b40b775f
resolved: separate LLMNR specific header bits

The C and T bits in the DNS packet header definitions are specific to LLMNR.
In regular DNS, they are called AA and RD instead. Reflect that by calling
the macros accordingly, and alias LLMNR specific macros.

While at it, define RA, AD and CD getters as well.
src/resolve/resolved-dns-packet.h
src/resolve/resolved-dns-scope.c
src/resolve/resolved-dns-transaction.c