Skip to content

Helper function bpf_sk_storage_delete

v5.2

Definition

Copyright (c) 2015 The Libbpf Authors. All rights reserved.

Delete a bpf-local-storage from a sk.

Returns

0 on success.

-ENOENT if the bpf-local-storage cannot be found. -EINVAL if sk is not a fullsock (e.g. a request_sock).

static long (* const bpf_sk_storage_delete)(void *map, void *sk) = (void *) 108;

Usage

Docs could be improved

This part of the docs is incomplete, contributions are very welcome

Program types

This helper call can be used in the following program types:

Example

Docs could be improved

This part of the docs is incomplete, contributions are very welcome