Skip to content

Helper function bpf_sk_fullsock

v5.1

Definition

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

This helper gets a struct bpf_sock pointer such that all the fields in this bpf_sock can be accessed.

Returns

A struct bpf_sock pointer on success, or NULL in case of failure.

static struct bpf_sock *(* const bpf_sk_fullsock)(struct bpf_sock *sk) = (void *) 95;

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