chiark
/
gitweb
/
~ian
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
WIP dns transport packets etc.
[secnet.git]
/
dns-transp-common.h
diff --git
a/dns-transp-common.h
b/dns-transp-common.h
index 53f6a73f0849c0f7e691640f00b5b0dce544fa0a..9b25f26cd731dbef924f0f3969dc53ac213210b1 100644
(file)
--- a/
dns-transp-common.h
+++ b/
dns-transp-common.h
@@
-36,6
+36,12
@@
struct dnsdomainenc {
int labremain;
};
+struct dnspacketenc {
+ uint8_t buf[MAX_DNSPACKET_BYTES];
+ uint8_t *ptr;
+ struct dnsdomainenc dom;
+};
+
/*
* The only legal calling sequence is this:
* start