Page Menu
Home
VyOS Platform
Search
Configure Global Search
Log In
Files
F118305600
common_libbpf.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
594 B
Referenced Files
None
Subscribers
None
common_libbpf.h
View Options
/* Common function that with time should be moved to libbpf */
#ifndef __COMMON_LIBBPF_H
#define __COMMON_LIBBPF_H
struct
bpf_pinned_map
{
const
char
*
name
;
const
char
*
filename
;
int
map_fd
;
};
/* bpf_prog_load_attr extended */
struct
bpf_prog_load_attr_maps
{
const
char
*
file
;
enum
bpf_prog_type
prog_type
;
enum
bpf_attach_type
expected_attach_type
;
int
ifindex
;
int
nr_pinned_maps
;
struct
bpf_pinned_map
*
pinned_maps
;
};
int
bpf_prog_load_xattr_maps
(
const
struct
bpf_prog_load_attr_maps
*
attr
,
struct
bpf_object
**
pobj
,
int
*
prog_fd
);
#endif
/* __COMMON_LIBBPF_H */
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sat, Oct 17, 12:05 AM (1 d, 1 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4402899
Default Alt Text
common_libbpf.h (594 B)
Attached To
Mode
rVYOSONEX vyos-1x
Attached
Detach File
Event Timeline
Log In to Comment