Skip to content

Helper function bpf_skc_to_mptcp_sock

v5.19

Definition

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

Dynamically cast a sk pointer to a mptcp_sock pointer.

Returns

sk if casting is valid, or NULL otherwise.

static struct mptcp_sock *(* const bpf_skc_to_mptcp_sock)(void *sk) = (void *) 196;

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