Re: Sending packets from ip-layer

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

 



You might want to look at all the sk_buff functions to create, modify
sk_buffs.

include/linux/skbuff.h

once you create the skbuff to your specifications, you can pass it to one
of the transmit routines like ip_queue_xmit() to send it on its way.

ciao,
Amit

On Tue, 12 Jun 2001 arunt@jataayusoft.com wrote:

>
> Hi all,
> This is just to know if any of you know of any functions in the kernel to
> create and send new packets from ip-layer without an active socket
> connection. The machine uses masquerading moreover.
>
> Thanks
> Arun

-- 
^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^
                  Amit Kucheria
          EECS Grad. Research Assistant
           Team Niehaus || Room # 245E
         University of Kansas @ Lawrence
   (R)+1-(785)-830 8521 ||| (O)+1-(785)-864 7774
____________________________________________________


-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[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