From: "Toke Høiland-Jørgensen" <toke@redhat.com>
To: Matheus Salgueiro Castanho <matheus.castanho@dcc.ufmg.br>,
xdp-newbies@vger.kernel.org
Subject: Re: Create copy of packate given to BPF
Date: Sun, 04 Oct 2020 23:20:49 +0200 [thread overview]
Message-ID: <87sgatpu1a.fsf@toke.dk> (raw)
In-Reply-To: <CAPyJoHk74hN6roX+-66fU1H03ZRsO5qtpGiH9mwiXzdzqqYpQw@mail.gmail.com>
Matheus Salgueiro Castanho <matheus.castanho@dcc.ufmg.br> writes:
> Hi,
>
> I'd like to create a copy of a packet inside a BPF program, alter some
> of its headers and redirect it and the original packet to different
> interfaces, either on XDP or TC layers.
>
> By taking a look at the helpers list, I have the impression this is
> not currently supported, but as things evolve rapidly in the BPF area,
> I want to make sure I'm not overlooking anything.
>
> So, is there a way to do this today?
You're quite right, there isn't. There's work in progress, though, which
will eventually allow this (for XDP):
https://lore.kernel.org/bpf/20200907082724.1721685-1-liuhangbin@gmail.com/
-Toke
next prev parent reply other threads:[~2020-10-04 21:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-04 21:03 Create copy of packate given to BPF Matheus Salgueiro Castanho
2020-10-04 21:20 ` Toke Høiland-Jørgensen [this message]
2020-10-05 12:13 ` Matheus Castanho
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sgatpu1a.fsf@toke.dk \
--to=toke@redhat.com \
--cc=matheus.castanho@dcc.ufmg.br \
--cc=xdp-newbies@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.