xtask: aya-bpf-bindings: generate bindings for xdp_action

pull/1/head
Alessandro Decina 3 years ago
parent e11edc072b
commit dda8534d9d

@ -37,7 +37,7 @@ pub fn codegen(opts: &Options) -> Result<(), anyhow::Error> {
.constified_enum("BPF_FIB_.*") .constified_enum("BPF_FIB_.*")
.constified_enum("BPF_FLOW_.*"); .constified_enum("BPF_FLOW_.*");
let types = ["bpf_map_.*", "sk_action", "pt_regs"]; let types = ["bpf_map_.*", "sk_action", "pt_regs", "xdp_action"];
let vars = ["BPF_.*", "bpf_.*"]; let vars = ["BPF_.*", "bpf_.*"];
for x in &types { for x in &types {

Loading…
Cancel
Save