lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANP3RGcxAOY6mBBqFa26Cc4s3++T0QH1z+mcLFbPGdbxZXqTYQ@mail.gmail.com>
Date:   Thu, 24 Jan 2019 03:27:07 -0800
From:   Maciej Żenczykowski <zenczykowski@...il.com>
To:     Alexei Starovoitov <ast@...nel.org>,
        Daniel Borkmann <daniel@...earbox.net>
Cc:     Linux NetDev <netdev@...r.kernel.org>
Subject: eBPF equivalent of SKF_AD_HATYPE / skb->dev->type

In classic BPF 'SKF_AD_HATYPE' can be used to fetch skb->dev->type.

Are my eyes deceiving me, or is there a similar way to get at it from eBPF?

(while we're at it, skb->dev->mtu would probably be useful too)

Cheers,
Maciej

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ