From 517a835fe4b4dc6056a0892b4aefb03f765d7dfa Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Wed, 22 Apr 2026 15:36:04 +0200 Subject: [PATCH] man/man7/bpf-helpers.7: Refresh page from Linux v7.0 Scripted change: $ ~/src/linux/linux/v7.0/scripts/bpf_doc.py \ | rst2man \ >man7/bpf-helpers.7; Signed-off-by: Alejandro Colomar --- man/man7/bpf-helpers.7 | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/man/man7/bpf-helpers.7 b/man/man7/bpf-helpers.7 index 01c2d87d9..6e4297540 100644 --- a/man/man7/bpf-helpers.7 +++ b/man/man7/bpf-helpers.7 @@ -1,4 +1,5 @@ -.\" Man page generated from reStructuredText. +.\" Man page generated from reStructuredText +.\" by the Docutils 0.22.4 manpage writer. . . .nr rst2man-indent-level 0 @@ -27,8 +28,8 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "BPF-HELPERS" "7" "2025-06-26" "Linux v6.17" -.SH NAME +.TH "BPF-HELPERS" "7" "2025-10-27" "Linux v7.0" +.SH Name BPF-HELPERS \- list of eBPF helper functions .\" Copyright (C) All BPF authors and contributors from 2014 to present. . @@ -3838,7 +3839,7 @@ Delete a bpf_local_storage from an \fIinode\fP\&. \fB\-ENOENT\fP if the bpf_local_storage cannot be found. .UNINDENT .TP -.B \fBlong bpf_d_path(struct path *\fP\fIpath\fP\fB, char *\fP\fIbuf\fP\fB, u32\fP \fIsz\fP\fB)\fP +.B \fBlong bpf_d_path(const struct path *\fP\fIpath\fP\fB, char *\fP\fIbuf\fP\fB, u32\fP \fIsz\fP\fB)\fP .INDENT 7.0 .TP .B Description @@ -4717,7 +4718,7 @@ mono delivery time to __sk_buff\->tstamp and then bpf_redirect_*() to the egress of an iface. For example, changing the (rcv) timestamp in __sk_buff\->tstamp at ingress to a mono delivery time and then bpf_redirect_*() -to \&. +to \%\&. .TP .B Return 0 on success. @@ -4777,7 +4778,7 @@ Dynamically cast a \fIsk\fP pointer to a \fImptcp_sock\fP pointer. \fIsk\fP if casting is valid, or \fBNULL\fP otherwise. .UNINDENT .TP -.B \fBlong bpf_dynptr_from_mem(void *\fP\fIdata\fP\fB, u32\fP \fIsize\fP\fB, u64\fP \fIflags\fP\fB, struct bpf_dynptr *\fP\fIptr\fP\fB)\fP +.B \fBlong bpf_dynptr_from_mem(void *\fP\fIdata\fP\fB, u64\fP \fIsize\fP\fB, u64\fP \fIflags\fP\fB, struct bpf_dynptr *\fP\fIptr\fP\fB)\fP .INDENT 7.0 .TP .B Description @@ -4836,7 +4837,7 @@ For more information on \fIflags\fP, please see Nothing. Always succeeds. .UNINDENT .TP -.B \fBlong bpf_dynptr_read(void *\fP\fIdst\fP\fB, u32\fP \fIlen\fP\fB, const struct bpf_dynptr *\fP\fIsrc\fP\fB, u32\fP \fIoffset\fP\fB, u64\fP \fIflags\fP\fB)\fP +.B \fBlong bpf_dynptr_read(void *\fP\fIdst\fP\fB, u64\fP \fIlen\fP\fB, const struct bpf_dynptr *\fP\fIsrc\fP\fB, u64\fP \fIoffset\fP\fB, u64\fP \fIflags\fP\fB)\fP .INDENT 7.0 .TP .B Description @@ -4850,7 +4851,7 @@ of \fIsrc\fP\(aqs data, \-EINVAL if \fIsrc\fP is an invalid dynptr or if \fIflags\fP is not 0. .UNINDENT .TP -.B \fBlong bpf_dynptr_write(const struct bpf_dynptr *\fP\fIdst\fP\fB, u32\fP \fIoffset\fP\fB, void *\fP\fIsrc\fP\fB, u32\fP \fIlen\fP\fB, u64\fP \fIflags\fP\fB)\fP +.B \fBlong bpf_dynptr_write(const struct bpf_dynptr *\fP\fIdst\fP\fB, u64\fP \fIoffset\fP\fB, void *\fP\fIsrc\fP\fB, u64\fP \fIlen\fP\fB, u64\fP \fIflags\fP\fB)\fP .INDENT 7.0 .TP .B Description @@ -4880,7 +4881,7 @@ is a read\-only dynptr or if \fIflags\fP is not correct. For skb\-type dynptrs, other errors correspond to errors returned by \fBbpf_skb_store_bytes\fP(). .UNINDENT .TP -.B \fBvoid *bpf_dynptr_data(const struct bpf_dynptr *\fP\fIptr\fP\fB, u32\fP \fIoffset\fP\fB, u32\fP \fIlen\fP\fB)\fP +.B \fBvoid *bpf_dynptr_data(const struct bpf_dynptr *\fP\fIptr\fP\fB, u64\fP \fIoffset\fP\fB, u64\fP \fIlen\fP\fB)\fP .INDENT 7.0 .TP .B Description @@ -5180,5 +5181,4 @@ pointers for network processing are listed in function \fBsendmsg\fP(2), \fBsocket\fP(7), \fBtc\-bpf\fP(8) -.\" Generated by docutils manpage writer. -. +.\" End of generated man page. -- 2.47.3