[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensolaris-networking-discuss
Subject:    Re: [networking-discuss] Packet receive/transmission happen
From:       James Carlson <james.d.carlson () sun ! com>
Date:       2007-03-23 21:52:59
Message-ID: 17924.19515.435921.583926 () gargle ! gargle ! HOWL
[Download RAW message or body]

Tao Chen writes:
> I am writing a Network driver, I have enabled rx/tx interrupt. I
> just noticed that once driver is loaded using [b]ifconfig xxx up[/b]
> command,

The driver isn't loaded with the "up" subcommand in ifconfig.

It's loaded when an application first opens the device node in /dev,
which is typically when you do "ifconfig plumb."

> some mac/ip level transportations take place.

Yes, indeed.  When you mark an interface "up," IP begins to use it.
If nothing else, IP will at least attempt to do duplicate address
detection using ARP (for IPv4) or NDP (for IPv6).

The "snoop" command can help you look at these messages.  If you need
help with any of them, please post a packet trace.

> The rx
> promiscuous mode is not enabled. Why?

I don't understand what you're looking for here.  Please explain.

Promiscuous mode is typically used by debug utilities, such as snoop
and ethereal.  IP doesn't use it.

-- 
James Carlson, Solaris Networking              <james.d.carlson@sun.com>
Sun Microsystems / 1 Network Drive         71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
networking-discuss mailing list
networking-discuss@opensolaris.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic