sync: auto-generate latest BPF helpers
Latest changes to BPF helper definitions.
diff --git a/src/bpf_helper_defs.h b/src/bpf_helper_defs.h
index 872d812..4e85c13 100644
--- a/src/bpf_helper_defs.h
+++ b/src/bpf_helper_defs.h
@@ -34,6 +34,8 @@
struct path;
struct btf_ptr;
struct inode;
+struct socket;
+struct file;
/*
* bpf_map_lookup_elem
@@ -3717,4 +3719,16 @@
*/
static long (*bpf_ima_inode_hash)(struct inode *inode, void *dst, __u32 size) = (void *) 161;
+/*
+ * bpf_sock_from_file
+ *
+ * If the given file represents a socket, returns the associated
+ * socket.
+ *
+ * Returns
+ * A pointer to a struct socket on success or NULL if the file is
+ * not a socket.
+ */
+static struct socket *(*bpf_sock_from_file)(struct file *file) = (void *) 162;
+