Sign in
fuchsia
/
third_party
/
github.com
/
moby
/
moby
/
100ff0de2e53010fb1cf170fdca6a4e80524df5b
/
.
/
contrib
/
syscall-test
/
raw.c
blob: 7995a0d3a5cc330603b906d2ecb4f2a8508b1262 [
file
] [
log
] [
blame
]
#include
<stdio.h>
#include
<unistd.h>
#include
<sys/socket.h>
#include
<netinet/ip.h>
#include
<netinet/udp.h>
int
main
()
{
if
(
socket
(
PF_INET
,
SOCK_RAW
,
IPPROTO_UDP
)
==
-
1
)
{
perror
(
"socket"
);
return
1
;
}
return
0
;
}