All of lore.kernel.org
 help / color / mirror / Atom feed
* MAC addresses and XDP_TX
@ 2017-09-13 12:56 Tomaz Buh
  2017-09-13 13:51 ` Jesper Dangaard Brouer
  0 siblings, 1 reply; 2+ messages in thread
From: Tomaz Buh @ 2017-09-13 12:56 UTC (permalink / raw)
  To: xdp-newbies

Hello.
I'm trying to modify packets within the BPF program and send them to
another IP address through the same NIC with the XDP_TX call
(ultimately I'm trying to do a RTP proxy sample).
What I'm missing is the MAC address for the IP, which can be normally
obtained from the ARP table.
I can see two solutions for dynamic sending:
-search the kernel tables for ARP entries,
-produce ARP reqests and have own ARP table.

Is any of the solutions possible with the current implementation?
Is there any better solution?

Kind regards,
Tomaz

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

end of thread, other threads:[~2017-09-13 13:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-13 12:56 MAC addresses and XDP_TX Tomaz Buh
2017-09-13 13:51 ` Jesper Dangaard Brouer

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.