KFunc bpf_ct_change_status
Change status of inserted nf_conn
Definition
Change the status field of the provided connection tracking entry.
This must be invoked for referenced PTR_TO_BTF_ID
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
.
status
: New status value.
int bpf_ct_change_status(struct nf_conn *nfct, u32 status)
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.