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

Function comp_algorithm_lookup

freebsd/netipsec/key.c:8566–8575  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8564}
8565
8566const struct comp_algo *
8567comp_algorithm_lookup(int alg)
8568{
8569 int i;
8570
8571 for (i = 0; i < nitems(supported_calgs); i++)
8572 if (alg == supported_calgs[i].sadb_alg)
8573 return (supported_calgs[i].xform);
8574 return (NULL);
8575}

Callers 2

key_getcomb_ipcompFunction · 0.85
ipcomp_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected