mirror of
https://github.com/ipxe/ipxe
synced 2026-02-28 03:11:18 +03:00
[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.
This commit is contained in:
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user