/usr/lib/gcc-cross/arm-linux-gnueabi/5/include/d/std/c/freebsd/socket.d is in libphobos-5-dev-armel-cross 5.3.1-14ubuntu2cross1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | // Written in the D programming language.
/*
* This module is just for making std.socket work under FreeBSD, and these
* definitions should actually be in druntime. (core.sys.posix.netdb or sth)
*/
module std.c.freebsd.socket;
public import core.sys.posix.netdb;
import core.sys.posix.sys.socket;
extern(C):
enum // <sys/socket.h> __BSD_VISIBLE
{
AF_APPLETALK = 16,
AF_IPX = 23,
}
enum // <sys/socket.h> __BSD_VISIBLE
{
SOCK_RDM = 4,
}
enum // <sys/socket.h> __BSD_VISIBLE
{
MSG_NOSIGNAL = 0x20000,
}
enum // <netinet/in.h> __BSD_VISIBLE
{
IPPROTO_IGMP = 2,
IPPROTO_GGP = 3,
IPPROTO_PUP = 12,
IPPROTO_IDP = 22,
IPPROTO_ND = 77,
IPPROTO_MAX = 256,
}
enum // <netinet/in.h>
{
INADDR_LOOPBACK = 0x7f000001,
INADDR_NONE = 0xffffffff,
}
|