Helper function bpf_tcp_raw_check_syncookie_ipv6
Definition
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 IPv6 header.
th points to the TCP header.
Returns
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.
-EPROTONOSUPPORT if CONFIG_IPV6 is not builtin.
static long (* const bpf_tcp_raw_check_syncookie_ipv6)(struct ipv6hdr *iph, struct tcphdr *th) = (void *) 207;
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