Re: [cc65] [very OT] KVM

Date view Thread view Subject view

From: Spiro Trikaliotis (trik-news_at_gmx.de)
Date: 2003-10-09 22:51:34


Hello,

On Thu, Oct 09, 2003 at 10:44:36PM +0200, Adam Dunkels wrote:

> > Adam, Uz proposed using RAW Sockets and gave me some hints for this. Do you
> > know of *BSD has these, too?
> 
> Ok, great! Yes they are in BSD, but I wouldn't be surprised if there
> were a few differences between Linux and BSD though... Uz: is it
> possible to send raw Ethernet frames using raw sockets? I quickly
> checked the BSD TCP/IP stack bible yesterday (TCP/IP Illustrated volume
> 2 / Stevens, amazing book!) and I didn't see anything obvious, but the
> book is a couple of years old and I just looked quickly.

packet(7) is your friend (at least on Linux).

socket_type = SOCK_RAW really gives you the whole LLC frame, while
socket_type = SOCK_DGRAM removes the LLC header. 

So, SOCK_RAW is exactly what is needed.

Could you please check the BSD man pages? ;-)

Ah, I forgot: I think we should take this off-list now.

Spiro.
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-10-09 23:10:18 CEST