Instead of inventing something new, why not program to an existing api? BSD has had for a long time the 'tun' and 'tap' interfaces that allow raw access to the ip layer and ethernet layer respectively. Aka a device /dev/tun0 corresponds to an network device 'tun0' .. and one program, /usr/sbin/ppp (no I didn't forget the 'd') can open the tun0 device, and open the serial port, and wallah, we have userland ppp, which is easier to debug than kernel land pppd+kernel combo. The point of all of this, is that linux has recently added bpf/tun/tap style devices. I'd highly recommend using them, as passing network/ip fragments to/from userland to/from the kernel is exactly what these types of things were designed for .. don't re-invent the wheel all the time ;-) -- Todd Fries .. [EMAIL PROTECTED]
- Re: [plex86] brain fart regarding networking James Mastros
- Re: [plex86] brain fart regarding networking John Berthels
- Re: [plex86] brain fart regarding networkin... James Mastros
- Re: [plex86] brain fart regarding networkin... Christian Laursen
- RE: [plex86] brain fart regarding networkin... Drew Northup
- Re: [plex86] brain fart regarding netwo... James Mastros
- RE: [plex86] brain fart regarding networking Drew Northup
- RE: [plex86] brain fart regarding networking Drew Northup
- Re: [plex86] brain fart regarding networking Colin Davidson
- Re: [plex86] brain fart regarding networking Colin Davidson
- Re: [plex86] brain fart regarding networking Todd T. Fries
- Re: [plex86] brain fart regarding networking James Mastros
- RE: [plex86] brain fart regarding networking Drew Northup
- Re: [plex86] brain fart regarding networking James Mastros
