treewide: Mark constant references as const

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio
2022-03-26 07:23:21 +01:00
parent 965f603238
commit 48582bf47f
29 changed files with 192 additions and 168 deletions

4
ndp.h
View File

@@ -6,7 +6,7 @@
#ifndef NDP_H
#define NDP_H
int ndp(struct ctx *c, struct icmp6hdr *ih, unsigned char *eh_source,
struct in6_addr *saddr);
int ndp(struct ctx *c, const struct icmp6hdr *ih,
const unsigned char *eh_source, const struct in6_addr *saddr);
#endif /* NDP_H */