Sending UDP Packet to loopback interface

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

 



Hi All,

 

I would like to send UDP packet from my kernel module to a UDP server application bound with loop back IP(127.0.0.1) and a particular port(say 1000), where both the module and udp server applications are running in a single machine.

 

But I am not able to capture the UDP packets that I am sending to that UDP server from my kernel module through the ethereal. I have specified the destination IP and port as 127.0.0.1 and 1000 respectively in the packet. But It works fine when I specify destination IP other than 127.0.0.1

 

My main objective is to send the udp packet from the kernel space to an udp application bound with 127.0.0.1 and an udp port ( say 1000) where both the module and UDP applications are running in a single machine.

 

 

I will really appreciate if I get any help on this regard.

 

Thanks,

Jitendra

 

 


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux