File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
src/unix/linux_like/linux/musl Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,27 @@ s! {
117
117
__nsub2: :: size_t,
118
118
__padding2: :: c_char,
119
119
}
120
+
121
+ pub struct rtentry {
122
+ pub rt_pad1: :: c_ulong,
123
+ pub rt_dst: :: sockaddr,
124
+ pub rt_gateway: :: sockaddr,
125
+ pub rt_genmask: :: sockaddr,
126
+ pub rt_flags: :: c_ushort,
127
+ pub rt_pad2: :: c_short,
128
+ pub rt_pad3: :: c_ulong,
129
+ pub rt_tos: :: c_uchar,
130
+ pub rt_class: :: c_uchar,
131
+ #[ cfg( target_pointer_width = "64" ) ]
132
+ pub rt_pad4: [ :: c_short; 3usize ] ,
133
+ #[ cfg( not( target_pointer_width = "64" ) ) ]
134
+ pub rt_pad4: [ :: c_short; 1usize ] ,
135
+ pub rt_metric: :: c_short,
136
+ pub rt_dev: * mut :: c_char,
137
+ pub rt_mtu: :: c_ulong,
138
+ pub rt_window: :: c_ulong,
139
+ pub rt_irtt: :: c_ushort,
140
+ }
120
141
}
121
142
122
143
s_no_extra_traits ! {
You can’t perform that action at this time.
0 commit comments