All of lore.kernel.org
 help / color / mirror / Atom feed
* TCP Payload
@ 2020-07-10  3:04 Cameron Boness
  2020-07-10 11:55 ` Toke Høiland-Jørgensen
  0 siblings, 1 reply; 2+ messages in thread
From: Cameron Boness @ 2020-07-10  3:04 UTC (permalink / raw)
  To: xdp-newbies

Hi,

I want to be able to read the data being sent in TCP payloads using XDP (in c), but so far all I can read is a number of headers (eth->iph->tcp->dns). Is it possible to get the TCP payload (i.e. client sent data) from xdp_md at all? Been looking online for hours, doesn't seem like anyone who's done XDP that's posted about it has ever parsed such data, hoping it's possible :(

Thanks

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: TCP Payload
  2020-07-10  3:04 TCP Payload Cameron Boness
@ 2020-07-10 11:55 ` Toke Høiland-Jørgensen
  0 siblings, 0 replies; 2+ messages in thread
From: Toke Høiland-Jørgensen @ 2020-07-10 11:55 UTC (permalink / raw)
  To: Cameron Boness, xdp-newbies

Cameron Boness <xdevps3@gmail.com> writes:

> Hi,
>
> I want to be able to read the data being sent in TCP payloads using
> XDP (in c), but so far all I can read is a number of headers
> (eth->iph->tcp->dns). Is it possible to get the TCP payload (i.e.
> client sent data) from xdp_md at all? Been looking online for hours,
> doesn't seem like anyone who's done XDP that's posted about it has
> ever parsed such data, hoping it's possible :(

Could you please be a bit more specific about your problem? What,
exactly, have you tried, and what is the reason why it doesn't work?
Posting code samples and error messages may be helpful...

-Toke

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-10 11:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-10  3:04 TCP Payload Cameron Boness
2020-07-10 11:55 ` Toke Høiland-Jørgensen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.