[Glibc-bsd-commits] r1573 - trunk/glibc-2.3-head/sysdeps/kfreebsd/netinet

Petr Salinger ps-guest at costa.debian.org
Mon May 22 10:46:32 UTC 2006


Author: ps-guest
Date: 2006-05-22 10:46:32 +0000 (Mon, 22 May 2006)
New Revision: 1573

Modified:
   trunk/glibc-2.3-head/sysdeps/kfreebsd/netinet/if_ether.h
Log:
* re-add missing part of r1540, hopefully in glibc compatible way



Modified: trunk/glibc-2.3-head/sysdeps/kfreebsd/netinet/if_ether.h
===================================================================
--- trunk/glibc-2.3-head/sysdeps/kfreebsd/netinet/if_ether.h	2006-05-22 08:21:22 UTC (rev 1572)
+++ trunk/glibc-2.3-head/sysdeps/kfreebsd/netinet/if_ether.h	2006-05-22 10:46:32 UTC (rev 1573)
@@ -59,6 +59,7 @@
 
 #include <net/ethernet.h>
 #include <net/if_arp.h>
+#include <netinet/in.h>
 
 __BEGIN_DECLS
 /*
@@ -81,6 +82,16 @@
 #define	arp_pln	ea_hdr.ar_pln
 #define	arp_op	ea_hdr.ar_op
 
+struct sockaddr_inarp {
+	__SOCKADDR_COMMON (sin_);
+	in_port_t sin_port;                 /* Port number.  */
+	struct in_addr sin_addr;            /* Internet address.  */
+	struct in_addr sin_srcaddr;
+	unsigned short sin_tos;
+	unsigned short sin_other;
+#define SIN_PROXY 1
+};
+                                                                                                         
 /*
  * IP and ethernet specific routing flags
  */




More information about the Glibc-bsd-commits mailing list