File tree 2 files changed +9
-6
lines changed
2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 57
57
pub ifa_addr: * mut :: sockaddr,
58
58
pub ifa_netmask: * mut :: sockaddr,
59
59
pub ifa_dstaddr: * mut :: sockaddr,
60
- pub ifa_data: * mut :: c_void
60
+ pub ifa_data: * mut :: c_void,
61
+ #[ cfg( target_os = "netbsd" ) ]
62
+ pub ifa_addrflags: :: c_uint
61
63
}
62
64
63
65
pub struct fd_set {
Original file line number Diff line number Diff line change @@ -523,15 +523,16 @@ pub const AF_BLUETOOTH: ::c_int = 31;
523
523
pub const AF_IEEE80211 : :: c_int = 32 ;
524
524
pub const AF_MPLS : :: c_int = 33 ;
525
525
pub const AF_ROUTE : :: c_int = 34 ;
526
- pub const AF_MAX : :: c_int = 35 ;
526
+ pub const AF_MAX : :: c_int = 36 ;
527
527
528
528
pub const NET_MAXID : :: c_int = AF_MAX ;
529
529
pub const NET_RT_DUMP : :: c_int = 1 ;
530
530
pub const NET_RT_FLAGS : :: c_int = 2 ;
531
- pub const NET_RT_OOIFLIST : :: c_int = 3 ;
532
- pub const NET_RT_OIFLIST : :: c_int = 4 ;
533
- pub const NET_RT_IFLIST : :: c_int = 5 ;
534
- pub const NET_RT_MAXID : :: c_int = 6 ;
531
+ pub const NET_RT_OOOIFLIST : :: c_int = 3 ;
532
+ pub const NET_RT_OOIFLIST : :: c_int = 4 ;
533
+ pub const NET_RT_OIFLIST : :: c_int = 5 ;
534
+ pub const NET_RT_IFLIST : :: c_int = 6 ;
535
+ pub const NET_RT_MAXID : :: c_int = 7 ;
535
536
536
537
pub const PF_OROUTE : :: c_int = AF_OROUTE ;
537
538
pub const PF_ARP : :: c_int = AF_ARP ;
You can’t perform that action at this time.
0 commit comments