-
Notifications
You must be signed in to change notification settings - Fork 202
Closed
Description
On Unix:
data IPv4PktInfo = IPv4PktInfo Int HostAddress HostAddress deriving (Eq)
On Windows:
data IPv4PktInfo = IPv4PktInfo ULONG HostAddress deriving (Eq)
This difference makes cross-platform usage impossible.
On Unix, in_pktinfo is defined as follows:
struct in_pktinfo {
unsigned int ipi_ifindex; /* Interface index */
struct in_addr ipi_spec_dst; /* Local address */
struct in_addr ipi_addr; /* Header Destination address */
};
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels