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