Jinoh Kang (@iamahuman) commented about dlls/wpcap/wpcap.c:
{ struct sockaddr_in *dst, *src = (struct sockaddr_in *)addr; if (!(dst = calloc( 1, sizeof(*dst) ))) return NULL;
dst->sin_family = src->sin_family;
dst->sin_family = AF_INET;
We should declare separate structs for Unix pcap and Win32 (w)pcap instead.