Make icmp6_reflect() static.
icmp6_reflect() is not used anywhere outside icmp6.c, no reason to export it. Sponsored by: Netflix
This commit is contained in:
parent
84a03ac69a
commit
0700d2c3f0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=355327
@ -701,7 +701,6 @@ void icmp6_error2(struct mbuf *, int, int, int, struct ifnet *);
|
||||
int icmp6_input(struct mbuf **, int *, int);
|
||||
void icmp6_fasttimo(void);
|
||||
void icmp6_slowtimo(void);
|
||||
void icmp6_reflect(struct mbuf *, size_t);
|
||||
void icmp6_prepare(struct mbuf *);
|
||||
void icmp6_redirect_input(struct mbuf *, int);
|
||||
void icmp6_redirect_output(struct mbuf *, struct rtentry *);
|
||||
|
@ -137,6 +137,7 @@ VNET_DECLARE(int, icmp6_nodeinfo);
|
||||
|
||||
static void icmp6_errcount(int, int);
|
||||
static int icmp6_rip6_input(struct mbuf **, int);
|
||||
static void icmp6_reflect(struct mbuf *, size_t);
|
||||
static int icmp6_ratelimit(const struct in6_addr *, const int, const int);
|
||||
static const char *icmp6_redirect_diag(struct in6_addr *,
|
||||
struct in6_addr *, struct in6_addr *);
|
||||
@ -2034,7 +2035,7 @@ icmp6_rip6_input(struct mbuf **mp, int off)
|
||||
* Reflect the ip6 packet back to the source.
|
||||
* OFF points to the icmp6 header, counted from the top of the mbuf.
|
||||
*/
|
||||
void
|
||||
static void
|
||||
icmp6_reflect(struct mbuf *m, size_t off)
|
||||
{
|
||||
struct in6_addr src6, *srcp;
|
||||
|
Loading…
Reference in New Issue
Block a user