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

Function key_newsp

freebsd/netipsec/key.c:1442–1451  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1440}
1441
1442struct secpolicy *
1443key_newsp(void)
1444{
1445 struct secpolicy *sp;
1446
1447 sp = malloc(sizeof(*sp), M_IPSEC_SP, M_NOWAIT | M_ZERO);
1448 if (sp != NULL)
1449 SP_INITREF(sp);
1450 return (sp);
1451}
1452
1453struct ipsecrequest *
1454ipsec_newisr(void)

Callers 4

ipsec_newpoliciesFunction · 0.85
def_policy_initFunction · 0.85
key_msg2spFunction · 0.85
ipsec_deepcopy_pcbpolicyFunction · 0.85

Calls 1

mallocFunction · 0.85

Tested by

no test coverage detected