Make ipsec_in_reject() static. We use ipsec[46]_in_reject() instead.
Sponsored by: Yandex LLC
This commit is contained in:
parent
3e92c37f32
commit
a9b9f6b6c6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=282048
@ -238,6 +238,7 @@ SYSCTL_VNET_PCPUSTAT(_net_inet6_ipsec6, IPSECCTL_STATS, ipsecstats,
|
||||
struct ipsecstat, ipsec6stat, "IPsec IPv6 statistics.");
|
||||
#endif /* INET6 */
|
||||
|
||||
static int ipsec_in_reject(struct secpolicy *, struct mbuf *);
|
||||
static int ipsec_setspidx_inpcb(struct mbuf *, struct inpcb *);
|
||||
static int ipsec_setspidx(struct mbuf *, struct secpolicyindex *, int);
|
||||
static void ipsec4_get_ulp(struct mbuf *m, struct secpolicyindex *, int);
|
||||
@ -1191,7 +1192,7 @@ ipsec_get_reqlevel(struct ipsecrequest *isr)
|
||||
* 0: valid
|
||||
* 1: invalid
|
||||
*/
|
||||
int
|
||||
static int
|
||||
ipsec_in_reject(struct secpolicy *sp, struct mbuf *m)
|
||||
{
|
||||
struct ipsecrequest *isr;
|
||||
|
@ -309,7 +309,6 @@ struct inpcb;
|
||||
extern int ipsec_init_policy(struct socket *so, struct inpcbpolicy **);
|
||||
extern int ipsec_copy_policy(struct inpcbpolicy *, struct inpcbpolicy *);
|
||||
extern u_int ipsec_get_reqlevel(struct ipsecrequest *);
|
||||
extern int ipsec_in_reject(struct secpolicy *, struct mbuf *);
|
||||
|
||||
extern int ipsec_set_policy(struct inpcb *inp, int optname,
|
||||
caddr_t request, size_t len, struct ucred *cred);
|
||||
|
Loading…
Reference in New Issue
Block a user