+ * Use a union for structs sockaddr, sockaddr_storage, sockaddr_in, and
+ sockaddr_in6 to remove casts and enable type checking. Collapse
+ some previously separate IPv4/IPv6 paths into a single codepath.
+(4.2.5p181) 2009/06/06 Released by Harlan Stenn <stenn@ntp.org>
+* [Bug 1206] Required compiler changes for Windows
+* [Bug 1084] PPSAPI for ntpd on Windows with DLL backends
+* [Bug 1204] Unix-style refclock device paths on Windows
+* [Bug 1205] partial fix, disable RDTSC use by default on Windows
+* [Bug 1208] decodenetnum() buffer overrun on [ with no ]
+* [Bug 1211] keysdir free()d twice #ifdef DEBUG
+* Enable ONCORE, ARCRON refclocks on Windows (untested)
+(4.2.5p180) 2009/05/29 Released by Harlan Stenn <stenn@ntp.org>
+* [Bug 1200] Enable IPv6 in Windows port
+* Lose FLAG_FIXPOLL, from Dave Mills.
+(4.2.5p179) 2009/05/23 Released by Harlan Stenn <stenn@ntp.org>
* [Bug 1041] xmt -> aorg timestamp cleanup from Dave Mills,
reported by Dave Hart.
* [Bug 1193] Compile error: conflicting types for emalloc.
long sent; /* number of outgoing packets */
long notsent; /* number of send failures */
u_int scopeid; /* Scope used for Multicasting */
- u_int ifindex; /* interface index */
u_int ifnum; /* sequential interface instance count */
- isc_boolean_t ignore_packets; /* Specify whether the packet should be ignored */
+ isc_boolean_t ignore_packets; /* listen-read-drop this? */
ISC_LIST(struct peer) peers; /* list of peers for the interface */
- u_int peercnt; /* number of peers referencinf this interface - informational only */
+ u_int peercnt; /* peers referencing this interface */
ISC_LINK(struct interface) link;/* interface list */
};
if (!Win32InitSockets())
{
- netsyslog(LOG_ERR, "No useable winsock.dll: %m");
+ msyslog(LOG_ERR, "No useable winsock.dll: %m");
exit(1);
}
-#if 0 /* transmitbuff code unused */
++# if 0 /* transmitbuff code unused */
+ init_transmitbuff();
-#endif
++# endif
#endif /* SYS_WINNT */
/*
static void
print_interface(struct interface *iface, char *pfx, char *sfx)
{
- printf("%sinterface #%d: fd=%d, bfd=%d, name=%s, flags=0x%x, scope=%d",
- printf("%sinterface #%d: fd=%d, bfd=%d, name=%s, flags=0x%x, scope=%d, ifindex=%d, sin=%s",
++ printf("%sinterface #%d: fd=%d, bfd=%d, name=%s, flags=0x%x, scope=%d, sin=%s",
pfx,
iface->ifnum,
iface->fd,
iface->bfd,
iface->name,
iface->flags,
- iface->scopeid);
- printf(", sin=%s",
- stoa((&iface->sin)));
- if (iface->flags & INT_BROADCAST)
- printf(", bcast=%s,",
- stoa((&iface->bcast)));
- if (iface->family == AF_INET)
- printf(", mask=%s",
- stoa((&iface->mask)));
- printf(", %s:%s", iface->ignore_packets == ISC_FALSE ? "Enabled" : "Disabled", sfx);
+ iface->scopeid,
- iface->ifindex,
+ stoa(&iface->sin));
+ if (AF_INET == iface->family) {
+ if (iface->flags & INT_BROADCAST)
+ printf(", bcast=%s", stoa(&iface->bcast));
+ printf(", mask=%s", stoa(&iface->mask));
+ }
+ printf(", %s:%s",
+ (iface->ignore_packets)
+ ? "Disabled"
+ : "Enabled",
+ sfx);
if (debug > 4) /* in-depth debugging only */
interface_dump(iface);
}
struct interface *inter,
struct pkt *pkt,
int len,
- struct sockaddr_storage *dest)
- sockaddr_u* dest)
++ sockaddr_u* dest
++ )
{
WSABUF wsabuf;
transmitbuf_t *buff;