Add TUNGETIFF to constants, they're useful
authorClaudio-Daniel Freire <claudio-daniel.freire@inria.fr>
Mon, 16 May 2011 14:59:44 +0000 (16:59 +0200)
committerClaudio-Daniel Freire <claudio-daniel.freire@inria.fr>
Mon, 16 May 2011 14:59:44 +0000 (16:59 +0200)
src/nepi/testbeds/planetlab/scripts/consts.c
test/testbeds/planetlab/execute.py

index 283993f..5021eed 100644 (file)
@@ -10,6 +10,7 @@ int main()
 {
        printf("ETH_P_ALL = 0x%08x\n", ETH_P_ALL);
        printf("ETH_P_IP = 0x%08x\n", ETH_P_IP);
+       printf("TUNGETIFF = 0x%08x\n", TUNGETIFF);
        printf("TUNSETIFF = 0x%08x\n", TUNSETIFF);
        printf("IFF_NO_PI = 0x%08x\n", IFF_NO_PI);
        printf("IFF_TAP = 0x%08x\n", IFF_TAP);
index 260a006..d93068e 100755 (executable)
@@ -170,6 +170,7 @@ class PlanetLabExecuteTestCase(unittest.TestCase):
         comp_result = \
 r""".*ETH_P_ALL = 0x[0-9a-fA-F]{8}
 ETH_P_IP = 0x[0-9a-fA-F]{8}
+TUNGETIFF = 0x[0-9a-fA-F]{8}
 TUNSETIFF = 0x[0-9a-fA-F]{8}
 IFF_NO_PI = 0x[0-9a-fA-F]{8}
 IFF_TAP = 0x[0-9a-fA-F]{8}