User Tools

Site Tools


ndo_change_carrier

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ndo_change_carrier [2018/08/04 16:31]
rpjday [include/linux/netdevice.h]
ndo_change_carrier [2018/08/04 17:31]
rpjday [Overview]
Line 1: Line 1:
 ===== Overview ===== ===== Overview =====
  
-Setting/​detecting carrier, and the subsequent implications of setting ''​net_device_ops''​ ''​ndo_change_carrier''​ field.+Setting/​detecting carrier, and the subsequent implications of setting ''​net_device_ops''​ ''​ndo_change_carrier''​ field (if any implications actually exist):
  
 ===== Normal behaviour ===== ===== Normal behaviour =====
Line 30: Line 30:
 </​code>​ </​code>​
  
-==== Checking for carrier ====+==== Checking for state of carrier ====
  
-Again from ''​netdevice;h'':​+Again from ''​netdevice.h'':​
  
 <​code>​ <​code>​
Line 50: Line 50:
 </​code>​ </​code>​
  
-Running?+==== Test for interface running ==== 
 + 
 +Still in ''​netdevice.h'':​
  
 <​code>​ <​code>​
Line 64: Line 66:
 } }
 </​code>​ </​code>​
-==== net/​sched/​sch_generic.c ​====+==== Test if carrier on or off ==== 
 + 
 +From ''​net/​sched/​sch_generic.c'':​
  
 <​code>​ <​code>​
ndo_change_carrier.txt · Last modified: 2018/08/04 17:31 by rpjday