Lines Matching full:address
75 * is_link_local_ether_addr - Determine if given Ethernet address is link-local
76 * @addr: Pointer to a six-byte array containing the Ethernet address
78 * Return true if address is link local reserved addr (01:80:c2:00:00:0X) per
98 * is_zero_ether_addr - Determine if give Ethernet address is all zeros.
99 * @addr: Pointer to a six-byte array containing the Ethernet address
101 * Return true if the address is all zeroes.
117 * is_multicast_ether_addr - Determine if the Ethernet address is a multicast.
118 * @addr: Pointer to a six-byte array containing the Ethernet address
120 * Return true if the address is a multicast address.
121 * By definition the broadcast address is also a multicast address.
151 * is_local_ether_addr - Determine if the Ethernet address is locally-assigned one (IEEE 802).
152 * @addr: Pointer to a six-byte array containing the Ethernet address
154 * Return true if the address is a local address.
162 * is_broadcast_ether_addr - Determine if the Ethernet address is broadcast
163 * @addr: Pointer to a six-byte array containing the Ethernet address
165 * Return true if the address is the broadcast address.
177 * is_unicast_ether_addr - Determine if the Ethernet address is unicast
178 * @addr: Pointer to a six-byte array containing the Ethernet address
180 * Return true if the address is a unicast address.
188 * is_valid_ether_addr - Determine if the given Ethernet address is valid
189 * @addr: Pointer to a six-byte array containing the Ethernet address
191 * Check that the Ethernet address (MAC) is not 00:00:00:00:00:00, is not
192 * a multicast address, and is not FF:FF:FF:FF:FF:FF.
194 * Return true if the address is valid.
200 /* FF:FF:FF:FF:FF:FF is a multicast address so we don't need to in is_valid_ether_addr()
224 * eth_random_addr - Generate software assigned random Ethernet address
225 * @addr: Pointer to a six-byte array containing the Ethernet address
227 * Generate a random Ethernet address (MAC) that is not multicast
238 * eth_broadcast_addr - Assign broadcast address
239 * @addr: Pointer to a six-byte array containing the Ethernet address
241 * Assign the broadcast address to the given address array.
249 * eth_zero_addr - Assign zero address
250 * @addr: Pointer to a six-byte array containing the Ethernet address
252 * Assign the zero address to the given address array.
264 * Generate a random Ethernet address (MAC) to be used by a net device
279 * @ha: pointer to hardware address
281 * Calculate CRC from a hardware address as basis for filter hashes.
289 * ether_addr_copy - Copy an Ethernet address
290 * @dst: Pointer to a six-byte array Ethernet address destination
291 * @src: Pointer to a six-byte array Ethernet address source
311 * eth_hw_addr_set - Assign Ethernet address to a net_device
313 * @addr: address to assign
315 * Assign given address to the net_device, addr_assign_type is not changed.
327 * Copy the Ethernet address from one net_device to another along with
328 * the address attributes (addr_assign_type).
339 * @addr1: Pointer to a six-byte array containing the Ethernet address
340 * @addr2: Pointer other six-byte array containing the Ethernet address
392 * @addr1: Pointer to a six-byte array containing the Ethernet address
393 * @addr2: Pointer other six-byte array containing the Ethernet address
397 * Please note: Use only when any Ethernet address may not be u16 aligned.
410 * @addr1: Pointer to a six-byte array containing the 1st Ethernet address
411 * @addr2: Pointer to a six-byte array containing the 2nd Ethernet address
412 * @mask: Pointer to a six-byte array containing the Ethernet address bitmask
454 * ether_addr_to_u64 - Convert an Ethernet address into a u64 value.
455 * @addr: Pointer to a six-byte array containing the Ethernet address
457 * Return a u64 value of the address
471 * u64_to_ether_addr - Convert a u64 to an Ethernet address.
472 * @u: u64 to convert to an Ethernet MAC address
473 * @addr: Pointer to a six-byte array to contain the Ethernet address
486 * eth_addr_dec - Decrement the given MAC address
488 * @addr: Pointer to a six-byte array containing Ethernet address to decrement
499 * eth_addr_inc() - Increment the given MAC address.
500 * @addr: Pointer to a six-byte array containing Ethernet address to increment.
511 * eth_addr_add() - Add (or subtract) an offset to/from the given MAC address.
514 * @addr: Pointer to a six-byte array containing Ethernet address to increment.
525 * is_etherdev_addr - Tell if given Ethernet address belongs to the device.
527 * @addr: Pointer to a six-byte array containing the Ethernet address
529 * Compare passed address with all addresses of the device. Return true if the
530 * address if one of the device addresses.
590 * eth_hw_addr_gen - Generate and assign Ethernet address to a port
592 * @base_addr: base Ethernet address
593 * @id: offset to add to the base address
595 * Generate a MAC address using a base address and an offset and assign it
611 * eth_skb_pkt_type - Assign packet type if destination address does not match
612 * @skb: Assigned a packet type if address does not match @dev address
613 * @dev: Network device used to compare packet address against
615 * If the destination MAC address of the packet does not match the network
616 * device address, assign an appropriate packet type.