MCPcopy Create free account
hub / github.com/F-Stack/f-stack / key_allocsp_default

Function key_allocsp_default

freebsd/netipsec/ipsec.c:302–308  ·  view source on GitHub ↗

* Return a held reference to the default SP. */

Source from the content-addressed store, hash-verified

300 * Return a held reference to the default SP.
301 */
302static struct secpolicy *
303key_allocsp_default(void)
304{
305
306 key_addref(V_def_policy);
307 return (V_def_policy);
308}
309
310static void
311ipsec_invalidate_cache(struct inpcb *inp, u_int dir)

Callers 3

ipsec4_getpolicyFunction · 0.85
ipsec6_getpolicyFunction · 0.85
ipsec_hdrsiz_inpcbFunction · 0.85

Calls 1

key_addrefFunction · 0.85

Tested by

no test coverage detected