1<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Chapter 2. 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 2. Network device support</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-enum-wimax-st.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <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 2. 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#id-1.4.2">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="id-1.4.2"></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"> — 
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"> — 
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"> — 
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"> — 
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"> — 
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"> — 
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"> — 
14     get 'iflink' value of a interface
15 </span></dt><dt><span class="refentrytitle"><a href="API-dev-fill-metadata-dst.html"><span class="phrase">dev_fill_metadata_dst</span></a></span><span class="refpurpose"> — 
16     Retrieve tunnel egress information.
17 </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"> — 
18     find a device by its name
19 </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"> — 
20     find a device by its name
21 </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"> — 
22     find a device by its name
23 </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"> — 
24     find a device by its ifindex
25 </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"> — 
26     find a device by its ifindex
27 </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"> — 
28     find a device by its ifindex
29 </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"> — 
30     find a device by its hardware address
31 </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"> — 
32     find any device with given flags
33 </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"> — 
34     check if name is okay for network device
35 </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"> — 
36     allocate a name for a device
37 </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"> — 
38     device changes features
39 </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"> — 
40     device changes state
41 </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"> — 
42     notify network peers about existence of <em class="parameter"><code>dev</code></em>
43 </span></dt><dt><span class="refentrytitle"><a href="API-dev-open.html"><span class="phrase">dev_open</span></a></span><span class="refpurpose"> — 
44     prepare an interface for use.
45 </span></dt><dt><span class="refentrytitle"><a href="API-dev-close.html"><span class="phrase">dev_close</span></a></span><span class="refpurpose"> — 
46     shutdown an interface.
47 </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"> — 
48     disable Large Receive Offload on a device
49 </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"> — 
50     register a network notifier block
51 </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"> — 
52     unregister a network notifier block
53 </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"> — 
54     call all network notifier blocks
55 </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"> — 
56     loopback an skb to another netif
57 </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"> — 
58     set actual number of RX queues used
59 </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"> — 
60     default number of RSS queues
61 </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"> — 
62     allow sending packets on subqueue
63 </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"> — 
64     mark device as removed
65 </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"> — 
66     mark device as attached
67 </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"> — 
68     mac layer segmentation handler.
69 </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"> — 
70     Perform segmentation on skb.
71 </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"> — 
72     loop back <em class="parameter"><code>skb</code></em>
73 </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"> — 
74     check whether an RFS hardware filter may be removed
75 </span></dt><dt><span class="refentrytitle"><a href="API-netif-rx.html"><span class="phrase">netif_rx</span></a></span><span class="refpurpose"> — 
76     post buffer to the network code
77 </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"> — 
78     register receive handler
79 </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"> — 
80     unregister receive handler
81 </span></dt><dt><span class="refentrytitle"><a href="API-netif-receive-skb.html"><span class="phrase">netif_receive_skb</span></a></span><span class="refpurpose"> — 
82     process receive buffer from network
83 </span></dt><dt><span class="refentrytitle"><a href="API---napi-schedule.html"><span class="phrase">__napi_schedule</span></a></span><span class="refpurpose"> — 
84     schedule for receive
85 </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"> — 
86     schedule for receive
87 </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"> — 
88     Check if device is linked to an upper device
89 </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"> — 
90     Get master upper device
91 </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"> — 
92     Get the next dev from upper list
93 </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"> — 
94     Get the next dev from upper list
95 </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"> — 
96     Get the next -&gt;private from the lower neighbour list
97 </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"> — 
98     Get the next -&gt;private from the lower neighbour list, RCU variant
99 </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"> — 
100     Get the next device from the lower neighbour list
101 </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"> — 
102     Get the first -&gt;private from the lower neighbour list, RCU variant
103 </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"> — 
104     Get master upper device
105 </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"> — 
106     Add a link to the upper device
107 </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"> — 
108     Add a master link to the upper device
109 </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"> — 
110     Removes a link to upper device
111 </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"> — 
112     Dispatch event about slave change
113 </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"> — 
114     update promiscuity count on a device
115 </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"> — 
116     update allmulti count on a device
117 </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"> — 
118     get flags reported to userspace
119 </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"> — 
120     change device settings
121 </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"> — 
122     Change maximum transfer unit
123 </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"> — 
124     Change group this device belongs to
125 </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"> — 
126     Change Media Access Control Address
127 </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"> — 
128     Change device carrier
129 </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"> — 
130     Get device physical port ID
131 </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"> — 
132     Get device physical port name
133 </span></dt><dt><span class="refentrytitle"><a href="API-dev-change-proto-down.html"><span class="phrase">dev_change_proto_down</span></a></span><span class="refpurpose"> — 
134     update protocol port state information
135 </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"> — 
136     recalculate device features
137 </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"> — 
138     recalculate device features
139 </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"> — 
140     transfer operstate
141 </span></dt><dt><span class="refentrytitle"><a href="API-register-netdevice.html"><span class="phrase">register_netdevice</span></a></span><span class="refpurpose"> — 
142     register a network device
143 </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"> — 
144     init a dummy network device for NAPI
145 </span></dt><dt><span class="refentrytitle"><a href="API-register-netdev.html"><span class="phrase">register_netdev</span></a></span><span class="refpurpose"> — 
146     register a network device
147 </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"> — 
148     get network device statistics
149 </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"> — 
150     allocate network device
151 </span></dt><dt><span class="refentrytitle"><a href="API-free-netdev.html"><span class="phrase">free_netdev</span></a></span><span class="refpurpose"> — 
152     free network device
153 </span></dt><dt><span class="refentrytitle"><a href="API-synchronize-net.html"><span class="phrase">synchronize_net</span></a></span><span class="refpurpose"> — 
154     Synchronize with packet receive processing
155 </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"> — 
156     remove device from the kernel
157 </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"> — 
158     unregister many devices
159 </span></dt><dt><span class="refentrytitle"><a href="API-unregister-netdev.html"><span class="phrase">unregister_netdev</span></a></span><span class="refpurpose"> — 
160     remove device from the kernel
161 </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"> — 
162     move device to different nethost namespace
163 </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"> — 
164     increment feature set by one
165 </span></dt><dt><span class="refentrytitle"><a href="API-eth-header.html"><span class="phrase">eth_header</span></a></span><span class="refpurpose"> — 
166  create the Ethernet header
167 </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"> — 
168     determine the length of header for an ethernet frame
169 </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"> — 
170     determine the packet's protocol ID.
171 </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"> — 
172     extract hardware address from packet
173 </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"> — 
174     fill cache entry from neighbour
175 </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"> — 
176     update cache entry
177 </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"> — 
178     prepare for mac change
179 </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"> — 
180     commit mac change
181 </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"> — 
182     set new Ethernet hardware address
183 </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"> — 
184     set new MTU size
185 </span></dt><dt><span class="refentrytitle"><a href="API-ether-setup.html"><span class="phrase">ether_setup</span></a></span><span class="refpurpose"> — 
186     setup Ethernet network device
187 </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"> — 
188     Allocates and sets up an Ethernet device
189 </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"> — 
190  set carrier
191 </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"> — 
192     clear carrier
193 </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"> — 
194  Determine if given Ethernet address is link-local
195 </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"> — 
196     Determine if give Ethernet address is all zeros.
197 </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"> — 
198     Determine if the Ethernet address is a multicast.
199 </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"> — 
200     Determine if the Ethernet address is locally-assigned one (IEEE 802).
201 </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"> — 
202     Determine if the Ethernet address is broadcast
203 </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"> — 
204     Determine if the Ethernet address is unicast
205 </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"> — 
206     Determine if the given Ethernet address is valid
207 </span></dt><dt><span class="refentrytitle"><a href="API-eth-proto-is-802-3.html"><span class="phrase">eth_proto_is_802_3</span></a></span><span class="refpurpose"> — 
208     Determine if a given Ethertype/length is a protocol
209 </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"> — 
210     Generate software assigned random Ethernet address
211 </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"> — 
212     Assign broadcast address
213 </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"> — 
214     Assign zero address
215 </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"> — 
216     Generate software assigned random Ethernet and set device flag
217 </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"> — 
218     Copy an Ethernet address
219 </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"> — 
220     Copy dev_addr from another net_device
221 </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"> — 
222     Compare two Ethernet addresses
223 </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"> — 
224     Compare two Ethernet addresses
225 </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"> — 
226     Compare two not u16 aligned Ethernet addresses
227 </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"> — 
228     Tell if given Ethernet address belongs to the device.
229 </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"> — 
230     Compare two Ethernet headers
231 </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"> — 
232     Pad buffer to mininum number of octets for Ethernet frame
233 </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"> — 
234  check if napi can be scheduled
235 </span></dt><dt><span class="refentrytitle"><a href="API-napi-schedule.html"><span class="phrase">napi_schedule</span></a></span><span class="refpurpose"> — 
236     schedule NAPI poll
237 </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"> — 
238     schedule NAPI poll
239 </span></dt><dt><span class="refentrytitle"><a href="API-napi-complete.html"><span class="phrase">napi_complete</span></a></span><span class="refpurpose"> — 
240     NAPI processing complete
241 </span></dt><dt><span class="refentrytitle"><a href="API-napi-enable.html"><span class="phrase">napi_enable</span></a></span><span class="refpurpose"> — 
242     enable NAPI scheduling
243 </span></dt><dt><span class="refentrytitle"><a href="API-napi-synchronize.html"><span class="phrase">napi_synchronize</span></a></span><span class="refpurpose"> — 
244     wait until NAPI is not running
245 </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">
246     struct net_device priv_flags
247 </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"> — 
248     The DEVICE structure. Actually, this whole structure is a big mistake. It mixes I/O data with strictly <span class="quote">“<span class="quote">high-level</span>”</span> data, and it has to know about almost every data structure used in the INET module.
249 </span></dt><dt><span class="refentrytitle"><a href="API-netdev-priv.html"><span class="phrase">netdev_priv</span></a></span><span class="refpurpose"> — 
250     access network device private data
251 </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"> — 
252     allow transmit
253 </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"> — 
254     restart transmit
255 </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"> — 
256     stop transmitted packets
257 </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"> — 
258     test if transmit queue is flowblocked
259 </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"> — 
260     prefetch bql data for write
261 </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"> — 
262     prefetch bql data for write
263 </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"> — 
264     report the number of bytes queued to hardware
265 </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"> — 
266     report bytes and packets completed by device
267 </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"> — 
268     reset the packets and bytes count of a network device
269 </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"> — 
270     check if selected tx queue exceeds device queues
271 </span></dt><dt><span class="refentrytitle"><a href="API-netif-running.html"><span class="phrase">netif_running</span></a></span><span class="refpurpose"> — 
272     test if up
273 </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"> — 
274     allow sending packets on subqueue
275 </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"> — 
276     stop sending packets on subqueue
277 </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"> — 
278     test status of subqueue
279 </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"> — 
280     test if device has multiple transmit queues
281 </span></dt><dt><span class="refentrytitle"><a href="API-dev-put.html"><span class="phrase">dev_put</span></a></span><span class="refpurpose"> — 
282     release reference to device
283 </span></dt><dt><span class="refentrytitle"><a href="API-dev-hold.html"><span class="phrase">dev_hold</span></a></span><span class="refpurpose"> — 
284     get reference to device
285 </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"> — 
286     test if carrier present
287 </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"> — 
288     mark device as dormant.
289 </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"> — 
290     set device as not dormant.
291 </span></dt><dt><span class="refentrytitle"><a href="API-netif-dormant.html"><span class="phrase">netif_dormant</span></a></span><span class="refpurpose"> — 
292     test if carrier present
293 </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"> — 
294     test if device is operational
295 </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"> — 
296     is device available or removed
297 </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"> — 
298     grab network device transmit lock
299 </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"> — 
300     Synchonize device's unicast list
301 </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"> — 
302     Remove synchronized addresses from device
303 </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"> — 
304     Synchonize device's multicast list
305 </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"> — 
306     Remove synchronized addresses from device
307 </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> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <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> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">dev_add_pack</span></td></tr></table></div></body></html>
308