| 1989 | } |
| 1990 | |
| 1991 | static int |
| 1992 | bstp_addr_cmp(const uint8_t *a, const uint8_t *b) |
| 1993 | { |
| 1994 | int i, d; |
| 1995 | |
| 1996 | for (i = 0, d = 0; i < ETHER_ADDR_LEN && d == 0; i++) { |
| 1997 | d = ((int)a[i]) - ((int)b[i]); |
| 1998 | } |
| 1999 | |
| 2000 | return (d); |
| 2001 | } |
| 2002 | |
| 2003 | /* |
| 2004 | * compare the bridge address component of the bridgeid |
no outgoing calls
no test coverage detected