MAC addresses and XDP_TX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Networking Development]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Campsites]

  Powered by Linux