KFunc bpf_ct_change_timeout
Change timeout of inserted nf_conn
Definition
Change timeout associated of the inserted or looked up nf_conn
.
This helper must be invoked for refcounted pointer to nf_conn
.
Parameters
nfct
: Pointer to referenced nf_conn object, obtained using bpf_ct_insert_entry
, bpf_xdp_ct_lookup
, or bpf_skb_ct_lookup
.
timeout
: New timeout in msecs.
int bpf_ct_change_timeout(struct nf_conn *nfct, u32 timeout)
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
See bpf_ct_set_nat_info
for an example of how to use this kfunc.