From: =?UTF-8?Q?Ga=c3=abtan_Carlier?= Date: Thu, 18 Jan 2018 11:56:03 +0100 Subject: [U-Boot] UDP packet sender Message-ID: <74a3f6f7-bd28-6676-ca49-8b9a26d3f93b@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: u-boot@lists.denx.de Hi, I would like to implement a new command and submit it to the mailing list. The command will have the following format: udpsend udpsend 255.255.255.255 4040 0 hello world If source port is 0, a random port will be used (11000 + (get_timer(0) % 40= 96)) Where do I have to place my code : cmd or net directory ? For me cmd will be the better directory to keep it away from all more compl= ex stuff like DHCP, TFTP, ... Thank you for these informations. Regards, Ga=C3=ABtan.