HomeSort by: relevance | last modified time | path
    Searched refs:secpolicy (Results 1 - 13 of 13) sorted by relevancy

  /src/sys/netipsec/
key.h 39 struct secpolicy;
58 struct secpolicy *key_lookup_sp_byspidx(const struct secpolicyindex *, u_int,
60 struct secpolicy *key_newsp(const char*, int);
61 struct secpolicy *key_gettunnel(const struct sockaddr *,
65 void key_init_sp(struct secpolicy *);
66 void key_free_sp(struct secpolicy *);
67 u_int key_sp_refcnt(const struct secpolicy *);
68 void key_sp_ref(struct secpolicy *, const char *, int);
69 void key_sp_unref(struct secpolicy *, const char *, int);
70 void key_sp_touch(struct secpolicy *);
    [all...]
ipsec6.h 47 extern struct secpolicy ip6_def_policy;
52 struct secpolicy *ipsec6_check_policy(struct mbuf *, struct inpcb *,
key_debug.h 76 struct secpolicy;
82 void kdebug_secpolicy(const struct secpolicy *);
ipsec.h 67 struct secpolicy { struct
108 struct secpolicy *sp; /* back pointer to SP */
113 struct secpolicy *sp_in;
114 struct secpolicy *sp_out;
119 struct secpolicy *cachesp;
227 extern struct secpolicy ip4_def_policy;
ipsec.c 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 *
    [all...]
keydb.h 182 /* secpolicy */
183 struct secpolicy *keydb_newsecpolicy (void);
184 void keydb_delsecpolicy (struct secpolicy *);
key.c 307 (PSLIST_READER_FIRST(&key_spd.splist[(dir)], struct secpolicy, \
311 struct secpolicy, pslist_entry)
314 struct secpolicy, pslist_entry)
318 (PSLIST_WRITER_FIRST(&key_spd.splist[(dir)], struct secpolicy, \
324 PSLIST_WRITER_NEXT((sp), struct secpolicy, pslist_entry)
330 struct secpolicy *__sp; \
344 struct secpolicy, pslist_entry)
346 (PSLIST_READER_FIRST(&key_spd.socksplist, struct secpolicy, \
664 static void key_freesp_so(struct secpolicy **);
666 static struct secpolicy *key_getsp (const struct secpolicyindex *)
    [all...]
key_debug.c 443 kdebug_secpolicy(const struct secpolicy *sp)
449 printf(" secpolicy { refcnt=%u state=%u policy=%u",
501 printf(" secpolicy { dir=%u prefs=%u prefd=%u ul_proto=%u",
ipsecif.c 371 struct secpolicy *sp = NULL;
  /src/sys/net/
if_ipsec.h 83 struct secpolicy *iv_sp[IPSEC_DIR_MAX];
84 struct secpolicy *iv_sp6[IPSEC_DIR_MAX];
if_ipsec.c 120 static inline struct secpolicy *if_ipsec_add_sp0(struct sockaddr *,
122 static inline int if_ipsec_del_sp0(struct secpolicy *);
1831 static struct secpolicy *
1869 * secpolicy.spidx.{src, dst} must not be set port number,
1984 if_ipsec_del_sp0(struct secpolicy *sp)
  /src/sys/netinet6/
ip6_forward.c 132 struct secpolicy *sp = NULL;
ip6_output.c 230 struct secpolicy *sp = NULL;

Completed in 30 milliseconds