Lines Matching refs:algno
138 int algno; local
143 algno = findsupportedmap((int)satype);
144 if (algno == -1) {
148 if (ipsec_supported[algno] == NULL) {
153 tlen = ipsec_supported[algno]->sadb_supported_len
155 p = (void *)(ipsec_supported[algno] + 1);
662 int len, algno; in pfkey_send_register() local
665 for (algno = 0; in pfkey_send_register()
666 algno < sizeof(supported_map)/sizeof(supported_map[0]); in pfkey_send_register()
667 algno++) { in pfkey_send_register()
668 if (ipsec_supported[algno]) { in pfkey_send_register()
669 free(ipsec_supported[algno]); in pfkey_send_register()
670 ipsec_supported[algno] = NULL; in pfkey_send_register()
674 algno = findsupportedmap((int)satype); in pfkey_send_register()
675 if (algno == -1) { in pfkey_send_register()
680 if (ipsec_supported[algno]) { in pfkey_send_register()
681 free(ipsec_supported[algno]); in pfkey_send_register()
682 ipsec_supported[algno] = NULL; in pfkey_send_register()