Mercurial > projects > ldc
comparison lphobos/std/c/linux/socket.d @ 88:058d3925950e trunk
[svn r92] Fixed support for statically initialized unions. lots of bugfixes as cleanups too.
author | lindquist |
---|---|
date | Tue, 06 Nov 2007 10:03:14 +0100 |
parents | c53b6e3fe49a |
children | 70d6113eeb8c |
comparison
equal
deleted
inserted
replaced
87:25d4fcce53f4 | 88:058d3925950e |
---|---|
329 uint16_t[8] s6_addr16; | 329 uint16_t[8] s6_addr16; |
330 uint32_t[4] s6_addr32; | 330 uint32_t[4] s6_addr32; |
331 } | 331 } |
332 | 332 |
333 | 333 |
334 const in6_addr IN6ADDR_ANY = { s6_addr8: [0] }; | 334 const in6_addr IN6ADDR_ANY; |
335 const in6_addr IN6ADDR_LOOPBACK = { s6_addr8: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1] }; | 335 const in6_addr IN6ADDR_LOOPBACK = { s6_addr8: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1] }; |
336 //alias IN6ADDR_ANY IN6ADDR_ANY_INIT; | 336 //alias IN6ADDR_ANY IN6ADDR_ANY_INIT; |
337 //alias IN6ADDR_LOOPBACK IN6ADDR_LOOPBACK_INIT; | 337 //alias IN6ADDR_LOOPBACK IN6ADDR_LOOPBACK_INIT; |
338 | 338 |
339 const uint INET_ADDRSTRLEN = 16; | 339 const uint INET_ADDRSTRLEN = 16; |