Lines Matching refs:secpolicy
136 struct secpolicy ip4_def_policy;
141 static struct secpolicy ipsec_dummy_sp __read_mostly = {
147 static struct secpolicy *ipsec_checkpcbcache(struct mbuf *,
150 struct secpolicy *, int);
162 static struct secpolicy *ipsec_getpolicybysock(struct mbuf *, u_int,
170 struct secpolicy ip6_def_policy;
183 static void ipsec_destroy_policy(struct secpolicy *);
184 static int ipsec_sp_reject(const struct secpolicy *, const struct mbuf *);
186 static size_t ipsec_sp_hdrsiz(const struct secpolicy *, const struct mbuf *);
191 static struct secpolicy *
195 struct secpolicy *sp = NULL; in ipsec_checkpcbcache()
263 struct secpolicy *sp, int dir) in ipsec_fillpcbcache()
351 static struct secpolicy *
354 struct secpolicy *sp; in key_get_default_sp()
401 static struct secpolicy *
406 struct secpolicy *currsp = NULL; /* policy on socket */ in ipsec_getpolicybysock()
407 struct secpolicy *sp; in ipsec_getpolicybysock()
533 static struct secpolicy *
537 struct secpolicy *sp; in ipsec_getpolicybyaddr()
567 static struct secpolicy *
571 struct secpolicy *sp; in ipsec_checkpolicy()
620 struct secpolicy *sp = NULL; in ipsec4_output()
704 struct secpolicy *sp; in ipsec_ip_input_checkpolicy()
742 struct secpolicy *sp; in ipsec_mtu()
1120 ipsec_destroy_policy(struct secpolicy *sp) in ipsec_destroy_policy()
1140 struct secpolicy *newsp, *oldsp; in ipsec_set_policy()
1141 struct secpolicy **policy; in ipsec_set_policy()
1218 struct secpolicy *policy; in ipsec_get_policy()
1383 ipsec_sp_reject(const struct secpolicy *sp, const struct mbuf *m) in ipsec_sp_reject()
1444 struct secpolicy *sp; in ipsec_in_reject()
1473 ipsec_sp_hdrsiz(const struct secpolicy *sp, const struct mbuf *m) in ipsec_sp_hdrsiz()
1547 struct secpolicy *sp; in ipsec_hdrsiz()
1790 struct secpolicy *
1794 struct secpolicy *sp = NULL; in ipsec6_check_policy()