函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\etherdevice.h Create Date:2022-07-27 07:04:03
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:her_addr_equal - Compare two Ethernet addresses*@addr1: Pointer to a six-byte array containing the Ethernet address*@addr2: Pointer other six-byte array containing the Ethernet address* Compare two Ethernet addresses, returns true if equal

函数原型:static inline bool ether_addr_equal(const u8 *addr1, const u8 *addr2)

返回类型:bool

参数:

类型参数名称
const u8 *addr1
const u8 *addr2
323  a等于addr1
324  b等于addr2
326  返回:a[0]按位异或b[0]按位或a[1]按位异或b[1]按位或a[2]按位异或b[2]的值恒等于0
调用者
名称描述
ether_addr_equal_64bitsher_addr_equal_64bits - Compare two Ethernet addresses*@addr1: Pointer to an array of 8 bytes*@addr2: Pointer to an other array of 8 bytes* Compare two Ethernet addresses, returns true if equal, false otherwise