aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/ipv6.c
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2009-01-21 03:40:39 +0000
committerMichael Brown <mcb30@etherboot.org>2009-01-21 03:40:39 +0000
commitd230b53df2f44da477742094e5bbcc1b1520347c (patch)
tree4d0c8e9591509360aa7a7b1135ae39d6eab320ee /src/net/ipv6.c
parentb4a95a8974dd073b580d6a23383fa94b3d59d989 (diff)
downloadipxe-d230b53df2f44da477742094e5bbcc1b1520347c.tar.gz
[tcpip] Allow for transmission to multicast IPv4 addresses
When sending to a multicast address, it may be necessary to specify the source address explicitly, since the multicast destination address does not provide enough information to deduce the source address via the miniroute table. Allow the source address specified via the data-xfer metadata to be passed down through the TCP/IP stack to the IPv4 layer, which can use it as a default source address.
Diffstat (limited to 'src/net/ipv6.c')
-rw-r--r--src/net/ipv6.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/ipv6.c b/src/net/ipv6.c
index 3407d538c..f7308bb43 100644
--- a/src/net/ipv6.c
+++ b/src/net/ipv6.c
@@ -176,6 +176,7 @@ void ipv6_dump ( struct ip6_header *ip6hdr ) {
*/
static int ipv6_tx ( struct io_buffer *iobuf,
struct tcpip_protocol *tcpip,
+ struct sockaddr_tcpip *st_src __unused,
struct sockaddr_tcpip *st_dest,
struct net_device *netdev,
uint16_t *trans_csum ) {