瀏覽代碼

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

Alessandro Decina 4 年之前
父節點
當前提交
dda8534d9d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      xtask/src/codegen/aya_bpf_bindings.rs

+ 1 - 1
xtask/src/codegen/aya_bpf_bindings.rs

@@ -37,7 +37,7 @@ pub fn codegen(opts: &Options) -> Result<(), anyhow::Error> {
             .constified_enum("BPF_FIB_.*")
             .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_.*"];
 
         for x in &types {