Generalise RR-filtering code, for use with EDNS0.

This commit is contained in:
Simon Kelley
2015-12-15 17:25:21 +00:00
parent d64c81fff7
commit c2bcd1e183
6 changed files with 349 additions and 309 deletions

View File

@@ -1513,3 +1513,8 @@ int poll_check(int fd, short event);
void poll_listen(int fd, short event);
int do_poll(int timeout);
/* rrfilter.c */
size_t rrfilter(struct dns_header *header, size_t plen, int mode);
u16 *rrfilter_desc(int type);
int expand_workspace(unsigned char ***wkspc, int *szp, int new);