Minor markup fixup from bpf-next into net-next merge in the BPF helper description of bpf_sk_lookup_tcp() and bpf_sk_lookup_udp(). Also sync up the copy of bpf.h from tooling infrastructure.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -2218,9 +2218,9 @@ union bpf_attr { · 2217 unmodified lines | ||
| 2218 | 2218 | * This helper is available only if the kernel was compiled with |
| 2219 | 2219 | * **CONFIG_NET** configuration option. |
| 2220 | 2220 | * Return |
| 2221 | − * Pointer to *struct bpf_sock*, or NULL in case of failure. | |
| 2222 | − * For sockets with reuseport option, the *struct bpf_sock* | |
| 2223 | − * result is from reuse->socks[] using the hash of the tuple. | |
| 2221 | + * Pointer to **struct bpf_sock**, or **NULL** in case of failure. | |
| 2222 | + * For sockets with reuseport option, the **struct bpf_sock** | |
| 2223 | + * result is from **reuse->socks**\ [] using the hash of the tuple. | |
| 2224 | 2224 | * |
| 2225 | 2225 | * struct bpf_sock *bpf_sk_lookup_udp(void *ctx, struct bpf_sock_tuple *tuple, u32 tuple_size, u64 netns, u64 flags) |
| 2226 | 2226 | * Description |
| @@ -2254,9 +2254,9 @@ union bpf_attr { · 27 unmodified lines | ||
| 2254 | 2254 | * This helper is available only if the kernel was compiled with |
| 2255 | 2255 | * **CONFIG_NET** configuration option. |
| 2256 | 2256 | * Return |
| 2257 | − * Pointer to *struct bpf_sock*, or NULL in case of failure. | |
| 2258 | − * For sockets with reuseport option, the *struct bpf_sock* | |
| 2259 | − * result is from reuse->socks[] using the hash of the tuple. | |
| 2257 | + * Pointer to **struct bpf_sock**, or **NULL** in case of failure. | |
| 2258 | + * For sockets with reuseport option, the **struct bpf_sock** | |
| 2259 | + * result is from **reuse->socks**\ [] using the hash of the tuple. | |
| 2260 | 2260 | * |
| 2261 | 2261 | * int bpf_sk_release(struct bpf_sock *sock) |
| 2262 | 2262 | * Description |