Re: How to add a new protocol?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Em Mon, Sep 20, 2004 at 10:12:11AM -0700, Andre Kirchner escreveu:
> Hi,
> 
> Thank you all for the Linux Networking tutorials, they
> were very helpful.
> Now I?m trying to find out how to add a new protocol,

dev_add_pack

> transfer a datagram between a interface card and this

netif_rx (non-NAPI), netif_receive_skb (NAPI)

> new protocol stack, and finally send this datagram to
> user space.

Look at something like skb_recv_datagram, used in net/ipx/af_ipx.c, for
instance, source code for this function is at net/core/datagram.c, there is
a big comment above it.

> Do you guys know where I could find any information
> about how to do it to get me a start?

Documentation is source code :)

- Arnaldo
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux