mirror of
https://github.com/ipxe/ipxe
synced 2025-12-12 14:32:49 +03:00
[tcpip] Pass through network device to transport layer protocols
NDP requires knowledge of the network device on which a packet was received. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -69,7 +69,7 @@ int icmp6_send_solicit ( struct net_device *netdev, struct in6_addr *src __unuse
|
||||
* @v st_src Source address
|
||||
* @v st_dest Destination address
|
||||
*/
|
||||
static int icmp6_rx ( struct io_buffer *iobuf, struct sockaddr_tcpip *st_src,
|
||||
static int icmp6_rx ( struct io_buffer *iobuf, struct net_device *netdev __unused, struct sockaddr_tcpip *st_src,
|
||||
struct sockaddr_tcpip *st_dest, __unused uint16_t pshdr_csum ) {
|
||||
struct icmp6_header *icmp6hdr = iobuf->data;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user