KFunc bpf_sock_ops_enable_tx_tstamp
Enable sock ops TX time-stamping callbacks for a given socket.
Definition
This kfunc enabled the BPF_SOCK_OPS_TSTAMP_SCHED_CB
, BPF_SOCK_OPS_TSTAMP_SND_SW_CB
, BPF_SOCK_OPS_TSTAMP_SND_HW_CB
and BPF_SOCK_OPS_TSTAMP_ACK_CB
Can only be called from BPF_SOCK_OPS_TSTAMP_SENDMSG_CB
Signature
int bpf_sock_ops_enable_tx_tstamp(struct bpf_sock_ops_kern *skops, u64 flags)
Usage
Docs could be improved
This part of the docs is incomplete, contributions are very welcome
Program types
The following program types can make use of this kfunc:
Example
Docs could be improved
This part of the docs is incomplete, contributions are very welcome