[lkml]   [1998]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: LSF and SOCK_PACKET
    Excerpts from mail: 17-Oct-98 Re: LSF and SOCK_PACKET by
    > > Has anyone given any thought to having a BIND_TO_TCP_PORT type option
    > > for SOCK_PACKET?
    > Why ?

    If one is trying to implement user level networking (TCP/IP stack in
    user space) on top of packet sockets then there is a need to ensure that
    a TCP port assigned (by the user level library) does not conflict and
    will not be used by another application using the kernel's TCP stack.

    > >
    > > traffic monitoring (ie. user level networking) this would be a very
    > > useful feature (although it could be argued it breaks all kind of layer
    > > abstractions).
    > >
    > > I would be interested in hearing the best ways of going about this.
    > Use the attach/detach filter stuff and write yourself a BPF filter that
    > checks the port

    BPF is useful for the demultiplexing but will not help "reserve" a TCP port.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:45    [W:0.019 / U:216.548 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site