about summary refs log tree commit diff
path: root/lisp/dns/package.lisp
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-01-26T01·36+0000
committerVincent Ambo <tazjin@google.com>2020-01-26T02·51+0000
commitcefb60f20cf0fe8d1540402848b2c93fa976e9f1 (patch)
tree5a5cad8ee748fe9bf765423555b41941b28796a4 /lisp/dns/package.lisp
parent7ef14db936d98a1ae3def2d2560ee6373ea1a107 (diff)
refactor(lisp/dns): Introduce structured QNAME representation
Adds a struct that represents QNAMEs, tracks the stream offset at
which the QNAME parsing began and makes it possible to resolve
pointers inside of the QNAME.

Note that resolving pointers needs to happen *after* the call to
lisp-binary currently. It might be possible to implement this inside
of lisp-binary in the future by switching on the top two bits of the
qname field, but since this is happening *inside* of a reader function
I'm not currently sure how to implement it.
Diffstat (limited to 'lisp/dns/package.lisp')
0 files changed, 0 insertions, 0 deletions