Lines Matching full:address
81 * is_link_local_ether_addr - Determine if given Ethernet address is link-local
82 * @addr: Pointer to a six-byte array containing the Ethernet address
84 * Return: true if address is link local reserved addr (01:80:c2:00:00:0X) per
104 * is_zero_ether_addr - Determine if give Ethernet address is all zeros.
105 * @addr: Pointer to a six-byte array containing the Ethernet address
107 * Return: true if the address is all zeroes.
123 * is_multicast_ether_addr - Determine if the Ethernet address is a multicast.
124 * @addr: Pointer to a six-byte array containing the Ethernet address
126 * Return: true if the address is a multicast address.
127 * By definition the broadcast address is also a multicast address.
157 * is_local_ether_addr - Determine if the Ethernet address is locally-assigned one (IEEE 802).
158 * @addr: Pointer to a six-byte array containing the Ethernet address
160 * Return: true if the address is a local address.
168 * is_broadcast_ether_addr - Determine if the Ethernet address is broadcast
169 * @addr: Pointer to a six-byte array containing the Ethernet address
171 * Return: true if the address is the broadcast address.
183 * is_unicast_ether_addr - Determine if the Ethernet address is unicast
184 * @addr: Pointer to a six-byte array containing the Ethernet address
186 * Return: true if the address is a unicast address.
194 * is_valid_ether_addr - Determine if the given Ethernet address is valid
195 * @addr: Pointer to a six-byte array containing the Ethernet address
197 * Check that the Ethernet address (MAC) is not 00:00:00:00:00:00, is not
198 * a multicast address, and is not FF:FF:FF:FF:FF:FF.
200 * Return: true if the address is valid.
206 /* FF:FF:FF:FF:FF:FF is a multicast address so we don't need to in is_valid_ether_addr()
230 * eth_random_addr - Generate software assigned random Ethernet address
231 * @addr: Pointer to a six-byte array containing the Ethernet address
233 * Generate a random Ethernet address (MAC) that is not multicast
244 * eth_broadcast_addr - Assign broadcast address
245 * @addr: Pointer to a six-byte array containing the Ethernet address
247 * Assign the broadcast address to the given address array.
255 * eth_zero_addr - Assign zero address
256 * @addr: Pointer to a six-byte array containing the Ethernet address
258 * Assign the zero address to the given address array.
270 * Generate a random Ethernet address (MAC) to be used by a net device
285 * @ha: pointer to hardware address
287 * Calculate CRC from a hardware address as basis for filter hashes.
295 * ether_addr_copy - Copy an Ethernet address
296 * @dst: Pointer to a six-byte array Ethernet address destination
297 * @src: Pointer to a six-byte array Ethernet address source
317 * eth_hw_addr_set - Assign Ethernet address to a net_device
319 * @addr: address to assign
321 * Assign given address to the net_device, addr_assign_type is not changed.
333 * Copy the Ethernet address from one net_device to another along with
334 * the address attributes (addr_assign_type).
345 * @addr1: Pointer to a six-byte array containing the Ethernet address
346 * @addr2: Pointer other six-byte array containing the Ethernet address
398 * @addr1: Pointer to a six-byte array containing the Ethernet address
399 * @addr2: Pointer other six-byte array containing the Ethernet address
403 * Please note: Use only when any Ethernet address may not be u16 aligned.
416 * @addr1: Pointer to a six-byte array containing the 1st Ethernet address
417 * @addr2: Pointer to a six-byte array containing the 2nd Ethernet address
418 * @mask: Pointer to a six-byte array containing the Ethernet address bitmask
458 * ether_addr_to_u64 - Convert an Ethernet address into a u64 value.
459 * @addr: Pointer to a six-byte array containing the Ethernet address
461 * Return: a u64 value of the address
475 * u64_to_ether_addr - Convert a u64 to an Ethernet address.
476 * @u: u64 to convert to an Ethernet MAC address
477 * @addr: Pointer to a six-byte array to contain the Ethernet address
490 * eth_addr_dec - Decrement the given MAC address
492 * @addr: Pointer to a six-byte array containing Ethernet address to decrement
503 * eth_addr_inc() - Increment the given MAC address.
504 * @addr: Pointer to a six-byte array containing Ethernet address to increment.
515 * eth_addr_add() - Add (or subtract) an offset to/from the given MAC address.
518 * @addr: Pointer to a six-byte array containing Ethernet address to increment.
529 * is_etherdev_addr - Tell if given Ethernet address belongs to the device.
531 * @addr: Pointer to a six-byte array containing the Ethernet address
533 * Compare passed address with all addresses of the device. Return true if the
534 * address if one of the device addresses.
594 * eth_hw_addr_gen - Generate and assign Ethernet address to a port
596 * @base_addr: base Ethernet address
597 * @id: offset to add to the base address
599 * Generate a MAC address using a base address and an offset and assign it
615 * eth_skb_pkt_type - Assign packet type if destination address does not match
616 * @skb: Assigned a packet type if address does not match @dev address
617 * @dev: Network device used to compare packet address against
619 * If the destination MAC address of the packet does not match the network
620 * device address, assign an appropriate packet type.