Re: Virtual device driver programming




Hello!

On Fri, 23 Jun 2006, Johnny Choque wrote:
I'm interested in programming a virtual network device driver -Linux
concept- on a FreeBSD box. The idea behind of this sort of interface is the
following:

"From the kernel's point of view, a network interface is a software object
that can process outgoing packets, and the actual transmission mechanism
remains hidden inside the interface driver. Even though most interfaces are
associated to physical devices (or, for the loopback interface, to a
software-only data loop), it is possible to design network interface drivers
that rely on other interfaces to perform actual packet transmission. The
idea of a ``virtual'' interface can be useful to implement special-purpose
processing on data packets while avoiding to hack with the network subsystem
of the kernel."

Isn't this exactly the same thing that FreeBSD's Netgraph subsystem does?

man 4 netgraph


Sincerely, Dmitry
--
Atlantis ISP, System Administrator
e-mail: dmitry@xxxxxxxxxxxxxx
nic-hdl: LYNX-RIPE
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Terminal Server Setup
    ... description GRE Tunnel Source Interface ... input packets with dribble condition detected ... output buffer failures, ... Serial1/0 is up, line protocol is up ...
    (comp.dcom.sys.cisco)
  • Re: Tuning ADSL lines on Ciscos roputer - LONG -
    ... Last clearing of "show interface" counters never ... minute input rate 0 bits/sec, ... input packets with dribble condition detected ... output buffer failures, ...
    (comp.dcom.sys.cisco)
  • Re: Terminal Server Setup
    ... description GRE Tunnel Source Interface ... input packets with dribble condition detected ... output buffer failures, ...
    (comp.dcom.sys.cisco)
  • Re: Excessive interface resets on Cisco 1841 and FIOS line
    ... huge amount of interface resets on the WAN interface, ... access-list 4 remark HTTP Access-class list ... input packets with dribble condition detected ... output buffer failures, ...
    (comp.dcom.sys.cisco)
  • Interface counters not working
    ... get why no traffic is registering on the interface counters. ... minute input rate 0 bits/sec, ... input packets with dribble condition detected ... output buffer failures, ...
    (comp.dcom.sys.cisco)