All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Gaëtan Carlier" <gcembed@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] UDP packet sender
Date: Thu, 18 Jan 2018 11:56:03 +0100	[thread overview]
Message-ID: <74a3f6f7-bd28-6676-ca49-8b9a26d3f93b@gmail.com> (raw)

Hi,
I would like to implement a new command and submit it to the mailing list.
The command will have the following format:
udpsend <destination/broadcast ip> <destination port> <source port> <text to send>

udpsend 255.255.255.255 4040 0 hello world

If source port is 0, a random port will be used (11000 + (get_timer(0) % 4096))

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 complex stuff like DHCP, TFTP, ...

Thank you for these informations.
Regards,
Gaëtan.

             reply	other threads:[~2018-01-18 10:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-18 10:56 Gaëtan Carlier [this message]
2018-01-22  9:33 ` [U-Boot] UDP packet sender Gaëtan Carlier
2018-01-22 21:28   ` Lukasz Majewski
2018-01-22 22:46 ` Joe Hershberger
2018-01-22 23:28   ` Gaëtan Carlier
2018-01-23  0:54     ` Joe Hershberger
2018-01-23 14:02       ` Gaëtan Carlier
2018-02-02 19:13         ` Joe Hershberger
2018-02-06  7:57           ` Gaëtan Carlier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=74a3f6f7-bd28-6676-ca49-8b9a26d3f93b@gmail.com \
    --to=gcembed@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.