File tree 1 file changed +1
-3
lines changed
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 233
233
pub mr_ifindex: :: c_int,
234
234
pub mr_type: :: c_ushort,
235
235
pub mr_alen: :: c_ushort,
236
- pub mr_address: [ :: c_char ; 8 ] ,
236
+ pub mr_address: [ :: c_uchar ; 8 ] ,
237
237
}
238
238
239
239
pub struct cpu_set_t {
@@ -1307,7 +1307,6 @@ pub const CTRL_ATTR_MCAST_GRP_UNSPEC: ::c_int = 0;
1307
1307
pub const CTRL_ATTR_MCAST_GRP_NAME : :: c_int = 1 ;
1308
1308
pub const CTRL_ATTR_MCAST_GRP_ID : :: c_int = 2 ;
1309
1309
1310
-
1311
1310
// linux/if_packet.h
1312
1311
pub const PACKET_ADD_MEMBERSHIP : :: c_int = 1 ;
1313
1312
pub const PACKET_DROP_MEMBERSHIP : :: c_int = 2 ;
@@ -1317,7 +1316,6 @@ pub const PACKET_MR_PROMISC: ::c_int = 1;
1317
1316
pub const PACKET_MR_ALLMULTI : :: c_int = 2 ;
1318
1317
pub const PACKET_MR_UNICAST : :: c_int = 3 ;
1319
1318
1320
-
1321
1319
// linux/netfilter.h
1322
1320
pub const NF_DROP : :: c_int = 0 ;
1323
1321
pub const NF_ACCEPT : :: c_int = 1 ;
You can’t perform that action at this time.
0 commit comments