mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
ip6_mroute: Mark functions as static
No functional change intended. MFC after: 2 weeks Sponsored by: Stormshield Sponsored by: Klara, Inc. (cherry picked from commit a03eabfebbce15d8ce028168969812d3ca2be206) (cherry picked from commit ebc9a98c1b7d0a47359dae34509e1d9c02767a88)
This commit is contained in:
parent
f5f369f684
commit
07c0d547ee
1 changed files with 10 additions and 10 deletions
|
|
@ -363,16 +363,16 @@ static int get_sg_cnt(struct sioc_sg_req6 *);
|
|||
|
||||
static struct callout expire_upcalls_ch;
|
||||
|
||||
int X_ip6_mforward(struct ip6_hdr *, struct ifnet *, struct mbuf *);
|
||||
int X_ip6_mrouter_done(void);
|
||||
int X_ip6_mrouter_set(struct socket *, struct sockopt *);
|
||||
int X_ip6_mrouter_get(struct socket *, struct sockopt *);
|
||||
int X_mrt6_ioctl(u_long, caddr_t);
|
||||
static int X_ip6_mforward(struct ip6_hdr *, struct ifnet *, struct mbuf *);
|
||||
static int X_ip6_mrouter_done(void);
|
||||
static int X_ip6_mrouter_set(struct socket *, struct sockopt *);
|
||||
static int X_ip6_mrouter_get(struct socket *, struct sockopt *);
|
||||
static int X_mrt6_ioctl(u_long, caddr_t);
|
||||
|
||||
/*
|
||||
* Handle MRT setsockopt commands to modify the multicast routing tables.
|
||||
*/
|
||||
int
|
||||
static int
|
||||
X_ip6_mrouter_set(struct socket *so, struct sockopt *sopt)
|
||||
{
|
||||
int error = 0;
|
||||
|
|
@ -440,7 +440,7 @@ X_ip6_mrouter_set(struct socket *so, struct sockopt *sopt)
|
|||
/*
|
||||
* Handle MRT getsockopt commands
|
||||
*/
|
||||
int
|
||||
static int
|
||||
X_ip6_mrouter_get(struct socket *so, struct sockopt *sopt)
|
||||
{
|
||||
int error = 0;
|
||||
|
|
@ -459,7 +459,7 @@ X_ip6_mrouter_get(struct socket *so, struct sockopt *sopt)
|
|||
/*
|
||||
* Handle ioctl commands to obtain information from the cache
|
||||
*/
|
||||
int
|
||||
static int
|
||||
X_mrt6_ioctl(u_long cmd, caddr_t data)
|
||||
{
|
||||
int error;
|
||||
|
|
@ -591,7 +591,7 @@ ip6_mrouter_init(struct socket *so, int v, int cmd)
|
|||
/*
|
||||
* Disable IPv6 multicast forwarding.
|
||||
*/
|
||||
int
|
||||
static int
|
||||
X_ip6_mrouter_done(void)
|
||||
{
|
||||
mifi_t mifi;
|
||||
|
|
@ -1061,7 +1061,7 @@ socket_send(struct socket *s, struct mbuf *mm, struct sockaddr_in6 *src)
|
|||
* that if this function is called from somewhere else in the originating
|
||||
* context in the future.
|
||||
*/
|
||||
int
|
||||
static int
|
||||
X_ip6_mforward(struct ip6_hdr *ip6, struct ifnet *ifp, struct mbuf *m)
|
||||
{
|
||||
struct rtdetq *rte;
|
||||
|
|
|
|||
Loading…
Reference in a new issue