ubuntu-buildroot/output/build/host-gcc-initial-11.4.0/gcc/testsuite/gcc.target/bpf/helper-skb-change-tail.c

19 lines
277 B
C
Raw Permalink Normal View History

2024-04-01 15:19:46 +00:00
/* { dg-do compile } */
/* { dg-options "-std=gnu99" } */
#include <stdint.h>
#include <bpf-helpers.h>
void
foo ()
{
int ret;
void *skb;
uint32_t len;
uint64_t flags;
ret = bpf_skb_change_tail (skb, len, flags);
}
/* { dg-final { scan-assembler "call\t38" } } */