All,

What is the expected contents of an mblk_t which is passed to mac_rx ? I
would have assumed it would be the destination address, source address,
and payload - however snoop does not seem to be showing these packets.

For example:

mblk_t *bp = allocb(len, 0);

/* src contains a 6 byte dest addr,
   a 6 byte source addr, and the payload */
bcopy(src, bp->b_rptr, len);

mac_rx(mac_handle, NULL, bp);

...

snoop -d re0 shows no packets received (I have verified that promisc is
working correctly; the packets are being accepted by the rx filters, and
is being passed down to mac_rx).

Any ideas?

-- 
Yet magic and hierarchy
arise from the same source,
and this source has a null pointer.

Reference the NULL within NULL,
it is the gateway to all wizardry.
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to