Searched refs:proto_num (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/lib/libipsecutil/common/
H A Dalgs.c229 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, argument
355 if (current_proto->proto_num == proto_num) {
575 delipsecalgbyname(const char *name, int proto_num) argument
580 if ((current_proto = proto_setup(&protos, &num_protos, proto_num,
595 delipsecalgbynum(int alg_num, int proto_num) argument
601 if ((current_proto = proto_setup(&protos, &num_protos, proto_num,
650 addipsecproto(const char *proto_name, int proto_num, argument
721 delipsecprotobynum(int proto_num) argument
738 int proto_num; local
757 getipsecalgs(int *nentries, int proto_num) argument
803 ipsecproto_get_exec_mode(int proto_num, ipsecalgs_exec_mode_t *exec_mode) argument
823 ipsecproto_set_exec_mode(int proto_num, ipsecalgs_exec_mode_t exec_mode) argument
[all...]
H A Dipsec_util.h288 int proto_num; member in struct:ipsec_proto
H A Dipsec_util.c421 dump_generic_alg(uint8_t alg_num, int proto_num, FILE *where) argument
425 alg = getipsecalgbynum(alg_num, proto_num, NULL);
3299 rparsealg(uint8_t alg, int proto_num) argument
3306 holder = getipsecalgbynum(alg, proto_num, NULL);
/illumos-gate/usr/src/lib/libnsl/ipsec/
H A Dalgs.c272 new_proto->proto_num = new_num;
310 if (new_proto->proto_num == new_num)
344 new_proto->proto_num);
355 new_proto->proto_num);
366 new_proto->proto_num);
387 alg_num, new_proto->proto_num);
401 alg_num, new_proto->proto_num);
433 alg_num, new_proto->proto_num);
758 findprotobynum(int proto_num) argument
763 if (protos[i].proto_num
813 _real_getipsecalgs(int *nentries, int proto_num) argument
843 getipsecalgbyname(const char *name, int proto_num, int *errnop) argument
888 getipsecalgbynum(int alg_num, int proto_num, int *errnop) argument
934 getipsecprotobynum(int proto_num) argument
[all...]
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_dhchap.h423 uint32_t proto_num; /* set to 0x5 */ member in struct:_AUTH_NEGOT_PARAMS_1
444 uint32_t proto_num; /* set to 0x5 */ member in struct:_AUTH_NEGOT_PARAMS_2
467 uint32_t proto_num; /* set to 0x5 */ member in struct:_AUTH_NEGOT_PARAMS
488 uint32_t proto_num; /* set to 0x5 */ member in struct:_AUTH_NEGOT_PARAMS_NULL_1
504 uint32_t proto_num; /* set to 0x5 */ member in struct:_AUTH_NEGOT_PARAMS_NULL_2
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipsecalgs.c212 synch_emit_proto(uint_t proto_num) argument
217 EMIT(sync_req_attr, SPD_ATTR_PROTO_ID, proto_num);
220 if (ipsecproto_get_exec_mode(proto_num, &exec_mode) != 0) {
222 "proto %d"), proto_num);
H A Dipseckey.c625 parsealg(char *alg, int proto_num, char *ebuf) argument
636 algent = getipsecalgbyname(alg, proto_num, NULL);
660 if (proto_num == IPSEC_PROTO_ESP) {
H A Dipsecconf.c1722 print_alg(const char *tag, algreq_t *algreq, int proto_num) argument
1735 alg = getipsecalgbynum(algreq->alg_id, proto_num, NULL);
3452 valid_algorithm(int proto_num, const char *str) argument
3462 alg = getipsecalgbyname(str, proto_num, NULL);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
H A Difconfig.c1109 rparsealg(uint8_t alg_value, int proto_num) argument
1119 if (proto_num == IPSEC_PROTO_AH) {
1126 alg = getipsecalgbynum(alg_value, proto_num, NULL);
1138 parsealg(char *algname, int proto_num) argument
1154 return ((proto_num == IPSEC_PROTO_ESP) ?
1157 if ((strcasecmp("any", algname) == 0) && (proto_num == IPSEC_PROTO_AH))
1160 alg = getipsecalgbyname(algname, proto_num, NULL);
1176 (proto_num == IPSEC_PROTO_ESP) ?
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_dhchap.c1677 ap1->params.proto_num = AUTH_PROTO_NUM;
1737 ap2->params.proto_num = AUTH_PROTO_NUM;
1803 null_ap1->params.proto_num = AUTH_PROTO_NUM;
1822 null_ap2->params.proto_num = AUTH_PROTO_NUM;
4414 /* Check proto_num */
4757 /* Check proto_num */

Completed in 126 milliseconds