Re: [PATCH bpf-next v2 1/1] docs: BPF_MAP_TYPE_SOCK[MAP|HASH]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/12/2022 02:07, Bagas Sanjaya wrote:
On Thu, Dec 01, 2022 at 03:13:52PM +0000, mtahhan@xxxxxxxxxx wrote:
+When these maps are created BPF programs are attached to them. The list of
+allowed programs is shown below:
Automatically attached BPF programs?


I will rephrase to indicate that the user typically attaches the programs to the maps. and fix the rest of the comments in a respin.

Thanks.


Also, "The allowed programs are:"

+.. note::
+	For more details of the socket callbacks that get replaced please see:
+
+	- TCP BPF functions: ``net/ipv4/tcp_bpf.c``
+	- UDP BPF functions: ``net/ipv4/udp_bpf.c``
"... please see ``net/ipv4/tcp_bpf.c`` and ``net/ipv4/udp_bpf.c`` for
TCP and UDP functions, respectively"

Otherwise LGTM.





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux