title | description |
---|---|
Helper Function 'bpf_tcp_raw_check_syncookie_ipv4' |
This page documents the 'bpf_tcp_raw_check_syncookie_ipv4' eBPF helper function, including its defintion, usage, program types that can use it, and examples. |
Copyright (c) 2015 The Libbpf Authors. All rights reserved.
Check whether iph and th contain a valid SYN cookie ACK without depending on a listening socket.
iph points to the IPv4 header.
th points to the TCP header.
0 if iph and th are a valid SYN cookie ACK.
On failure, the returned value is one of the following:
-EACCES if the SYN cookie is not valid.
#!c static long (* const bpf_tcp_raw_check_syncookie_ipv4)(struct iphdr *iph, struct tcphdr *th) = (void *) 206;
!!! example "Docs could be improved" This part of the docs is incomplete, contributions are very welcome
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