From: Colin Leitner <colin.leitner@googlemail.com>
To: Colin Leitner <colin.leitner@googlemail.com>,
Antony Pavlov <antonynpavlov@gmail.com>
Cc: barebox@lists.infradead.org, Daniele Lacamera <daniele.lacamera@tass.be>
Subject: Re: Adding IPv4 multicast support
Date: Sun, 13 Jul 2014 15:15:57 +0200 [thread overview]
Message-ID: <53C2868D.1080307@gmail.com> (raw)
In-Reply-To: <53C264D3.70604@gmail.com>
>
> I'll probably just push the patches to a github repository until picotcp lands.
>
Patches can be found at
https://github.com/cleitner/barebox-mcast/tree/multicast
Commits
* 8e99783f775ef8013ea9f5e5f9fa881002cd21a2
* f5f78253ce2e48affbb0b3bf9726b3b6e684b509
* 0dd506b341a61855b9b526c6c0de3da2d4c4e0a9
are small cleanups to the network code and could be merged even if multicast support is deemed unnecessary.
Multicast connections are used like any other UDP connection:
con = net_udp_new(string_to_ip("224.0.0.123"), 12345, handler, priv);
net_udp_bind(con, 12345);
I only patched the drivers smc91111 (tested) and smc911x (untested) to receive multicast packets. Other drivers are likely just as easy to patch.
Have fun,
Colin
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2014-07-13 13:16 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-13 10:11 Colin Leitner
2014-07-13 10:55 ` Antony Pavlov
2014-07-13 10:52 ` Colin Leitner
2014-07-13 13:15 ` Colin Leitner [this message]
2014-07-13 14:28 ` Daniele Lacamera
2014-07-15 7:01 ` picotcp tftp support [was Adding IPv4 multicast support] Antony Pavlov
2014-07-15 9:31 ` Daniele Lacamera
2014-07-15 10:27 ` Antony Pavlov
2014-07-15 10:57 ` Daniele Lacamera
2014-07-15 12:57 ` Antony Pavlov
2014-07-15 15:55 ` Daniele Lacamera
2014-07-15 19:02 ` Antony Pavlov
2014-07-16 6:30 ` Sascha Hauer
2014-07-16 6:48 ` Daniele Lacamera
2014-09-04 17:14 ` Antony Pavlov
2014-09-05 7:37 ` Daniele Lacamera
2014-09-26 9:27 ` PicoTCP
2014-09-28 14:22 ` Antony Pavlov
2014-09-29 9:45 ` Daniele Lacamera
2014-09-29 10:10 ` Michele Di Pede
2014-09-29 10:19 ` Antony Pavlov
2014-07-15 18:17 ` Adding IPv4 multicast support Colin Leitner
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=53C2868D.1080307@gmail.com \
--to=colin.leitner@googlemail.com \
--cc=antonynpavlov@gmail.com \
--cc=barebox@lists.infradead.org \
--cc=daniele.lacamera@tass.be \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox