Re: [cc65] [very OT] KVM

Date view Thread view Subject view

From: Adam Dunkels (adam_at_sics.se)
Date: 2003-10-09 22:44:36


Hi!

On Thu, 2003-10-09 at 22:27, Spiro Trikaliotis wrote:
> > Spiro and I have actually been in contact quite regularly during his
> 
> well, yes. If I remember correctly, you were the first one being told what I
> had in mind. :-)

Cool :-)

> > porting the TFE emulation to *nix. The problem with the tap device is
> > that it doesn't exactly provide the same functionality as the pcap
> > libraries. The tap device basically creates a virtual LAN, while the
> > pcap gives direct access to the physical LAN (the one on which the PC is
> > connected to).
> 
> 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.

> > Under FreeBSD it might be possible to use the BPF (Berkeley Packet
> > Filter) to get the same kind of access as the pcap library under
> > Windows, but I don't know if this is available under Linux.
> 
> BPF are not available natively. Anyway, libpcap uses them and "ports" them
> to Linux.

Ok - then is probably isn't possible to send frames using Linux BPF
either :-(

> > I think that most old-school *nix gui developers actually hate the term "user" ;-)
> 
> "User? We don't need any user." :-)

Allright - GI developers perhaps is a better name then ;-)

/adam
-- 
Adam Dunkels <adam_at_sics.se>
http://www.sics.se/~adam/

----------------------------------------------------------------------
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 22:46:57 CEST