Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 1.57 KB

bpf_skc_to_tcp_request_sock.md

File metadata and controls

47 lines (32 loc) · 1.57 KB
title description
Helper Function 'bpf_skc_to_tcp_request_sock'
This page documents the 'bpf_skc_to_tcp_request_sock' eBPF helper function, including its defintion, usage, program types that can use it, and examples.

Helper function bpf_skc_to_tcp_request_sock

:octicons-tag-24: v5.9

Definition

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

Dynamically cast a sk pointer to a tcp_request_sock pointer.

Returns

sk if casting is valid, or NULL otherwise.

#!c static struct tcp_request_sock *(* const bpf_skc_to_tcp_request_sock)(void *sk) = (void *) 139;

Usage

!!! example "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

!!! example "Docs could be improved" This part of the docs is incomplete, contributions are very welcome