diff options
Diffstat (limited to 'networking/nameif.c')
-rw-r--r-- | networking/nameif.c | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/networking/nameif.c b/networking/nameif.c index 78719edac..5d7e8f9a4 100644 --- a/networking/nameif.c +++ b/networking/nameif.c | |||
@@ -61,7 +61,6 @@ | |||
61 | //usage: "\n [mac=]XX:XX:XX:XX:XX:XX" | 61 | //usage: "\n [mac=]XX:XX:XX:XX:XX:XX" |
62 | //usage: ) | 62 | //usage: ) |
63 | //usage: "\n" | 63 | //usage: "\n" |
64 | //usage: "\nOptions:" | ||
65 | //usage: "\n -c FILE Configuration file (default: /etc/mactab)" | 64 | //usage: "\n -c FILE Configuration file (default: /etc/mactab)" |
66 | //usage: "\n -s Log to syslog" | 65 | //usage: "\n -s Log to syslog" |
67 | //usage: | 66 | //usage: |
@@ -122,20 +121,20 @@ struct ethtool_drvinfo { | |||
122 | }; | 121 | }; |
123 | 122 | ||
124 | struct ethtool_cmd { | 123 | struct ethtool_cmd { |
125 | __u32 cmd; | 124 | uint32_t cmd; |
126 | __u32 supported; /* Features this interface supports */ | 125 | uint32_t supported; /* Features this interface supports */ |
127 | __u32 advertising; /* Features this interface advertises */ | 126 | uint32_t advertising; /* Features this interface advertises */ |
128 | __u16 speed; /* The forced speed, 10Mb, 100Mb, gigabit */ | 127 | uint16_t speed; /* The forced speed, 10Mb, 100Mb, gigabit */ |
129 | __u8 duplex; /* Duplex, half or full */ | 128 | uint8_t duplex; /* Duplex, half or full */ |
130 | __u8 port; /* Which connector port */ | 129 | uint8_t port; /* Which connector port */ |
131 | __u8 phy_address; | 130 | uint8_t phy_address; |
132 | __u8 transceiver; /* Which transceiver to use */ | 131 | uint8_t transceiver; /* Which transceiver to use */ |
133 | __u8 autoneg; /* Enable or disable autonegotiation */ | 132 | uint8_t autoneg; /* Enable or disable autonegotiation */ |
134 | __u32 maxtxpkt; /* Tx pkts before generating tx int */ | 133 | uint32_t maxtxpkt; /* Tx pkts before generating tx int */ |
135 | __u32 maxrxpkt; /* Rx pkts before generating rx int */ | 134 | uint32_t maxrxpkt; /* Rx pkts before generating rx int */ |
136 | __u16 speed_hi; | 135 | uint16_t speed_hi; |
137 | __u16 reserved2; | 136 | uint16_t reserved2; |
138 | __u32 reserved[3]; | 137 | uint32_t reserved[3]; |
139 | }; | 138 | }; |
140 | 139 | ||
141 | #define ETHTOOL_GSET 0x00000001 /* Get settings. */ | 140 | #define ETHTOOL_GSET 0x00000001 /* Get settings. */ |