// 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 // __BSD_VISIBLE { AF_APPLETALK = 16, AF_IPX = 23, } enum // __BSD_VISIBLE { SOCK_RDM = 4, } enum // __BSD_VISIBLE { MSG_NOSIGNAL = 0x20000, } enum // __BSD_VISIBLE { IPPROTO_IGMP = 2, IPPROTO_GGP = 3, IPPROTO_PUP = 12, IPPROTO_IDP = 22, IPPROTO_ND = 77, IPPROTO_MAX = 256, } enum // { INADDR_LOOPBACK = 0x7f000001, INADDR_NONE = 0xffffffff, }