From: Roberto Nibali drugphish.ch>
Subject: Re: client socket and source port selection
Newsgroups: gmane.linux.network.general, gmane.linux.kernel
Date: Mon, 29 Nov 2004 23:32:46 +0100
Hello,
> For the project i'm doing, i must know how the Linux kernel allocate
> sockets source port (from the dynamic range of the (2**16)-1 ports). I
> looked on the Web but it's really hard to find the algoritm of the
fillpacket() function in pktgen.c is setting this version field.
check this link: