2 * D header file for POSIX.
4 * Copyright: Public Domain
5 * License: Public Domain
7 * Standards: The Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 Edition
9 module stdc.posix.net.if_;
11 private import stdc.posix.config;
19 struct if_nameindex // renamed to if_nameindex_t
27 uint if_nametoindex(in char*);
28 char* if_indextoname(uint, char*);
29 if_nameindex_t* if_nameindex();
30 void if_freenameindex(if_nameindex_t*);
41 const IF_NAMESIZE = 16;
43 uint if_nametoindex(in char*);
44 char* if_indextoname(uint, char*);
45 if_nameindex_t* if_nameindex();
46 void if_freenameindex(if_nameindex_t*);
48 else version( darwin )
56 const IF_NAMESIZE = 16;
58 uint if_nametoindex(in char*);
59 char* if_indextoname(uint, char*);
60 if_nameindex_t* if_nameindex();
61 void if_freenameindex(if_nameindex_t*);
63 else version( freebsd )
71 const IF_NAMESIZE = 16;
73 uint if_nametoindex(in char*);
74 char* if_indextoname(uint, char*);
75 if_nameindex_t* if_nameindex();
76 void if_freenameindex(if_nameindex_t*);