macaddr=?

Synopsis

(macaddr=? macaddr1 macaddr2)

Parameters

  • macaddr1
  • macaddr2

Description

This predicate returns #t if both MAC addresses are equal, otherwise #f is returned. When passing non MAC addresses to this predicate an argument error is signalled.

Side Effects

Return Value

#t or #f

Example

> macaddr=?
#<primitive-procedure macaddr=?>
> (define a 'ff:ff:ff:ff:ff:ff)
a
> (macaddr=? a a)
#t
> (macaddr=? a 'ff:ff:ff:FF:ff:fe)
#f
>