Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| operstate [2018/08/27 08:39] – [netif_carrier_ok()] rpjday | operstate [2018/08/27 11:07] (current) – [Testing under sysfs] rpjday | ||
|---|---|---|---|
| Line 66: | Line 66: | ||
| ==== include/ | ==== include/ | ||
| + | |||
| + | Possible values for '' | ||
| < | < | ||
| Line 116: | Line 118: | ||
| ===== Testing under sysfs ===== | ===== Testing under sysfs ===== | ||
| - | Unplugging and plugging: | + | Unplugging and plugging |
| < | < | ||
| Line 201: | Line 203: | ||
| struct net_device *netdev = to_net_dev(dev); | struct net_device *netdev = to_net_dev(dev); | ||
| - | if (netif_running(netdev)) | + | if (netif_running(netdev)) |
| return sprintf(buf, | return sprintf(buf, | ||