Searched defs:addr1 (Results 1 - 4 of 4) sorted by relevance

/include/linux/
H A Detherdevice.h260 * @addr1: Pointer to a six-byte array containing the Ethernet address
265 * Please note: addr1 & addr2 must both be aligned to u16.
267 static inline bool ether_addr_equal(const u8 *addr1, const u8 *addr2) argument
270 u32 fold = ((*(const u32 *)addr1) ^ (*(const u32 *)addr2)) |
271 ((*(const u16 *)(addr1 + 4)) ^ (*(const u16 *)(addr2 + 4)));
275 const u16 *a = (const u16 *)addr1;
284 * @addr1: Pointer to an array of 8 bytes
293 * Please note that alignment of addr1 & addr2 are only guaranteed to be 16 bits.
296 static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], argument
300 u64 fold = (*(const u64 *)addr1)
321 ether_addr_equal_unaligned(const u8 *addr1, const u8 *addr2) argument
[all...]
H A Duwb.h549 /* @returns 0 if device addresses @addr2 and @addr1 are equal */
550 static inline int uwb_dev_addr_cmp(const struct uwb_dev_addr *addr1, argument
553 return memcmp(addr1, addr2, sizeof(*addr1));
556 /* @returns 0 if MAC addresses @addr2 and @addr1 are equal */
557 static inline int uwb_mac_addr_cmp(const struct uwb_mac_addr *addr1, argument
560 return memcmp(addr1, addr2, sizeof(*addr1));
H A Dieee80211.h222 u8 addr1[ETH_ALEN]; member in struct:ieee80211_hdr
232 u8 addr1[ETH_ALEN]; member in struct:ieee80211_hdr_3addr
241 u8 addr1[ETH_ALEN]; member in struct:ieee80211_qos_hdr
2299 return hdr->addr1;
/include/net/
H A Dipv6.h439 static inline bool ipv6_prefix_equal(const struct in6_addr *addr1, argument
443 const __be64 *a1 = (const __be64 *)addr1;
454 static inline bool ipv6_prefix_equal(const struct in6_addr *addr1, argument
458 const __be32 *a1 = addr1->s6_addr32;

Completed in 282 milliseconds