Skip to content

Commit 4233002

Browse files
committed
Fix formatting
1 parent 9258ea1 commit 4233002

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

src/unix/solarish/mod.rs

+5-4
Original file line numberDiff line numberDiff line change
@@ -1319,15 +1319,16 @@ pub const IFF_NOARP: ::c_int = 0x0000000080; // No address res. protocol
13191319
pub const IFF_PROMISC: ::c_int = 0x0000000100; // Receive all packets
13201320
pub const IFF_ALLMULTI: ::c_int = 0x0000000200; // Receive all multicast pkts
13211321
pub const IFF_INTELLIGENT: ::c_int = 0x0000000400; // Protocol code on board
1322-
// Supports multicast Multicast using broadcst. add.
1323-
pub const IFF_MULTICAST: ::c_int = 0x0000000800;
1322+
pub const IFF_MULTICAST: ::c_int = 0x0000000800; // Supports multicast
1323+
1324+
// Multicast using broadcst. add.
13241325
pub const IFF_MULTI_BCAST: ::c_int = 0x0000001000;
13251326
pub const IFF_UNNUMBERED: ::c_int = 0x0000002000; // Non-unique address
13261327
pub const IFF_DHCPRUNNING: ::c_int = 0x0000004000; // DHCP controls interface
13271328
pub const IFF_PRIVATE: ::c_int = 0x0000008000; // Do not advertise
1328-
// Do not transmit pkts
1329+
pub const IFF_NOXMIT: ::c_int = 0x0000010000; // Do not transmit pkts
1330+
13291331
// No address - just on-link subnet
1330-
pub const IFF_NOXMIT: ::c_int = 0x0000010000;
13311332
pub const IFF_NOLOCAL: ::c_int = 0x0000020000;
13321333
pub const IFF_DEPRECATED: ::c_int = 0x0000040000; // Address is deprecated
13331334
pub const IFF_ADDRCONF: ::c_int = 0x0000080000; // Addr. from stateless addrconf

src/unix/uclibc/mod.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -742,13 +742,15 @@ pub const IFF_NOTRAILERS: ::c_int = 0x20; // Avoid use of trailers.
742742
pub const IFF_RUNNING: ::c_int = 0x40; // Resources allocated.
743743
pub const IFF_NOARP: ::c_int = 0x80; // No address resolution protocol.
744744
pub const IFF_PROMISC: ::c_int = 0x100; // Receive all packets.
745-
// Not supported
745+
746+
// Not supported
746747
pub const IFF_ALLMULTI: ::c_int = 0x200; // Receive all multicast packets.
747748
pub const IFF_MASTER: ::c_int = 0x400; // Master of a load balancer.
748749
pub const IFF_SLAVE: ::c_int = 0x800; // Slave of a load balancer.
749750
pub const IFF_MULTICAST: ::c_int = 0x1000; // Supports multicast.
750751
pub const IFF_PORTSEL: ::c_int = 0x2000; // Can set media type.
751752
pub const IFF_AUTOMEDIA: ::c_int = 0x4000; // Auto media select active.
753+
752754
// Dialup device with changing addresses.
753755
pub const IFF_DYNAMIC: ::c_int = 0x8000;
754756

0 commit comments

Comments
 (0)