File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -224,6 +224,11 @@ pub const IPPROTO_UDP: ::c_int = 17;
224
224
pub const IPPROTO_IP : :: c_int = 0 ;
225
225
pub const IPPROTO_IPV6 : :: c_int = 41 ;
226
226
227
+ pub const INADDR_LOOPBACK : :: c_int = 2130706433 ;
228
+ pub const INADDR_ANY : :: c_int = 0 ;
229
+ pub const INADDR_BROADCAST : :: c_int = 4294967295 ;
230
+ pub const INADDR_NONE : :: c_int = 4294967295 ;
231
+
227
232
cfg_if ! {
228
233
if #[ cfg( dox) ] {
229
234
// on dox builds don't pull in anything
Original file line number Diff line number Diff line change @@ -506,11 +506,6 @@ pub const SO_ERROR: ::c_int = 4105;
506
506
507
507
pub const SOCK_CLOEXEC : :: c_int = O_CLOEXEC ;
508
508
509
- pub const INADDR_LOOPBACK : :: c_int = 2130706433 ;
510
- pub const INADDR_ANY : :: c_int = 0 ;
511
- pub const INADDR_BROADCAST : :: c_int = 4294967295 ;
512
- pub const INADDR_NONE : :: c_int = 4294967295 ;
513
-
514
509
pub const INET_ADDRSTRLEN : :: c_int = 16 ;
515
510
516
511
pub const IPPROTO_IP : :: c_int = 0 ;
You can’t perform that action at this time.
0 commit comments