mirror of
https://github.com/netdata/libbpf.git
synced 2026-04-09 01:59:06 +08:00
sync: auto-generate latest BPF helpers
Latest changes to BPF helper definitions.
This commit is contained in:
committed by
Andrii Nakryiko
parent
d374094d8c
commit
b15d479ef7
@@ -27,6 +27,7 @@ struct tcp_sock;
|
|||||||
struct tcp_timewait_sock;
|
struct tcp_timewait_sock;
|
||||||
struct tcp_request_sock;
|
struct tcp_request_sock;
|
||||||
struct udp6_sock;
|
struct udp6_sock;
|
||||||
|
struct unix_sock;
|
||||||
struct task_struct;
|
struct task_struct;
|
||||||
struct __sk_buff;
|
struct __sk_buff;
|
||||||
struct sk_msg_md;
|
struct sk_msg_md;
|
||||||
@@ -4083,4 +4084,14 @@ static long (*bpf_get_branch_snapshot)(void *entries, __u32 size, __u64 flags) =
|
|||||||
*/
|
*/
|
||||||
static long (*bpf_trace_vprintk)(const char *fmt, __u32 fmt_size, const void *data, __u32 data_len) = (void *) 177;
|
static long (*bpf_trace_vprintk)(const char *fmt, __u32 fmt_size, const void *data, __u32 data_len) = (void *) 177;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* bpf_skc_to_unix_sock
|
||||||
|
*
|
||||||
|
* Dynamically cast a *sk* pointer to a *unix_sock* pointer.
|
||||||
|
*
|
||||||
|
* Returns
|
||||||
|
* *sk* if casting is valid, or **NULL** otherwise.
|
||||||
|
*/
|
||||||
|
static struct unix_sock *(*bpf_skc_to_unix_sock)(void *sk) = (void *) 178;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user