[lkml]   [2005]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Sending IP datagrams
    Josef E. Galea wrote:
    > Scott Feldman wrote:
    >> On Mar 7, 2005, at 3:48 PM, Josef E. Galea wrote:
    >>> Hi,
    >>> Is there any way, other than socket buffers, to send IP datagrams
    >>> from a kernel module? If yes, can you please point me to some good
    >>> tutorial or sample code
    >> See net/core/pktgen.c for an example.
    >> -scott
    > AFAIK that module uses socket buffers (struct sk_buff) to send the
    > packets. I was asking whether there was another way to send the IP
    > datagrams.

    The sk_buf is the thing you send to network drivers, it doesn't get
    any more basic unless you are hacking a particular driver and DMA'ing memory
    or something like that...

    Maybe you should explain what you are really trying to do?


    Ben Greear <>
    Candela Technologies Inc

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

     \ /
      Last update: 2005-03-22 14:10    [W:0.042 / U:3.244 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site