summaryrefslogtreecommitdiffstats
path: root/branches/1.0/tinyNET/test/test_dhcp6.h
diff options
context:
space:
mode:
Diffstat (limited to 'branches/1.0/tinyNET/test/test_dhcp6.h')
-rw-r--r--branches/1.0/tinyNET/test/test_dhcp6.h51
1 files changed, 0 insertions, 51 deletions
diff --git a/branches/1.0/tinyNET/test/test_dhcp6.h b/branches/1.0/tinyNET/test/test_dhcp6.h
deleted file mode 100644
index a132cca..0000000
--- a/branches/1.0/tinyNET/test/test_dhcp6.h
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
-* Copyright (C) 2009 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-#ifndef TNET_TEST_DHCP6_H
-#define TNET_TEST_DHCP6_H
-
-
-
-void test_dhcp6_requestinfo(tnet_dhcp6_ctx_t *ctx)
-{
- tnet_dhcp6_option_orequest_t *orequest = tnet_dhcp6_option_orequest_create_null();
- tnet_dhcp6_reply_t* reply = 0;
-
- tnet_dhcp6_option_orequest_add_code(orequest, 24);
- tnet_dhcp6_option_orequest_add_code(orequest, 23);
- tnet_dhcp6_option_orequest_add_code(orequest, 21); /* SIP Servers Domain Name List */
- tnet_dhcp6_option_orequest_add_code(orequest, 22); /* SIP Servers IPv6 Address List */
-
- reply = tnet_dhcp6_requestinfo(ctx, orequest);
-
- TSK_OBJECT_SAFE_FREE(orequest);
- TSK_OBJECT_SAFE_FREE(reply);
-}
-
-void test_dhcp6()
-{
- tnet_dhcp6_ctx_t *ctx = tnet_dhcp6_ctx_create();
- test_dhcp6_requestinfo(ctx);
-
- TSK_OBJECT_SAFE_FREE(ctx);
-}
-
-#endif /* TNET_TEST_DHCP6_H */
OpenPOWER on IntegriCloud