Re: Adding a new OSI layer



On 16 Mar 2007 02:42:31 -0700 chrb81@xxxxxxxxx wrote:

| Obviously, as this is related to the network stack, it must belong to
| the OS core and not be just implemented within an user space library.

Not necessarily. If it needs access below what the socket layer can
provide, then sure, it needs to be in the stack. But if what sockets
do provide now, for UDP and TCP, is usable, this could be done inside
a library.


| TCP/UDP/... are in the kernel, aren't they? So the transport layer
| mechanism itself is also part of the kernel, or not?

They managed to make a library implementation of SCTP (another transport
layer). Granted, it is limited to user processes with root permissions.
Is what you are doing also at the same level?

--
|---------------------------------------/----------------------------------|
| Phil Howard KA9WGN (ka9wgn.ham.org) / Do not send to the address below |
| first name lower case at ipal.net / spamtrap-2007-03-18-1537@xxxxxxxx |
|------------------------------------/-------------------------------------|
.



Relevant Pages

  • Re: [patch 2/6] [Network namespace] Network device sharing by view
    ... guest to guest communication is also non-productive. ... trip through the network stack there will be no performance overhead. ... I am fairly strongly convinced a layer 2 solution will ...
    (Linux-Kernel)
  • Module Vs app?
    ... I have an app wich run in the user space. ... data under the IP layer and sending data to IP layer. ... Créez votre Yahoo! ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: Win2k3: SOCK_RAW not working for IP protocol 4 (IP-in-IP)
    ... But probably not from that layer. ... level in the network stack, or use a library such as Winpcap, that ... functionality was to stop the possibility of any worm misusing them. ...
    (microsoft.public.win32.programmer.networks)
  • Re: Module Vs app?
    ... > I have an app wich run in the user space. ... > I want to create a virtual network device for catching ... > data under the IP layer and sending data to IP layer. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: [RFC] Network namespaces a path to mergable code.
    ... The OpenVz implementation and mine work ... on the same basic principles of handling the network stack at layer 2. ...
    (Linux-Kernel)