diff options
author | Michael Brown <mcb30@ipxe.org> | 2013-09-01 20:55:18 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2013-09-03 02:02:58 +0100 |
commit | 6bf36f57a0f7a22ffa85ae4995933077df62e309 (patch) | |
tree | 46822c3bbedc5fea9c395daf313fd83803131f81 /src/net/icmpv6.c | |
parent | 8a2dc7a58807bd3106cb4aed83623ed39f9b328f (diff) | |
download | ipxe-6bf36f57a0f7a22ffa85ae4995933077df62e309.tar.gz |
[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>
Diffstat (limited to 'src/net/icmpv6.c')
-rw-r--r-- | src/net/icmpv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/icmpv6.c b/src/net/icmpv6.c index 262ffc3f..72423806 100644 --- a/src/net/icmpv6.c +++ b/src/net/icmpv6.c @@ -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; |