summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/bpf/helper-tcp-check-syncookie.c
blob: 95846c6f2d7b3982610dcabe7cfb914d4079c2c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* { dg-do compile } */

#include <stdint.h>

void
foo ()
{
  int ret;
  void *sk, *iph, *th;
  uint32_t iph_len, th_len;
  
  ret = __builtin_bpf_helper_tcp_check_syncookie (sk, iph,
						  iph_len,
						  th, th_len);
}

/* { dg-final { scan-assembler "call\t100" } } */