1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>Chapter&#160;2.&#160;Network device support</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Linux Networking and Network Devices APIs"><link rel="up" href="index.html" title="Linux Networking and Network Devices APIs"><link rel="prev" href="API-enum-wimax-st.html" title="enum wimax_st"><link rel="next" href="API-dev-add-pack.html" title="dev_add_pack"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter&#160;2.&#160;Network device support</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-enum-wimax-st.html">Prev</a>&#160;</td><th width="60%" align="center">&#160;</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-dev-add-pack.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="netdev"></a>Chapter&#160;2.&#160;Network device support</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="sect1"><a href="netdev.html#idp1097739572">Driver Support</a></span></dt><dt><span class="sect1"><a href="ch02s02.html">PHY Support</a></span></dt></dl></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="idp1097739572"></a>Driver Support</h2></div></div></div><div class="toc"><dl class="toc"><dt><span class="refentrytitle"><a href="API-dev-add-pack.html"><span class="phrase">dev_add_pack</span></a></span><span class="refpurpose"> &#8212; 
2  add packet handler
3 </span></dt><dt><span class="refentrytitle"><a href="API---dev-remove-pack.html"><span class="phrase">__dev_remove_pack</span></a></span><span class="refpurpose"> &#8212; 
4     remove packet handler
5 </span></dt><dt><span class="refentrytitle"><a href="API-dev-remove-pack.html"><span class="phrase">dev_remove_pack</span></a></span><span class="refpurpose"> &#8212; 
6     remove packet handler
7 </span></dt><dt><span class="refentrytitle"><a href="API-dev-add-offload.html"><span class="phrase">dev_add_offload</span></a></span><span class="refpurpose"> &#8212; 
8     register offload handlers
9 </span></dt><dt><span class="refentrytitle"><a href="API-dev-remove-offload.html"><span class="phrase">dev_remove_offload</span></a></span><span class="refpurpose"> &#8212; 
10     remove packet offload handler
11 </span></dt><dt><span class="refentrytitle"><a href="API-netdev-boot-setup-check.html"><span class="phrase">netdev_boot_setup_check</span></a></span><span class="refpurpose"> &#8212; 
12     check boot time settings
13 </span></dt><dt><span class="refentrytitle"><a href="API-dev-get-iflink.html"><span class="phrase">dev_get_iflink</span></a></span><span class="refpurpose"> &#8212; 
14     get 'iflink' value of a interface
15 </span></dt><dt><span class="refentrytitle"><a href="API---dev-get-by-name.html"><span class="phrase">__dev_get_by_name</span></a></span><span class="refpurpose"> &#8212; 
16     find a device by its name
17 </span></dt><dt><span class="refentrytitle"><a href="API-dev-get-by-name-rcu.html"><span class="phrase">dev_get_by_name_rcu</span></a></span><span class="refpurpose"> &#8212; 
18     find a device by its name
19 </span></dt><dt><span class="refentrytitle"><a href="API-dev-get-by-name.html"><span class="phrase">dev_get_by_name</span></a></span><span class="refpurpose"> &#8212; 
20     find a device by its name
21 </span></dt><dt><span class="refentrytitle"><a href="API---dev-get-by-index.html"><span class="phrase">__dev_get_by_index</span></a></span><span class="refpurpose"> &#8212; 
22     find a device by its ifindex
23 </span></dt><dt><span class="refentrytitle"><a href="API-dev-get-by-index-rcu.html"><span class="phrase">dev_get_by_index_rcu</span></a></span><span class="refpurpose"> &#8212; 
24     find a device by its ifindex
25 </span></dt><dt><span class="refentrytitle"><a href="API-dev-get-by-index.html"><span class="phrase">dev_get_by_index</span></a></span><span class="refpurpose"> &#8212; 
26     find a device by its ifindex
27 </span></dt><dt><span class="refentrytitle"><a href="API-dev-getbyhwaddr-rcu.html"><span class="phrase">dev_getbyhwaddr_rcu</span></a></span><span class="refpurpose"> &#8212; 
28     find a device by its hardware address
29 </span></dt><dt><span class="refentrytitle"><a href="API---dev-get-by-flags.html"><span class="phrase">__dev_get_by_flags</span></a></span><span class="refpurpose"> &#8212; 
30     find any device with given flags
31 </span></dt><dt><span class="refentrytitle"><a href="API-dev-valid-name.html"><span class="phrase">dev_valid_name</span></a></span><span class="refpurpose"> &#8212; 
32     check if name is okay for network device
33 </span></dt><dt><span class="refentrytitle"><a href="API-dev-alloc-name.html"><span class="phrase">dev_alloc_name</span></a></span><span class="refpurpose"> &#8212; 
34     allocate a name for a device
35 </span></dt><dt><span class="refentrytitle"><a href="API-netdev-features-change.html"><span class="phrase">netdev_features_change</span></a></span><span class="refpurpose"> &#8212; 
36     device changes features
37 </span></dt><dt><span class="refentrytitle"><a href="API-netdev-state-change.html"><span class="phrase">netdev_state_change</span></a></span><span class="refpurpose"> &#8212; 
38     device changes state
39 </span></dt><dt><span class="refentrytitle"><a href="API-netdev-notify-peers.html"><span class="phrase">netdev_notify_peers</span></a></span><span class="refpurpose"> &#8212; 
40     notify network peers about existence of <em class="parameter"><code>dev</code></em>
41 </span></dt><dt><span class="refentrytitle"><a href="API-dev-open.html"><span class="phrase">dev_open</span></a></span><span class="refpurpose"> &#8212; 
42     prepare an interface for use.
43 </span></dt><dt><span class="refentrytitle"><a href="API-dev-close.html"><span class="phrase">dev_close</span></a></span><span class="refpurpose"> &#8212; 
44     shutdown an interface.
45 </span></dt><dt><span class="refentrytitle"><a href="API-dev-disable-lro.html"><span class="phrase">dev_disable_lro</span></a></span><span class="refpurpose"> &#8212; 
46     disable Large Receive Offload on a device
47 </span></dt><dt><span class="refentrytitle"><a href="API-register-netdevice-notifier.html"><span class="phrase">register_netdevice_notifier</span></a></span><span class="refpurpose"> &#8212; 
48     register a network notifier block
49 </span></dt><dt><span class="refentrytitle"><a href="API-unregister-netdevice-notifier.html"><span class="phrase">unregister_netdevice_notifier</span></a></span><span class="refpurpose"> &#8212; 
50     unregister a network notifier block
51 </span></dt><dt><span class="refentrytitle"><a href="API-call-netdevice-notifiers.html"><span class="phrase">call_netdevice_notifiers</span></a></span><span class="refpurpose"> &#8212; 
52     call all network notifier blocks
53 </span></dt><dt><span class="refentrytitle"><a href="API-dev-forward-skb.html"><span class="phrase">dev_forward_skb</span></a></span><span class="refpurpose"> &#8212; 
54     loopback an skb to another netif
55 </span></dt><dt><span class="refentrytitle"><a href="API-netif-set-real-num-rx-queues.html"><span class="phrase">netif_set_real_num_rx_queues</span></a></span><span class="refpurpose"> &#8212; 
56     set actual number of RX queues used
57 </span></dt><dt><span class="refentrytitle"><a href="API-netif-get-num-default-rss-queues.html"><span class="phrase">netif_get_num_default_rss_queues</span></a></span><span class="refpurpose"> &#8212; 
58     default number of RSS queues
59 </span></dt><dt><span class="refentrytitle"><a href="API-netif-wake-subqueue.html"><span class="phrase">netif_wake_subqueue</span></a></span><span class="refpurpose"> &#8212; 
60     allow sending packets on subqueue
61 </span></dt><dt><span class="refentrytitle"><a href="API-netif-device-detach.html"><span class="phrase">netif_device_detach</span></a></span><span class="refpurpose"> &#8212; 
62     mark device as removed
63 </span></dt><dt><span class="refentrytitle"><a href="API-netif-device-attach.html"><span class="phrase">netif_device_attach</span></a></span><span class="refpurpose"> &#8212; 
64     mark device as attached
65 </span></dt><dt><span class="refentrytitle"><a href="API-skb-mac-gso-segment.html"><span class="phrase">skb_mac_gso_segment</span></a></span><span class="refpurpose"> &#8212; 
66     mac layer segmentation handler.
67 </span></dt><dt><span class="refentrytitle"><a href="API---skb-gso-segment.html"><span class="phrase">__skb_gso_segment</span></a></span><span class="refpurpose"> &#8212; 
68     Perform segmentation on skb.
69 </span></dt><dt><span class="refentrytitle"><a href="API-dev-loopback-xmit.html"><span class="phrase">dev_loopback_xmit</span></a></span><span class="refpurpose"> &#8212; 
70     loop back <em class="parameter"><code>skb</code></em>
71 </span></dt><dt><span class="refentrytitle"><a href="API-rps-may-expire-flow.html"><span class="phrase">rps_may_expire_flow</span></a></span><span class="refpurpose"> &#8212; 
72     check whether an RFS hardware filter may be removed
73 </span></dt><dt><span class="refentrytitle"><a href="API-netif-rx.html"><span class="phrase">netif_rx</span></a></span><span class="refpurpose"> &#8212; 
74     post buffer to the network code
75 </span></dt><dt><span class="refentrytitle"><a href="API-netdev-rx-handler-register.html"><span class="phrase">netdev_rx_handler_register</span></a></span><span class="refpurpose"> &#8212; 
76     register receive handler
77 </span></dt><dt><span class="refentrytitle"><a href="API-netdev-rx-handler-unregister.html"><span class="phrase">netdev_rx_handler_unregister</span></a></span><span class="refpurpose"> &#8212; 
78     unregister receive handler
79 </span></dt><dt><span class="refentrytitle"><a href="API-netif-receive-skb-sk.html"><span class="phrase">netif_receive_skb_sk</span></a></span><span class="refpurpose"> &#8212; 
80     process receive buffer from network
81 </span></dt><dt><span class="refentrytitle"><a href="API---napi-schedule.html"><span class="phrase">__napi_schedule</span></a></span><span class="refpurpose"> &#8212; 
82     schedule for receive
83 </span></dt><dt><span class="refentrytitle"><a href="API---napi-schedule-irqoff.html"><span class="phrase">__napi_schedule_irqoff</span></a></span><span class="refpurpose"> &#8212; 
84     schedule for receive
85 </span></dt><dt><span class="refentrytitle"><a href="API-netdev-has-upper-dev.html"><span class="phrase">netdev_has_upper_dev</span></a></span><span class="refpurpose"> &#8212; 
86     Check if device is linked to an upper device
87 </span></dt><dt><span class="refentrytitle"><a href="API-netdev-master-upper-dev-get.html"><span class="phrase">netdev_master_upper_dev_get</span></a></span><span class="refpurpose"> &#8212; 
88     Get master upper device
89 </span></dt><dt><span class="refentrytitle"><a href="API-netdev-upper-get-next-dev-rcu.html"><span class="phrase">netdev_upper_get_next_dev_rcu</span></a></span><span class="refpurpose"> &#8212; 
90     Get the next dev from upper list
91 </span></dt><dt><span class="refentrytitle"><a href="API-netdev-all-upper-get-next-dev-rcu.html"><span class="phrase">netdev_all_upper_get_next_dev_rcu</span></a></span><span class="refpurpose"> &#8212; 
92     Get the next dev from upper list
93 </span></dt><dt><span class="refentrytitle"><a href="API-netdev-lower-get-next-private.html"><span class="phrase">netdev_lower_get_next_private</span></a></span><span class="refpurpose"> &#8212; 
94     Get the next -&gt;private from the lower neighbour list
95 </span></dt><dt><span class="refentrytitle"><a href="API-netdev-lower-get-next-private-rcu.html"><span class="phrase">netdev_lower_get_next_private_rcu</span></a></span><span class="refpurpose"> &#8212; 
96     Get the next -&gt;private from the lower neighbour list, RCU variant
97 </span></dt><dt><span class="refentrytitle"><a href="API-netdev-lower-get-next.html"><span class="phrase">netdev_lower_get_next</span></a></span><span class="refpurpose"> &#8212; 
98     Get the next device from the lower neighbour list
99 </span></dt><dt><span class="refentrytitle"><a href="API-netdev-lower-get-first-private-rcu.html"><span class="phrase">netdev_lower_get_first_private_rcu</span></a></span><span class="refpurpose"> &#8212; 
100     Get the first -&gt;private from the lower neighbour list, RCU variant
101 </span></dt><dt><span class="refentrytitle"><a href="API-netdev-master-upper-dev-get-rcu.html"><span class="phrase">netdev_master_upper_dev_get_rcu</span></a></span><span class="refpurpose"> &#8212; 
102     Get master upper device
103 </span></dt><dt><span class="refentrytitle"><a href="API-netdev-upper-dev-link.html"><span class="phrase">netdev_upper_dev_link</span></a></span><span class="refpurpose"> &#8212; 
104     Add a link to the upper device
105 </span></dt><dt><span class="refentrytitle"><a href="API-netdev-master-upper-dev-link.html"><span class="phrase">netdev_master_upper_dev_link</span></a></span><span class="refpurpose"> &#8212; 
106     Add a master link to the upper device
107 </span></dt><dt><span class="refentrytitle"><a href="API-netdev-upper-dev-unlink.html"><span class="phrase">netdev_upper_dev_unlink</span></a></span><span class="refpurpose"> &#8212; 
108     Removes a link to upper device
109 </span></dt><dt><span class="refentrytitle"><a href="API-netdev-bonding-info-change.html"><span class="phrase">netdev_bonding_info_change</span></a></span><span class="refpurpose"> &#8212; 
110     Dispatch event about slave change
111 </span></dt><dt><span class="refentrytitle"><a href="API-dev-set-promiscuity.html"><span class="phrase">dev_set_promiscuity</span></a></span><span class="refpurpose"> &#8212; 
112     update promiscuity count on a device
113 </span></dt><dt><span class="refentrytitle"><a href="API-dev-set-allmulti.html"><span class="phrase">dev_set_allmulti</span></a></span><span class="refpurpose"> &#8212; 
114     update allmulti count on a device
115 </span></dt><dt><span class="refentrytitle"><a href="API-dev-get-flags.html"><span class="phrase">dev_get_flags</span></a></span><span class="refpurpose"> &#8212; 
116     get flags reported to userspace
117 </span></dt><dt><span class="refentrytitle"><a href="API-dev-change-flags.html"><span class="phrase">dev_change_flags</span></a></span><span class="refpurpose"> &#8212; 
118     change device settings
119 </span></dt><dt><span class="refentrytitle"><a href="API-dev-set-mtu.html"><span class="phrase">dev_set_mtu</span></a></span><span class="refpurpose"> &#8212; 
120     Change maximum transfer unit
121 </span></dt><dt><span class="refentrytitle"><a href="API-dev-set-group.html"><span class="phrase">dev_set_group</span></a></span><span class="refpurpose"> &#8212; 
122     Change group this device belongs to
123 </span></dt><dt><span class="refentrytitle"><a href="API-dev-set-mac-address.html"><span class="phrase">dev_set_mac_address</span></a></span><span class="refpurpose"> &#8212; 
124     Change Media Access Control Address
125 </span></dt><dt><span class="refentrytitle"><a href="API-dev-change-carrier.html"><span class="phrase">dev_change_carrier</span></a></span><span class="refpurpose"> &#8212; 
126     Change device carrier
127 </span></dt><dt><span class="refentrytitle"><a href="API-dev-get-phys-port-id.html"><span class="phrase">dev_get_phys_port_id</span></a></span><span class="refpurpose"> &#8212; 
128     Get device physical port ID
129 </span></dt><dt><span class="refentrytitle"><a href="API-dev-get-phys-port-name.html"><span class="phrase">dev_get_phys_port_name</span></a></span><span class="refpurpose"> &#8212; 
130     Get device physical port name
131 </span></dt><dt><span class="refentrytitle"><a href="API-netdev-update-features.html"><span class="phrase">netdev_update_features</span></a></span><span class="refpurpose"> &#8212; 
132     recalculate device features
133 </span></dt><dt><span class="refentrytitle"><a href="API-netdev-change-features.html"><span class="phrase">netdev_change_features</span></a></span><span class="refpurpose"> &#8212; 
134     recalculate device features
135 </span></dt><dt><span class="refentrytitle"><a href="API-netif-stacked-transfer-operstate.html"><span class="phrase">netif_stacked_transfer_operstate</span></a></span><span class="refpurpose"> &#8212; 
136     transfer operstate
137 </span></dt><dt><span class="refentrytitle"><a href="API-register-netdevice.html"><span class="phrase">register_netdevice</span></a></span><span class="refpurpose"> &#8212; 
138     register a network device
139 </span></dt><dt><span class="refentrytitle"><a href="API-init-dummy-netdev.html"><span class="phrase">init_dummy_netdev</span></a></span><span class="refpurpose"> &#8212; 
140     init a dummy network device for NAPI
141 </span></dt><dt><span class="refentrytitle"><a href="API-register-netdev.html"><span class="phrase">register_netdev</span></a></span><span class="refpurpose"> &#8212; 
142     register a network device
143 </span></dt><dt><span class="refentrytitle"><a href="API-dev-get-stats.html"><span class="phrase">dev_get_stats</span></a></span><span class="refpurpose"> &#8212; 
144     get network device statistics
145 </span></dt><dt><span class="refentrytitle"><a href="API-alloc-netdev-mqs.html"><span class="phrase">alloc_netdev_mqs</span></a></span><span class="refpurpose"> &#8212; 
146     allocate network device
147 </span></dt><dt><span class="refentrytitle"><a href="API-free-netdev.html"><span class="phrase">free_netdev</span></a></span><span class="refpurpose"> &#8212; 
148     free network device
149 </span></dt><dt><span class="refentrytitle"><a href="API-synchronize-net.html"><span class="phrase">synchronize_net</span></a></span><span class="refpurpose"> &#8212; 
150     Synchronize with packet receive processing
151 </span></dt><dt><span class="refentrytitle"><a href="API-unregister-netdevice-queue.html"><span class="phrase">unregister_netdevice_queue</span></a></span><span class="refpurpose"> &#8212; 
152     remove device from the kernel
153 </span></dt><dt><span class="refentrytitle"><a href="API-unregister-netdevice-many.html"><span class="phrase">unregister_netdevice_many</span></a></span><span class="refpurpose"> &#8212; 
154     unregister many devices
155 </span></dt><dt><span class="refentrytitle"><a href="API-unregister-netdev.html"><span class="phrase">unregister_netdev</span></a></span><span class="refpurpose"> &#8212; 
156     remove device from the kernel
157 </span></dt><dt><span class="refentrytitle"><a href="API-dev-change-net-namespace.html"><span class="phrase">dev_change_net_namespace</span></a></span><span class="refpurpose"> &#8212; 
158     move device to different nethost namespace
159 </span></dt><dt><span class="refentrytitle"><a href="API-netdev-increment-features.html"><span class="phrase">netdev_increment_features</span></a></span><span class="refpurpose"> &#8212; 
160     increment feature set by one
161 </span></dt><dt><span class="refentrytitle"><a href="API-eth-header.html"><span class="phrase">eth_header</span></a></span><span class="refpurpose"> &#8212; 
162  create the Ethernet header
163 </span></dt><dt><span class="refentrytitle"><a href="API-eth-get-headlen.html"><span class="phrase">eth_get_headlen</span></a></span><span class="refpurpose"> &#8212; 
164     determine the the length of header for an ethernet frame
165 </span></dt><dt><span class="refentrytitle"><a href="API-eth-type-trans.html"><span class="phrase">eth_type_trans</span></a></span><span class="refpurpose"> &#8212; 
166     determine the packet's protocol ID.
167 </span></dt><dt><span class="refentrytitle"><a href="API-eth-header-parse.html"><span class="phrase">eth_header_parse</span></a></span><span class="refpurpose"> &#8212; 
168     extract hardware address from packet
169 </span></dt><dt><span class="refentrytitle"><a href="API-eth-header-cache.html"><span class="phrase">eth_header_cache</span></a></span><span class="refpurpose"> &#8212; 
170     fill cache entry from neighbour
171 </span></dt><dt><span class="refentrytitle"><a href="API-eth-header-cache-update.html"><span class="phrase">eth_header_cache_update</span></a></span><span class="refpurpose"> &#8212; 
172     update cache entry
173 </span></dt><dt><span class="refentrytitle"><a href="API-eth-prepare-mac-addr-change.html"><span class="phrase">eth_prepare_mac_addr_change</span></a></span><span class="refpurpose"> &#8212; 
174     prepare for mac change
175 </span></dt><dt><span class="refentrytitle"><a href="API-eth-commit-mac-addr-change.html"><span class="phrase">eth_commit_mac_addr_change</span></a></span><span class="refpurpose"> &#8212; 
176     commit mac change
177 </span></dt><dt><span class="refentrytitle"><a href="API-eth-mac-addr.html"><span class="phrase">eth_mac_addr</span></a></span><span class="refpurpose"> &#8212; 
178     set new Ethernet hardware address
179 </span></dt><dt><span class="refentrytitle"><a href="API-eth-change-mtu.html"><span class="phrase">eth_change_mtu</span></a></span><span class="refpurpose"> &#8212; 
180     set new MTU size
181 </span></dt><dt><span class="refentrytitle"><a href="API-ether-setup.html"><span class="phrase">ether_setup</span></a></span><span class="refpurpose"> &#8212; 
182     setup Ethernet network device
183 </span></dt><dt><span class="refentrytitle"><a href="API-alloc-etherdev-mqs.html"><span class="phrase">alloc_etherdev_mqs</span></a></span><span class="refpurpose"> &#8212; 
184     Allocates and sets up an Ethernet device
185 </span></dt><dt><span class="refentrytitle"><a href="API-netif-carrier-on.html"><span class="phrase">netif_carrier_on</span></a></span><span class="refpurpose"> &#8212; 
186  set carrier
187 </span></dt><dt><span class="refentrytitle"><a href="API-netif-carrier-off.html"><span class="phrase">netif_carrier_off</span></a></span><span class="refpurpose"> &#8212; 
188     clear carrier
189 </span></dt><dt><span class="refentrytitle"><a href="API-is-link-local-ether-addr.html"><span class="phrase">is_link_local_ether_addr</span></a></span><span class="refpurpose"> &#8212; 
190  Determine if given Ethernet address is link-local
191 </span></dt><dt><span class="refentrytitle"><a href="API-is-zero-ether-addr.html"><span class="phrase">is_zero_ether_addr</span></a></span><span class="refpurpose"> &#8212; 
192     Determine if give Ethernet address is all zeros.
193 </span></dt><dt><span class="refentrytitle"><a href="API-is-multicast-ether-addr.html"><span class="phrase">is_multicast_ether_addr</span></a></span><span class="refpurpose"> &#8212; 
194     Determine if the Ethernet address is a multicast.
195 </span></dt><dt><span class="refentrytitle"><a href="API-is-local-ether-addr.html"><span class="phrase">is_local_ether_addr</span></a></span><span class="refpurpose"> &#8212; 
196     Determine if the Ethernet address is locally-assigned one (IEEE 802).
197 </span></dt><dt><span class="refentrytitle"><a href="API-is-broadcast-ether-addr.html"><span class="phrase">is_broadcast_ether_addr</span></a></span><span class="refpurpose"> &#8212; 
198     Determine if the Ethernet address is broadcast
199 </span></dt><dt><span class="refentrytitle"><a href="API-is-unicast-ether-addr.html"><span class="phrase">is_unicast_ether_addr</span></a></span><span class="refpurpose"> &#8212; 
200     Determine if the Ethernet address is unicast
201 </span></dt><dt><span class="refentrytitle"><a href="API-is-valid-ether-addr.html"><span class="phrase">is_valid_ether_addr</span></a></span><span class="refpurpose"> &#8212; 
202     Determine if the given Ethernet address is valid
203 </span></dt><dt><span class="refentrytitle"><a href="API-eth-random-addr.html"><span class="phrase">eth_random_addr</span></a></span><span class="refpurpose"> &#8212; 
204     Generate software assigned random Ethernet address
205 </span></dt><dt><span class="refentrytitle"><a href="API-eth-broadcast-addr.html"><span class="phrase">eth_broadcast_addr</span></a></span><span class="refpurpose"> &#8212; 
206     Assign broadcast address
207 </span></dt><dt><span class="refentrytitle"><a href="API-eth-zero-addr.html"><span class="phrase">eth_zero_addr</span></a></span><span class="refpurpose"> &#8212; 
208     Assign zero address
209 </span></dt><dt><span class="refentrytitle"><a href="API-eth-hw-addr-random.html"><span class="phrase">eth_hw_addr_random</span></a></span><span class="refpurpose"> &#8212; 
210     Generate software assigned random Ethernet and set device flag
211 </span></dt><dt><span class="refentrytitle"><a href="API-ether-addr-copy.html"><span class="phrase">ether_addr_copy</span></a></span><span class="refpurpose"> &#8212; 
212     Copy an Ethernet address
213 </span></dt><dt><span class="refentrytitle"><a href="API-eth-hw-addr-inherit.html"><span class="phrase">eth_hw_addr_inherit</span></a></span><span class="refpurpose"> &#8212; 
214     Copy dev_addr from another net_device
215 </span></dt><dt><span class="refentrytitle"><a href="API-ether-addr-equal.html"><span class="phrase">ether_addr_equal</span></a></span><span class="refpurpose"> &#8212; 
216     Compare two Ethernet addresses
217 </span></dt><dt><span class="refentrytitle"><a href="API-ether-addr-equal-64bits.html"><span class="phrase">ether_addr_equal_64bits</span></a></span><span class="refpurpose"> &#8212; 
218     Compare two Ethernet addresses
219 </span></dt><dt><span class="refentrytitle"><a href="API-ether-addr-equal-unaligned.html"><span class="phrase">ether_addr_equal_unaligned</span></a></span><span class="refpurpose"> &#8212; 
220     Compare two not u16 aligned Ethernet addresses
221 </span></dt><dt><span class="refentrytitle"><a href="API-is-etherdev-addr.html"><span class="phrase">is_etherdev_addr</span></a></span><span class="refpurpose"> &#8212; 
222     Tell if given Ethernet address belongs to the device.
223 </span></dt><dt><span class="refentrytitle"><a href="API-compare-ether-header.html"><span class="phrase">compare_ether_header</span></a></span><span class="refpurpose"> &#8212; 
224     Compare two Ethernet headers
225 </span></dt><dt><span class="refentrytitle"><a href="API-eth-skb-pad.html"><span class="phrase">eth_skb_pad</span></a></span><span class="refpurpose"> &#8212; 
226     Pad buffer to mininum number of octets for Ethernet frame
227 </span></dt><dt><span class="refentrytitle"><a href="API-napi-schedule-prep.html"><span class="phrase">napi_schedule_prep</span></a></span><span class="refpurpose"> &#8212; 
228  check if napi can be scheduled
229 </span></dt><dt><span class="refentrytitle"><a href="API-napi-schedule.html"><span class="phrase">napi_schedule</span></a></span><span class="refpurpose"> &#8212; 
230     schedule NAPI poll
231 </span></dt><dt><span class="refentrytitle"><a href="API-napi-schedule-irqoff.html"><span class="phrase">napi_schedule_irqoff</span></a></span><span class="refpurpose"> &#8212; 
232     schedule NAPI poll
233 </span></dt><dt><span class="refentrytitle"><a href="API-napi-complete.html"><span class="phrase">napi_complete</span></a></span><span class="refpurpose"> &#8212; 
234     NAPI processing complete
235 </span></dt><dt><span class="refentrytitle"><a href="API-napi-enable.html"><span class="phrase">napi_enable</span></a></span><span class="refpurpose"> &#8212; 
236     enable NAPI scheduling
237 </span></dt><dt><span class="refentrytitle"><a href="API-napi-synchronize.html"><span class="phrase">napi_synchronize</span></a></span><span class="refpurpose"> &#8212; 
238     wait until NAPI is not running
239 </span></dt><dt><span class="refentrytitle"><a href="API-enum-netdev-priv-flags.html"><span class="phrase">enum netdev_priv_flags</span></a></span><span class="refpurpose"> &#8212; 
240     <span class="structname">struct net_device</span> priv_flags
241 </span></dt><dt><span class="refentrytitle"><a href="API-struct-net-device.html"><span class="phrase">struct net_device</span></a></span><span class="refpurpose"> &#8212; 
242     The DEVICE structure. Actually, this whole structure is a big mistake. It mixes I/O data with strictly <span class="quote">&#8220;<span class="quote">high-level</span>&#8221;</span> data, and it has to know about almost every data structure used in the INET module.
243 </span></dt><dt><span class="refentrytitle"><a href="API-netdev-priv.html"><span class="phrase">netdev_priv</span></a></span><span class="refpurpose"> &#8212; 
244     access network device private data
245 </span></dt><dt><span class="refentrytitle"><a href="API-netif-start-queue.html"><span class="phrase">netif_start_queue</span></a></span><span class="refpurpose"> &#8212; 
246     allow transmit
247 </span></dt><dt><span class="refentrytitle"><a href="API-netif-wake-queue.html"><span class="phrase">netif_wake_queue</span></a></span><span class="refpurpose"> &#8212; 
248     restart transmit
249 </span></dt><dt><span class="refentrytitle"><a href="API-netif-stop-queue.html"><span class="phrase">netif_stop_queue</span></a></span><span class="refpurpose"> &#8212; 
250     stop transmitted packets
251 </span></dt><dt><span class="refentrytitle"><a href="API-netif-queue-stopped.html"><span class="phrase">netif_queue_stopped</span></a></span><span class="refpurpose"> &#8212; 
252     test if transmit queue is flowblocked
253 </span></dt><dt><span class="refentrytitle"><a href="API-netdev-txq-bql-enqueue-prefetchw.html"><span class="phrase">netdev_txq_bql_enqueue_prefetchw</span></a></span><span class="refpurpose"> &#8212; 
254     prefetch bql data for write
255 </span></dt><dt><span class="refentrytitle"><a href="API-netdev-txq-bql-complete-prefetchw.html"><span class="phrase">netdev_txq_bql_complete_prefetchw</span></a></span><span class="refpurpose"> &#8212; 
256     prefetch bql data for write
257 </span></dt><dt><span class="refentrytitle"><a href="API-netdev-sent-queue.html"><span class="phrase">netdev_sent_queue</span></a></span><span class="refpurpose"> &#8212; 
258     report the number of bytes queued to hardware
259 </span></dt><dt><span class="refentrytitle"><a href="API-netdev-completed-queue.html"><span class="phrase">netdev_completed_queue</span></a></span><span class="refpurpose"> &#8212; 
260     report bytes and packets completed by device
261 </span></dt><dt><span class="refentrytitle"><a href="API-netdev-reset-queue.html"><span class="phrase">netdev_reset_queue</span></a></span><span class="refpurpose"> &#8212; 
262     reset the packets and bytes count of a network device
263 </span></dt><dt><span class="refentrytitle"><a href="API-netdev-cap-txqueue.html"><span class="phrase">netdev_cap_txqueue</span></a></span><span class="refpurpose"> &#8212; 
264     check if selected tx queue exceeds device queues
265 </span></dt><dt><span class="refentrytitle"><a href="API-netif-running.html"><span class="phrase">netif_running</span></a></span><span class="refpurpose"> &#8212; 
266     test if up
267 </span></dt><dt><span class="refentrytitle"><a href="API-netif-start-subqueue.html"><span class="phrase">netif_start_subqueue</span></a></span><span class="refpurpose"> &#8212; 
268     allow sending packets on subqueue
269 </span></dt><dt><span class="refentrytitle"><a href="API-netif-stop-subqueue.html"><span class="phrase">netif_stop_subqueue</span></a></span><span class="refpurpose"> &#8212; 
270     stop sending packets on subqueue
271 </span></dt><dt><span class="refentrytitle"><a href="API---netif-subqueue-stopped.html"><span class="phrase">__netif_subqueue_stopped</span></a></span><span class="refpurpose"> &#8212; 
272     test status of subqueue
273 </span></dt><dt><span class="refentrytitle"><a href="API-netif-is-multiqueue.html"><span class="phrase">netif_is_multiqueue</span></a></span><span class="refpurpose"> &#8212; 
274     test if device has multiple transmit queues
275 </span></dt><dt><span class="refentrytitle"><a href="API-dev-put.html"><span class="phrase">dev_put</span></a></span><span class="refpurpose"> &#8212; 
276     release reference to device
277 </span></dt><dt><span class="refentrytitle"><a href="API-dev-hold.html"><span class="phrase">dev_hold</span></a></span><span class="refpurpose"> &#8212; 
278     get reference to device
279 </span></dt><dt><span class="refentrytitle"><a href="API-netif-carrier-ok.html"><span class="phrase">netif_carrier_ok</span></a></span><span class="refpurpose"> &#8212; 
280     test if carrier present
281 </span></dt><dt><span class="refentrytitle"><a href="API-netif-dormant-on.html"><span class="phrase">netif_dormant_on</span></a></span><span class="refpurpose"> &#8212; 
282     mark device as dormant.
283 </span></dt><dt><span class="refentrytitle"><a href="API-netif-dormant-off.html"><span class="phrase">netif_dormant_off</span></a></span><span class="refpurpose"> &#8212; 
284     set device as not dormant.
285 </span></dt><dt><span class="refentrytitle"><a href="API-netif-dormant.html"><span class="phrase">netif_dormant</span></a></span><span class="refpurpose"> &#8212; 
286     test if carrier present
287 </span></dt><dt><span class="refentrytitle"><a href="API-netif-oper-up.html"><span class="phrase">netif_oper_up</span></a></span><span class="refpurpose"> &#8212; 
288     test if device is operational
289 </span></dt><dt><span class="refentrytitle"><a href="API-netif-device-present.html"><span class="phrase">netif_device_present</span></a></span><span class="refpurpose"> &#8212; 
290     is device available or removed
291 </span></dt><dt><span class="refentrytitle"><a href="API-netif-tx-lock.html"><span class="phrase">netif_tx_lock</span></a></span><span class="refpurpose"> &#8212; 
292     grab network device transmit lock
293 </span></dt><dt><span class="refentrytitle"><a href="API---dev-uc-sync.html"><span class="phrase">__dev_uc_sync</span></a></span><span class="refpurpose"> &#8212; 
294     Synchonize device's unicast list
295 </span></dt><dt><span class="refentrytitle"><a href="API---dev-uc-unsync.html"><span class="phrase">__dev_uc_unsync</span></a></span><span class="refpurpose"> &#8212; 
296     Remove synchronized addresses from device
297 </span></dt><dt><span class="refentrytitle"><a href="API---dev-mc-sync.html"><span class="phrase">__dev_mc_sync</span></a></span><span class="refpurpose"> &#8212; 
298     Synchonize device's multicast list
299 </span></dt><dt><span class="refentrytitle"><a href="API---dev-mc-unsync.html"><span class="phrase">__dev_mc_unsync</span></a></span><span class="refpurpose"> &#8212; 
300     Remove synchronized addresses from device
301 </span></dt></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-enum-wimax-st.html">Prev</a>&#160;</td><td width="20%" align="center">&#160;</td><td width="40%" align="right">&#160;<a accesskey="n" href="API-dev-add-pack.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">enum wimax_st</span>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;<span class="phrase">dev_add_pack</span></td></tr></table></div></body></html>
302