Skip to content

Helper function bpf_tcp_send_ack

v5.6

Definition

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

Send out a tcp-ack. tp is the in-kernel struct tcp_sock. rcv_nxt is the ack_seq to be sent out.

Returns

0 on success, or a negative error in case of failure.

static long (* const bpf_tcp_send_ack)(void *tp, __u32 rcv_nxt) = (void *) 116;

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