From: Joe Stringer <joe@wand.net.nz>
To: Joe Stringer <joe@wand.net.nz>
Cc: Alexei Starovoitov <alexei.starovoitov@gmail.com>,
daniel@iogearbox.net, netdev <netdev@vger.kernel.org>,
ast@kernel.org, john fastabend <john.fastabend@gmail.com>,
tgraf@suug.ch, Martin KaFai Lau <kafai@fb.com>,
Nitin Hande <nitin.hande@gmail.com>,
mauricio.vasquez@polito.it
Subject: Re: [PATCH bpf-next 07/11] bpf: Add helper to retrieve socket in BPF
Date: Thu, 13 Sep 2018 13:57:46 -0700 [thread overview]
Message-ID: <CAOftzPiMHcfTizeE1AD9Dd8SZ-oGb=DcnoxrL1eUkufGMspgwQ@mail.gmail.com> (raw)
In-Reply-To: <CAOftzPiG6JMb2=U3ZU9D2+0U=1zLqZPgax8OFRHF_1UTcs5Shw@mail.gmail.com>
On Thu, 13 Sep 2018 at 13:55, Joe Stringer <joe@wand.net.nz> wrote:
> struct bpf_sock_tuple4 {
> __be32 saddr;
> __be32 daddr;
> __be16 sport;
> __be16 dport;
> __u8 family;
> };
>
> struct bpf_sock_tuple6 {
> __be32 saddr[4];
> __be32 daddr[4];
> __be16 sport;
> __be16 dport;
> __u8 family;
> };
(ignore the family bit here, I forgot to remove it..)
next prev parent reply other threads:[~2018-09-14 2:09 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-13 19:06 [PATCH bpf-next 07/11] bpf: Add helper to retrieve socket in BPF Alexei Starovoitov
2018-09-13 20:55 ` Joe Stringer
2018-09-13 20:57 ` Joe Stringer [this message]
2018-09-13 21:01 ` Alexei Starovoitov
2018-09-13 21:17 ` Joe Stringer
2018-09-13 21:22 ` Alexei Starovoitov
2018-09-13 21:24 ` Joe Stringer
2018-09-13 22:23 ` Alexei Starovoitov
-- strict thread matches above, loose matches on Subject: below --
2018-09-12 0:36 [PATCH bpf-next 00/11] Add socket lookup support Joe Stringer
2018-09-12 0:36 ` [PATCH bpf-next 07/11] bpf: Add helper to retrieve socket in BPF Joe Stringer
2018-09-13 0:06 ` Alexei Starovoitov
2018-09-14 6:57 ` kbuild test robot
2018-09-14 7:11 ` kbuild test robot
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='CAOftzPiMHcfTizeE1AD9Dd8SZ-oGb=DcnoxrL1eUkufGMspgwQ@mail.gmail.com' \
--to=joe@wand.net.nz \
--cc=alexei.starovoitov@gmail.com \
--cc=ast@kernel.org \
--cc=daniel@iogearbox.net \
--cc=john.fastabend@gmail.com \
--cc=kafai@fb.com \
--cc=mauricio.vasquez@polito.it \
--cc=netdev@vger.kernel.org \
--cc=nitin.hande@gmail.com \
--cc=tgraf@suug.ch \
/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 NNTP newsgroup(s).