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
303 * eth_hw_addr_set - Assign Ethernet address to a net_device
319 * Copy the Ethernet address from one net_device to another along with
330 * ether_addr_equal - Compare two Ethernet addresses
331 * @addr1: Pointer to a six-byte array containing the Ethernet address
332 * @addr2: Pointer other six-byte array containing the Ethernet address
334 * Compare two Ethernet addresses, returns true if equal
354 * ether_addr_equal_64bits - Compare two Ethernet addresses
358 * Compare two Ethernet addresses, returns true if equal, false otherwise.
384 * ether_addr_equal_unaligned - Compare two not u16 aligned Ethernet addresses
385 * @addr1: Pointer to a six-byte array containing the Ethernet address
386 * @addr2: Pointer other six-byte array containing the Ethernet address
388 * Compare two Ethernet addresses, returns true if equal
390 * Please note: Use only when any Ethernet address may not be u16 aligned.
402 * ether_addr_equal_masked - Compare two Ethernet addresses with a mask
403 * @addr1: Pointer to a six-byte array containing the 1st Ethernet address
404 * @addr2: Pointer to a six-byte array containing the 2nd Ethernet address
405 * @mask: Pointer to a six-byte array containing the Ethernet address bitmask
407 * Compare two Ethernet addresses with a mask, returns true if for every bit
408 * set in the bitmask the equivalent bits in the ethernet addresses are equal.
425 * ether_addr_to_u64 - Convert an Ethernet address into a u64 value.
426 * @addr: Pointer to a six-byte array containing the Ethernet address
442 * u64_to_ether_addr - Convert a u64 to an Ethernet address.
443 * @u: u64 to convert to an Ethernet MAC address
444 * @addr: Pointer to a six-byte array to contain the Ethernet address
459 * @addr: Pointer to a six-byte array containing Ethernet address to decrement
471 * @addr: Pointer to a six-byte array containing Ethernet address to increment.
482 * is_etherdev_addr - Tell if given Ethernet address belongs to the device.
484 * @addr: Pointer to a six-byte array containing the Ethernet address
510 * compare_ether_header - Compare two Ethernet headers
511 * @a: Pointer to Ethernet header
512 * @b: Pointer to Ethernet header
514 * Compare two Ethernet headers, returns 0 if equal.
547 * eth_skb_pad - Pad buffer to mininum number of octets for Ethernet frame
550 * An Ethernet frame should have a minimum size of 60 bytes. This function