Lines Matching defs:proto_num
229 protos[i].proto_num, protos[i].proto_name));
338 * protocol num proto_num. Also builds the list of currently defined
342 proto_setup(ipsec_proto_t **protos, int *num_protos, int proto_num,
355 if (current_proto->proto_num == proto_num) {
575 delipsecalgbyname(const char *name, int proto_num)
580 if ((current_proto = proto_setup(&protos, &num_protos, proto_num,
595 delipsecalgbynum(int alg_num, int proto_num)
601 if ((current_proto = proto_setup(&protos, &num_protos, proto_num,
650 addipsecproto(const char *proto_name, int proto_num,
661 current_proto = proto_setup(&protos, &num_protos, proto_num, B_FALSE);
700 new_proto->proto_num = proto_num;
721 delipsecprotobynum(int proto_num)
726 if ((current_proto = proto_setup(&protos, &num_protos, proto_num,
738 int proto_num;
740 proto_num = getipsecprotobyname(proto_name);
741 if (proto_num == -1)
744 return (delipsecprotobynum(proto_num));
757 getipsecalgs(int *nentries, int proto_num)
759 return (_real_getipsecalgs(nentries, proto_num));
803 ipsecproto_get_exec_mode(int proto_num, ipsecalgs_exec_mode_t *exec_mode)
808 if ((current_proto = proto_setup(&protos, &num_protos, proto_num,
823 ipsecproto_set_exec_mode(int proto_num, ipsecalgs_exec_mode_t exec_mode)
828 if ((current_proto = proto_setup(&protos, &num_protos, proto_num,