Lines Matching refs:xattr
71 struct bpf_load_program_attr xattr = {};
76 xattr.expected_attach_type = BPF_CGROUP_INET4_CONNECT;
79 xattr.expected_attach_type = BPF_CGROUP_GETSOCKOPT;
82 xattr.expected_attach_type = BPF_SK_LOOKUP;
85 xattr.kern_version = get_kernel_version();
118 xattr.prog_type = prog_type;
119 xattr.insns = insns;
120 xattr.insns_cnt = insns_cnt;
121 xattr.license = "GPL";
122 xattr.prog_ifindex = ifindex;
124 fd = bpf_load_program_xattr(&xattr, buf, buf_len);