diff options
| author | Jason Xing <kerneljasonxing@gmail.com> | 2025-02-20 10:29:29 +0300 |
|---|---|---|
| committer | Martin KaFai Lau <martin.lau@kernel.org> | 2025-02-21 01:28:37 +0300 |
| commit | 24e82b7c045ba5afde5bd81f691b7a72283de35e (patch) | |
| tree | 2dc9728e29a19a4c7cdb2e59b87f7ce4729c30de /rust/helpers/mutex.c | |
| parent | 09bc97bcf868af16a2cc78a1b8b6c9d31cbabd23 (diff) | |
| download | linux-24e82b7c045ba5afde5bd81f691b7a72283de35e.tar.xz | |
bpf: Add networking timestamping support to bpf_get/setsockopt()
The new SK_BPF_CB_FLAGS and new SK_BPF_CB_TX_TIMESTAMPING are
added to bpf_get/setsockopt. The later patches will implement the
BPF networking timestamping. The BPF program will use
bpf_setsockopt(SK_BPF_CB_FLAGS, SK_BPF_CB_TX_TIMESTAMPING) to
enable the BPF networking timestamping on a socket.
Signed-off-by: Jason Xing <kerneljasonxing@gmail.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20250220072940.99994-2-kerneljasonxing@gmail.com
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions
