Merge pull request #266 from nak3/add-sk_type

xtask: Add `bpf_.*` instead of `bpf_map_.*` to allowed type
pull/267/head
Alessandro Decina 3 years ago committed by GitHub
commit daf3386601
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -46,12 +46,11 @@ pub fn codegen(opts: &Options) -> Result<(), anyhow::Error> {
.constified_enum("BPF_FLOW_.*");
let types = [
"bpf_map_.*",
"bpf_.*",
"sk_action",
"pt_regs",
"user_pt_regs",
"xdp_action",
"bpf_adj_room_mode",
];
let vars = ["BPF_.*", "bpf_.*", "TC_ACT_.*", "SOL_SOCKET", "SO_.*"];

Loading…
Cancel
Save