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

/include/linux/
H A Detherdevice.h261 * @addr2: Pointer other 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)));
276 const u16 *b = (const u16 *)addr2;
285 * @addr2: Pointer to an other array of 8 bytes
293 * Please note that alignment of addr1 & addr2 are only guaranteed to be 16 bits.
297 const u8 addr2[6+2])
300 u64 fold = (*(const u64 *)addr1) ^ (*(const u64 *)addr2);
296 ether_addr_equal_64bits(const u8 addr1[6+2], const u8 addr2[6+2]) argument
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 */
551 const struct uwb_dev_addr *addr2)
553 return memcmp(addr1, addr2, sizeof(*addr1));
556 /* @returns 0 if MAC addresses @addr2 and @addr1 are equal */
558 const struct uwb_mac_addr *addr2)
560 return memcmp(addr1, addr2, sizeof(*addr1));
550 uwb_dev_addr_cmp(const struct uwb_dev_addr *addr1, const struct uwb_dev_addr *addr2) argument
557 uwb_mac_addr_cmp(const struct uwb_mac_addr *addr1, const struct uwb_mac_addr *addr2) argument
H A Dieee80211.h223 u8 addr2[ETH_ALEN]; member in struct:ieee80211_hdr
233 u8 addr2[ETH_ALEN]; member in struct:ieee80211_hdr_3addr
242 u8 addr2[ETH_ALEN]; member in struct:ieee80211_qos_hdr
2281 return hdr->addr2;
/include/net/
H A Dipv6.h440 const struct in6_addr *addr2,
444 const __be64 *a2 = (const __be64 *)addr2;
455 const struct in6_addr *addr2,
459 const __be32 *a2 = addr2->s6_addr32;
439 ipv6_prefix_equal(const struct in6_addr *addr1, const struct in6_addr *addr2, unsigned int prefixlen) argument
454 ipv6_prefix_equal(const struct in6_addr *addr1, const struct in6_addr *addr2, unsigned int prefixlen) argument

Completed in 73 milliseconds