You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to capture the packet from veth and encapsulate a new eth header to send it out by a real eth nic. As far as I know, in xdp ebpf, we can use bpf_xdp_adjust_head to do something like this. Is possible we can do it in userspace using AF_XDP? E.g. using user head room and adjust the addr of frame desc forward when we want to encapsulate a new header.
The text was updated successfully, but these errors were encountered:
ZENOTME
changed the title
Is possible to encap a header in AF_XDP
Is possible to encapsulate a new header in AF_XDP
Apr 11, 2024
I'm trying to capture the packet from veth and encapsulate a new eth header to send it out by a real eth nic. As far as I know, in xdp ebpf, we can use
bpf_xdp_adjust_head
to do something like this. Is possible we can do it in userspace using AF_XDP? E.g. using user head room and adjust the addr of frame desc forward when we want to encapsulate a new header.The text was updated successfully, but these errors were encountered: