Networking Forums

Networking Forums > Computer Networking > Linux Networking > sending a packet from transport layer

Reply
Thread Tools Display Modes

sending a packet from transport layer

 
 
mihir
Guest
Posts: n/a

 
      04-17-2006, 10:07 AM
I am facing this problem since long and really hampering my progress in
implementing

cisco's pgm protocol in linux kernel 2.6.15 . Basically its a reliable
multicast protocol

works at a transport layer. So for as of now, i am trying to change my
udp functionality

from net/ipv4/udp.c changed to refect pgm. I have implmented my own
header instead on udp

header and i am receving it fine at the other end. But now as for
implemenation of NACK (

negative ack) i have to check header of received packet sequence
number ( my own header

has it as per pgm sepecifications) and generate reply for nack from
udp_rcv() function

only. Thats where I am facing the problem. I dont know how to send any
packet from the

transport layer itslef. I tried using calling ip_push_pending_frames()
directly but not

working as I would not be having any sock for the packet I received.
Can I just call

sys_socket and sys_sendto to send a packet . ( I tried that too but now
working , both my

tries gives me some sleeping from invalid context error) . Is there any
body who can help

me out? echo echo .....

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Application Layer Gateway: custom packet treatment Ludovic Felten Windows Networking 0 11-30-2007 04:38 PM
PROTOCOL sending layer 2 packets.. from a os other than linux.. !!! siva.ieee@gmail.com Linux Networking 1 09-27-2007 02:27 PM
Raw packet capture and sending Konstantin Grudnev Linux Networking 1 03-20-2006 07:28 AM
RFC 3207 (SMTP Service Extension for Secure SMTP over Transport Layer Security) - materials Piotrek Linux Networking 1 04-29-2005 10:38 AM
Which function at link layer sends packet? kernel.lover Linux Networking 0 02-03-2005 12:06 PM



1 2 3 4 5 6 7 8 9 10 11