All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] UDP packet sender
@ 2018-01-18 10:56 Gaëtan Carlier
  2018-01-22  9:33 ` Gaëtan Carlier
  2018-01-22 22:46 ` Joe Hershberger
  0 siblings, 2 replies; 9+ messages in thread
From: Gaëtan Carlier @ 2018-01-18 10:56 UTC (permalink / raw)
  To: u-boot

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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-02-06  7:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-18 10:56 [U-Boot] UDP packet sender Gaëtan Carlier
2018-01-22  9:33 ` 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

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.