[Glibc-bsd-commits] r4079 - trunk/glibc-ports/kfreebsd/bits
Robert Millan
rmh at alioth.debian.org
Sat Feb 4 16:30:43 UTC 2012
Author: rmh
Date: 2012-02-04 16:30:43 +0000 (Sat, 04 Feb 2012)
New Revision: 4079
Modified:
trunk/glibc-ports/kfreebsd/bits/socket.h
Log:
Import struct sockproto. (Closes: #653380)
Modified: trunk/glibc-ports/kfreebsd/bits/socket.h
===================================================================
--- trunk/glibc-ports/kfreebsd/bits/socket.h 2012-02-04 16:20:40 UTC (rev 4078)
+++ trunk/glibc-ports/kfreebsd/bits/socket.h 2012-02-04 16:30:43 UTC (rev 4079)
@@ -56,6 +56,15 @@
#define SOCK_SEQPACKET SOCK_SEQPACKET
};
+/*
+ * Structure used by kernel to pass protocol
+ * information in raw sockets.
+ */
+struct sockproto {
+ unsigned short sp_family; /* address family */
+ unsigned short sp_protocol; /* protocol */
+};
+
/* Protocol families. */
#define PF_UNSPEC 0 /* Unspecified. */
#define PF_LOCAL 1 /* Local to host (pipes and file-domain). */
More information about the Glibc-bsd-commits
mailing list