Lines Matching full:ethernet
7 * Definitions for the Ethernet handlers.
62 /* Reserved Ethernet Addresses per IEEE 802.1Q */
68 * is_link_local_ether_addr - Determine if given Ethernet address is link-local
69 * @addr: Pointer to a six-byte array containing the Ethernet address
91 * is_zero_ether_addr - Determine if give Ethernet address is all zeros.
92 * @addr: Pointer to a six-byte array containing the Ethernet address
110 * is_multicast_ether_addr - Determine if the Ethernet address is a multicast.
111 * @addr: Pointer to a six-byte array containing the Ethernet address
144 * is_local_ether_addr - Determine if the Ethernet address is locally-assigned one (IEEE 802).
145 * @addr: Pointer to a six-byte array containing the Ethernet address
155 * is_broadcast_ether_addr - Determine if the Ethernet address is broadcast
156 * @addr: Pointer to a six-byte array containing the Ethernet address
170 * is_unicast_ether_addr - Determine if the Ethernet address is unicast
171 * @addr: Pointer to a six-byte array containing the Ethernet address
181 * is_valid_ether_addr - Determine if the given Ethernet address is valid
182 * @addr: Pointer to a six-byte array containing the Ethernet address
184 * Check that the Ethernet address (MAC) is not 00:00:00:00:00:00, is not
217 * eth_random_addr - Generate software assigned random Ethernet address
218 * @addr: Pointer to a six-byte array containing the Ethernet address
220 * Generate a random Ethernet address (MAC) that is not multicast
234 * @addr: Pointer to a six-byte array containing the Ethernet address
245 * @addr: Pointer to a six-byte array containing the Ethernet address
255 * eth_hw_addr_random - Generate software assigned random Ethernet and
259 * Generate a random Ethernet address (MAC) to be used by a net device
281 * ether_addr_copy - Copy an Ethernet address
282 * @dst: Pointer to a six-byte array Ethernet address destination
283 * @src: Pointer to a six-byte array Ethernet address source
307 * Copy the Ethernet address from one net_device to another along with
318 * ether_addr_equal - Compare two Ethernet addresses
319 * @addr1: Pointer to a six-byte array containing the Ethernet address
320 * @addr2: Pointer other six-byte array containing the Ethernet address
322 * Compare two Ethernet addresses, returns true if equal
342 * ether_addr_equal_64bits - Compare two Ethernet addresses
346 * Compare two Ethernet addresses, returns true if equal, false otherwise.
372 * ether_addr_equal_unaligned - Compare two not u16 aligned Ethernet addresses
373 * @addr1: Pointer to a six-byte array containing the Ethernet address
374 * @addr2: Pointer other six-byte array containing the Ethernet address
376 * Compare two Ethernet addresses, returns true if equal
378 * Please note: Use only when any Ethernet address may not be u16 aligned.
390 * ether_addr_equal_masked - Compare two Ethernet addresses with a mask
391 * @addr1: Pointer to a six-byte array containing the 1st Ethernet address
392 * @addr2: Pointer to a six-byte array containing the 2nd Ethernet address
393 * @mask: Pointer to a six-byte array containing the Ethernet address bitmask
395 * Compare two Ethernet addresses with a mask, returns true if for every bit
396 * set in the bitmask the equivalent bits in the ethernet addresses are equal.
413 * ether_addr_to_u64 - Convert an Ethernet address into a u64 value.
414 * @addr: Pointer to a six-byte array containing the Ethernet address
430 * u64_to_ether_addr - Convert a u64 to an Ethernet address.
431 * @u: u64 to convert to an Ethernet MAC address
432 * @addr: Pointer to a six-byte array to contain the Ethernet address
447 * @addr: Pointer to a six-byte array containing Ethernet address to decrement
459 * @addr: Pointer to a six-byte array containing Ethernet address to increment.
470 * is_etherdev_addr - Tell if given Ethernet address belongs to the device.
472 * @addr: Pointer to a six-byte array containing the Ethernet address
498 * compare_ether_header - Compare two Ethernet headers
499 * @a: Pointer to Ethernet header
500 * @b: Pointer to Ethernet header
502 * Compare two Ethernet headers, returns 0 if equal.
535 * eth_skb_pad - Pad buffer to mininum number of octets for Ethernet frame
538 * An Ethernet frame should have a minimum size of 60 bytes. This function