Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Oct 2005 09:43:56 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        Bsderss <snort_sam@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: switching from layer 2 to layer 3 in C programming
Message-ID:  <43579F1C.4010309@mac.com>
In-Reply-To: <20051020071115.95497.qmail@web36109.mail.mud.yahoo.com>
References:  <20051020071115.95497.qmail@web36109.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Bsderss wrote:
> I m in developing a network application (from layer 2 to 3).
> Can anyone tell me how to switch from layer 2 to layer
> 3 in C programming?

I'm not sure what you mean by this, but a literal answer can be found in:

/usr/include/net/if_arp.h

...and "man 4 arp".

-- 
-Chuck



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43579F1C.4010309>