hi all,
little socket question.

In Developer Handbook, chapter 5.5, i can see the
following:

"...If you wanted to be in charge of the low-level
protocols (such as IP), or even network interfaces
(e.g., the Ethernet),
you would need to specify SOCK_RAW ..."

PF_INET socket, with type SOCK_RAW, always
incapsulates data into IP datagram, so how can i
control link level stuff using socket interface ?
i looked over PF_LINK socket, so i did
socket(PF_LINK, SOCK_RAW, 0);
and got `unsupported protocol' error message,
quick grep on DOMAIN_SET in /usr/src/sys says
that PF_LINK domain is not registered.

so, the question is:
how can i control link-level headers using socket
interface ?

thanks,
-sergey

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to