瀏覽代碼

Merge pull request #1006 from astoycos/tcx-return

codegen: add `tcx_action_base` enum to bindings
Dave Tucker 7 月之前
父節點
當前提交
2a459a4005
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      xtask/src/codegen/aya_ebpf_bindings.rs

+ 1 - 0
xtask/src/codegen/aya_ebpf_bindings.rs

@@ -57,6 +57,7 @@ pub fn codegen(opts: &SysrootOptions, libbpf_dir: &Path) -> Result<(), anyhow::E
             "user_pt_regs",
             "user_regs_struct",
             "xdp_action",
+            "tcx_action_base",
         ];
         let vars = ["BPF_.*", "bpf_.*", "TC_ACT_.*", "SOL_SOCKET", "SO_.*"];