mirror of
https://passt.top/passt
synced 2024-12-22 05:35:23 +00:00
71f228d04b
ndp() updates addr_seen or addr_ll_seen based on the source address of the received packet. This is redundant since tap6_handler() has already updated addr_seen for any type of packet, not just NDP. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
13 lines
291 B
C
13 lines
291 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later
|
|
* Copyright (c) 2021 Red Hat GmbH
|
|
* Author: Stefano Brivio <sbrivio@redhat.com>
|
|
*/
|
|
|
|
#ifndef NDP_H
|
|
#define NDP_H
|
|
|
|
int ndp(const struct ctx *c, const struct icmp6hdr *ih,
|
|
const struct in6_addr *saddr, const struct pool *p);
|
|
|
|
#endif /* NDP_H */
|