Checks whether a given pair (mac,fid) is at HCAM
- Parameters:
-
mac | mac address |
fid | filtering database identifier |
bucket | inout param.Returns the bucket number where the entry was found |
ent | pointer to entry found. |
- Returns:
- 0 if entry was not found. 1 if entry was found. -1 if entry was not found and the end of bucket was reached. -ENOMEM if no more entries after the end of bucket. -EINVAL if bucket >= CAM_ENTRIES or HCAM inconsistent.