(queue-get-macaddr-range! queue)
This procedure retrieves the next available data item from the FIFO queue if it can be interpreted as a MAC address range (length == 12). If the next element has a different size or if the queue is empty, #f is returned.
The queue may be modified.
A MAC address range or #f.
> (define q (queue-create))
q
> (queue-put! q '11:22:33:44:55:66-11:22:33:44:55:77)
ok
> (queue-get-macaddr! q)
#f
> (queue-get-macaddr-range! q)
11:22:33:44:55:66-11:22:33:44:55:77
> (queue-length q)
0
>