ubuntu-buildroot/output/build/host-gcc-initial-11.4.0/gcc/testsuite/gcc.target/bpf/helper-sk-lookup-upd.c

22 lines
338 B
C

/* { dg-do compile } */
/* { dg-options "-std=gnu99" } */
#include <stdint.h>
#include <bpf-helpers.h>
void
foo ()
{
void *ret;
void *ctx, *tuple;
uint32_t tuple_size;
uint64_t netns, flags;
ret = bpf_sk_lookup_udp (ctx,
tuple,
tuple_size,
netns, flags);
}
/* { dg-final { scan-assembler "call\t85" } } */