Re: Headers Parsing with fields of variable length


Raymond
 

On 2019-06-10 12:35 p.m., mdimolianis@... wrote:
I am trying to create a header for the DNS protocol and parse DNS queries however I cannot parse headers with variable size e.g. the domain name (due to looping constraints of XDP). Is there a method I could handle cases like that?
Wouldn't you punt that to a userland xdp listener for action?  Dns packets are complicated.

Join iovisor-dev@lists.iovisor.org to automatically receive all group messages.