Skip to content

Commit

Permalink
Merge pull request #295 from ishitatsuyuki/ringbuf-codegen
Browse files Browse the repository at this point in the history
Codegen changes for RingBuf
  • Loading branch information
dave-tucker committed Jun 3, 2022
2 parents e2685c9 + 777e6a2 commit 934da6e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion xtask/src/codegen/aya.rs
Expand Up @@ -147,6 +147,8 @@ fn codegen_bindings(opts: &Options) -> Result<(), anyhow::Error> {
"TC_H_MIN_PRIORITY",
"TC_H_MIN_INGRESS",
"TC_H_MIN_EGRESS",
// Ringbuf
"BPF_RINGBUF_.*",
];

let dir = PathBuf::from("aya");
Expand Down Expand Up @@ -193,7 +195,10 @@ fn codegen_bindings(opts: &Options) -> Result<(), anyhow::Error> {
.allowlist_var(x)
.constified_enum("BPF_F_.*")
.constified_enum("BTF_KIND_.*")
.constified_enum("BTF_VAR_.*");
.constified_enum("BTF_VAR_.*")
.constified_enum("IFLA_.*")
.constified_enum("TCA_.*")
.constified_enum("BPF_RINGBUF_.*");
}

for x in &types {
Expand Down

0 comments on commit 934da6e

Please sign in to comment.