Initially working version of PlanetLab testbed implementation.
[nepi.git] / src / nepi / testbeds / planetlab / scripts / consts.c
1 #include <stdio.h>
2 #include <unistd.h>
3 #include <sys/socket.h>
4 #include <sys/ioctl.h>
5 #include <linux/ioctl.h>
6 #include <linux/if_tun.h>
7 #include <linux/if.h>
8
9 int main()
10 {
11         printf("ETH_P_ALL = 0x%08x\n", ETH_P_ALL);
12         printf("ETH_P_IP = 0x%08x\n", ETH_P_IP);
13         printf("TUNSETIFF = 0x%08x\n", TUNSETIFF);
14         printf("IFF_NO_PI = 0x%08x\n", IFF_NO_PI);
15         printf("IFF_TAP = 0x%08x\n", IFF_TAP);
16         printf("IFF_TUN = 0x%08x\n", IFF_TUN);
17         printf("IFF_VNET_HDR = 0x%08x\n", IFF_VNET_HDR);
18         printf("TUN_PKT_STRIP = 0x%08x\n", TUN_PKT_STRIP);
19         printf("IFHWADDRLEN = 0x%08x\n", IFHWADDRLEN);
20         printf("IFNAMSIZ = 0x%08x\n", IFNAMSIZ);
21         printf("IFREQ_SZ = 0x%08x\n", sizeof(struct ifreq));
22         printf("FIONREAD = 0x%08x\n", FIONREAD);
23         return 0;
24 }