diff options
author | Vincent Ambo <tazjin@google.com> | 2020-01-26T01·36+0000 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-01-26T02·51+0000 |
commit | cefb60f20cf0fe8d1540402848b2c93fa976e9f1 (patch) | |
tree | 5a5cad8ee748fe9bf765423555b41941b28796a4 /net | |
parent | 7ef14db936d98a1ae3def2d2560ee6373ea1a107 (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 'net')
0 files changed, 0 insertions, 0 deletions