Re: Port Number in Packet filter

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

 



Hello,

> Server is running on 10000 port.
> But in packet filter we always get some 4135 port but
> not
> 10000.

   All integers are always transmitted on a network in network
byte-order, you only need to swap the bytes to get it back to native
byte-order. I-e ntohs (4135) => 10000.

Regards,

Zeeshan Ali.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[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