]>
git.saurik.com Git - apple/mdnsresponder.git/blob - unittests/InterfaceTest.c
1 #include "InterfaceTest.h"
2 #include "mDNSEmbeddedAPI.h"
5 NetworkInterfaceInfo
*intf
;
8 int LocalSubnetTest(void);
10 UNITTEST_HEADER(InterfaceTest
)
11 UNITTEST_TEST(LocalSubnetTest
)
14 UNITTEST_HEADER(LocalSubnetTest
)
15 // need a way to initialize m before we call into the class of APIs that use a ptr to mDNS
16 // should that pointer be common to all tests?
17 // mDNS_AddressIsLocalSubnet(mDNS *const m, const mDNSInterfaceID InterfaceID, const mDNSAddr *addr)
18 // TEST_ASSERT_RETURN (for IPv4/IPv6 local subnet)