XDP-Newbies Archive mirror
 help / color / mirror / Atom feed
From: Matheus Salgueiro Castanho <matheus.castanho@dcc.ufmg.br>
To: xdp-newbies@vger.kernel.org
Subject: Create copy of packate given to BPF
Date: Sun, 4 Oct 2020 18:03:55 -0300	[thread overview]
Message-ID: <CAPyJoHk74hN6roX+-66fU1H03ZRsO5qtpGiH9mwiXzdzqqYpQw@mail.gmail.com> (raw)

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?

Thanks,
Matheus Castanho

             reply	other threads:[~2020-10-04 21:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-04 21:03 Matheus Salgueiro Castanho [this message]
2020-10-04 21:20 ` Create copy of packate given to BPF Toke Høiland-Jørgensen
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=CAPyJoHk74hN6roX+-66fU1H03ZRsO5qtpGiH9mwiXzdzqqYpQw@mail.gmail.com \
    --to=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).