Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
gcc.target
/
bpf
/
helper-set-hash.c
blob: cafe5399c7d392b78b1608b5489260b7eb47ae51 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-std=gnu99" } */
#include
<stdint.h>
#include
<bpf-helpers.h>
void
foo
()
{
uint32_t
ret
;
void
*
skb
;
uint32_t
hash
;
ret
=
bpf_set_hash
(
skb
,
hash
);
}
/* { dg-final { scan-assembler "call\t48" } } */