1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><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#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"> — 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-get-by-name.html"><span class="phrase">__dev_get_by_name</span></a></span><span class="refpurpose"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 94 Get the next ->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"> — 96 Get the next ->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"> — 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"> — 100 Get the first ->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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 242 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. 243 </span></dt><dt><span class="refentrytitle"><a href="API-netdev-priv.html"><span class="phrase">netdev_priv</span></a></span><span class="refpurpose"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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"> — 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> </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> 302