diff options
| author | Jason Xing <[email protected]> | 2025-02-20 07:29:30 +0000 |
|---|---|---|
| committer | Martin KaFai Lau <[email protected]> | 2025-02-20 22:28:54 +0000 |
| commit | df600f3b1d7963e2203ebf0987f564946a2647f1 (patch) | |
| tree | 403a9725375a9c1910f7cea84e065b7dd2db5b08 /net/ipv4/tcp_input.c | |
| parent | bpf: Add networking timestamping support to bpf_get/setsockopt() (diff) | |
| download | kernel-df600f3b1d7963e2203ebf0987f564946a2647f1.tar.gz kernel-df600f3b1d7963e2203ebf0987f564946a2647f1.zip | |
bpf: Prepare the sock_ops ctx and call bpf prog for TX timestamping
This patch introduces a new bpf_skops_tx_timestamping() function
that prepares the "struct bpf_sock_ops" ctx and then executes the
sockops BPF program.
The subsequent patch will utilize bpf_skops_tx_timestamping() at
the existing TX timestamping kernel callbacks (__sk_tstamp_tx
specifically) to call the sockops BPF program. Later, four callback
points to report information to user space based on this patch will
be introduced.
Signed-off-by: Jason Xing <[email protected]>
Signed-off-by: Martin KaFai Lau <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions
