| 8564 | } |
| 8565 | |
| 8566 | const struct comp_algo * |
| 8567 | comp_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 | } |
no outgoing calls
no test coverage detected