1 #include "DNSCommon.h" // Defines general DNS utility routines
3 mDNSexport mStatus
mDNS_InitStorage_ut(mDNS
*const m
, mDNS_PlatformSupport
*const p
,
4 CacheEntity
*rrcachestorage
, mDNSu32 rrcachesize
,
5 mDNSBool AdvertiseLocalAddresses
, mDNSCallback
*Callback
, void *Context
)
7 return mDNS_InitStorage(m
, p
, rrcachestorage
, rrcachesize
, AdvertiseLocalAddresses
, Callback
, Context
);
10 mDNSexport mStatus
ArpLogMsgTest(mDNS
*const m
, const ARP_EthIP
*const arp
, const mDNSInterfaceID InterfaceID
)
12 NetworkInterfaceInfo
*intf
= FirstInterfaceForID(m
, InterfaceID
);
13 static const char msg
[] = "ARP Req message";
14 LogMsg("Arp %-7s %s %.6a %.4a for %.4a",
15 intf
->ifname
, msg
, arp
->sha
.b
, arp
->spa
.b
, arp
->tpa
.b
);
16 return mStatus_NoError
;