X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/9bccf70c0258c7cac2dcb80011b2a964d884c552..ccc36f2f2d89f9115c479db4439aa5c88de5b44a:/bsd/netinet/in_var.h?ds=sidebyside diff --git a/bsd/netinet/in_var.h b/bsd/netinet/in_var.h index 0c9d8c829..e33e1ea2e 100644 --- a/bsd/netinet/in_var.h +++ b/bsd/netinet/in_var.h @@ -105,7 +105,7 @@ struct in_aliasreq { * Event data, internet style. */ struct kev_in_data { - struct net_event_data link_data; + struct net_event_data link_data; struct in_addr ia_addr; u_long ia_net; /* network number of interface */ u_long ia_netmask; /* mask of net part */ @@ -115,6 +115,13 @@ struct kev_in_data { struct in_addr ia_dstaddr; }; +struct kev_in_collision { + struct net_event_data link_data; /* link colliding arp was received on */ + struct in_addr ia_ipaddr; /* IP address we and another node are using */ + u_char hw_len; /* length of hardware address */ + u_char hw_addr[0]; /* variable length hardware address */ +}; + /* * Define inet event subclass and specific inet events. @@ -128,6 +135,7 @@ struct kev_in_data { #define KEV_INET_SIFDSTADDR 4 #define KEV_INET_SIFBRDADDR 5 #define KEV_INET_SIFNETMASK 6 +#define KEV_INET_ARPCOLLISION 7 /* use kev_in_collision */ #endif /* __APPLE__ */ /*