summaryrefslogtreecommitdiffstats
path: root/usr.bin/dig/lib
AgeCommit message (Expand)AuthorFilesLines
2021-04-02Implement ZONEMD (RFC8976), based on DS (ds_43.c)florian3-2/+124
2020-12-21Rewrite parse_netprefix to no longer use isc_sockaddr_fromin{,6}.florian2-40/+2
2020-12-20Fix copy-pasto when selecting the addresses read from resolv.conf byotto1-1/+1
2020-11-28Use IN_MULTICAST correctly, so it checks the IP address rather than thejmatthew1-2/+2
2020-11-01Implement Extended DNS Error (RFC 8914).florian2-1/+78
2020-10-19Do not "fall through" to the last "else" when we parsed the character.florian1-1/+5
2020-09-15We have sockaddr_storage these days, get rid of isc_sockaddr_t.florian5-118/+135
2020-09-15The various sockaddr structures have length fields these days.florian3-13/+8
2020-09-15we no longer need isc_netaddr_tflorian6-216/+16
2020-09-15remove 3 unused protos; ok florianderaadt1-8/+1
2020-09-15rewrite generating of IPv6 reverse names, lets us get rid of byaddr.florian3-203/+2
2020-09-15move islinklocal, ismulticast, issitelocal from netaddr to sockaddrflorian3-76/+14
2020-09-14Mechanically replace isc_boolean_t with int.florian97-774/+727
2020-09-14Bunch of dead stores and otherwise unused stuff lets us get rid offlorian21-210/+27
2020-09-14Rewrite isc_time_microdiff() as uelapsed() and put it directlyflorian4-94/+8
2020-09-13Get rid of isc_parse_uint32() and replace it with strtonum.florian4-108/+3
2020-09-13remove unused lex statesflorian1-55/+1
2020-09-13remove unused LEX_OPTsflorian2-103/+5
2020-09-13No need to refcount the parser, we never hold more than one reference.florian2-37/+12
2020-09-12Remove unused callback mechanism / indirection.florian1-37/+9
2020-05-10fix socket_log() calls, EVENT expands to three comma separatedotto1-4/+4
2020-05-08Make sure cmsgbufs are properly aligned by using the idiom from theotto1-4/+14
2020-04-02Replace a bunch of hand rolled date / time math with gmtime(3).florian2-87/+24
2020-03-27unused constantsflorian1-16/+1
2020-02-26no need to go through RETERR when we return a constantflorian5-22/+22
2020-02-26In preparation of compiling lib/dns/rdata/ files individually we needflorian59-524/+426
2020-02-26In preparation of compiling lib/dns/rdata/ files individually we needflorian63-228/+178
2020-02-26Always printing unknown types as TYPE%u and not sometimes as %uflorian79-458/+63
2020-02-26Rewrite dns_rdatatype_fromtext to use a binary search over a staticflorian2-258/+125
2020-02-25use timingsafe_bcmp and get rid of now unused safe.cflorian6-86/+13
2020-02-25use freezero() rather that explicit_bzero() when free() is immediatelyderaadt2-14/+8
2020-02-25malloc(a * b) -> reallocarray(NULL, a, b)deraadt9-44/+24
2020-02-25unused fileflorian1-59/+0
2020-02-25declare isc_appctx_t once where it is usedjsg2-9/+2
2020-02-25Do not generate dns_rdatatype_attributes and dns_rdatatype_totext.florian2-36/+360
2020-02-25reduce multiple newlinesjsg120-604/+91
2020-02-25remove some unused typedefsjsg3-21/+2
2020-02-25remove some unused definesjsg1-15/+0
2020-02-24Stop generating rdatastruct.h and put the dns_rdata_* structs forflorian85-2561/+47
2020-02-24Delete a few more fromstruct_*, tostruct_* and freestruct_* functionsflorian6-356/+4
2020-02-24We only need to create cname, ns, soa and tsig structs.florian78-2239/+134
2020-02-24We only need to fill a wire format buffer from soa and tsig structs.florian80-1545/+128
2020-02-24We only need to free cname, ns, soa and tsig structs.florian78-791/+117
2020-02-24We are never required to "render glue first" since we just print whatflorian2-39/+2
2020-02-24dead store, pointed out by scan buildflorian1-11/+1
2020-02-24totext_filter_proc is always null, remove.florian2-21/+2
2020-02-24remove some unused codejsg8-399/+6
2020-02-24remove some uneeded includesjsg16-58/+32
2020-02-24We only need to check the owner for nsec3 records, remove all theflorian82-1033/+61
2020-02-24We are always preserving the order of records.florian83-2495/+85