xtask: aya-bpf-bindings: add bpf_adj_room_mode

pull/25/head
Alessandro Decina 3 years ago
parent 8cd669ca9a
commit a847d6d53b

@ -42,7 +42,13 @@ 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", "xdp_action"]; let types = [
"bpf_map_.*",
"sk_action",
"pt_regs",
"xdp_action",
"bpf_adj_room_mode",
];
let vars = ["BPF_.*", "bpf_.*", "TC_ACT_.*", "SOL_SOCKET", "SO_.*"]; let vars = ["BPF_.*", "bpf_.*", "TC_ACT_.*", "SOL_SOCKET", "SO_.*"];
for x in &types { for x in &types {

Loading…
Cancel
Save