Home
last modified time | relevance | path

Searched refs:proto_id (Results 1 – 17 of 17) sorted by relevance

/external/ipsec-tools/src/racoon/
Dproposal.c388 if (pr1->proto_id == pr2->proto_id)
396 if (pr2->proto_id == pr1->proto_id)
405 if (pr1->proto_id != pr2->proto_id) {
409 s_ipsecdoi_proto(pr2->proto_id),
410 s_ipsecdoi_proto(pr1->proto_id));
416 else if (pr1->proto_id == IPSECDOI_PROTO_IPCOMP) {
477 if (cmpsatrns(pr1->proto_id, tr1, tr2, ph1->rmconf->pcheck_level) == 0)
491 newpr->proto_id = pr1->proto_id;
580 cmpsatrns(proto_id, tr1, tr2, check_level) in cmpsatrns() argument
581 int proto_id; in cmpsatrns()
[all …]
Dipsec_doi.c346 prop->p_no, s_ipsecdoi_proto(prop->proto_id),
352 s_ipsecdoi_trns(prop->proto_id, trns->t_id));
1058 if (p->prop->proto_id != r->prop->proto_id) {
1061 r->prop->proto_id, p->prop->proto_id);
1203 if (sp->proto_id == p->prop->proto_id)
1371 if (check_protocol[mode](prop->proto_id) < 0)
1375 if (check_spi_size(prop->proto_id, prop->spi_size) < 0)
1503 if (prop->proto_id >= ARRAYLEN(check_transform)) {
1506 prop->proto_id);
1509 if (prop->proto_id >= ARRAYLEN(check_attributes)) {
[all …]
Disakmp_inf.c416 ntohl(notify->doi), notify->proto_id, spi, notify->spi_size);
491 s_ipsecdoi_proto(delete->proto_id));
500 switch (delete->proto_id) {
506 delete->spi_size, delete->proto_id);
532 delete->spi_size, delete->proto_id);
537 purge_ipsec_spi(iph1->remote, delete->proto_id,
553 delete->spi_size, delete->proto_id);
556 purge_ipsec_spi(iph1->remote, delete->proto_id,
564 delete->proto_id);
604 d->proto_id = IPSECDOI_PROTO_ISAKMP;
[all …]
Disakmp.h205 u_int8_t proto_id; /* Protocol */ member
314 u_int8_t proto_id; /* Protocol-ID */ member
378 u_int8_t proto_id; /* Protocol-Id */ member
421 u_int8_t proto_id; /* Protocol-Id */ member
Dpfkey.c721 pfkey_convertfromipsecdoi(proto_id, t_id, hashtype, in pfkey_convertfromipsecdoi() argument
723 u_int proto_id; in pfkey_convertfromipsecdoi()
733 switch (proto_id) {
870 satype = ipsecdoi2pfkey_proto(pr->proto_id);
873 "invalid proto_id %d\n", pr->proto_id);
935 int proto_id; local
980 proto_id = pfkey2ipsecdoi_proto(msg->sadb_msg_satype);
984 if (pr->proto_id == proto_id && pr->spi == 0) {
1063 sa_args.satype = ipsecdoi2pfkey_proto(pr->proto_id);
1066 "invalid proto_id %d\n", pr->proto_id);
[all …]
Dhandler.c538 getph2bysaidx(src, dst, proto_id, spi) in getph2bysaidx() argument
540 u_int proto_id;
552 if (proto_id != pr->proto_id)
560 if (proto_id != pr->proto_id)
740 deleteallph2(src, dst, proto_id) in deleteallph2() argument
742 u_int proto_id;
754 if (proto_id == pr->proto_id)
760 if (proto_id == pr->proto_id)
1289 purge_ipsec_spi(iph2->dst, iph2->approval->head->proto_id, in remove_ph2()
Dproposal.h74 int proto_id; member
Dipsec_doi.h164 u_int8_t proto_id; /* Protocol ID */ member
Disakmp_quick.c223 if (id->proto_id == 0
224 && id_p->proto_id == 0
1538 n->proto_id = iph2->approval->head->proto_id;
Dcfparse.y113 int proto_id; /* for ipsec (isakmp?) */ member
1325 id_b->proto_id = 0;
1354 id_b->proto_id = 0;
Disakmp.c3195 u_int proto_id; local
3267 proto_id = pfkey2ipsecdoi_proto(msg->sadb_msg_satype);
3268 iph2 = getph2bysaidx(src, dst, proto_id, sa->sadb_sa_spi);
Doakley.c514 p[0] = pr->proto_id;
540 switch (pr->proto_id) {
/external/tcpdump/
Dprint-eigrp.c141 uint8_t proto_id; member
178 uint8_t proto_id; member
370 tok2str(eigrp_ext_proto_id_values,"unknown",tlv_ptr.eigrp_tlv_ip_ext->proto_id), in eigrp_print()
433 tok2str(eigrp_ext_proto_id_values,"unknown",tlv_ptr.eigrp_tlv_at_ext->proto_id), in eigrp_print()
Dprint-isakmp.c450 uint8_t proto_id; /* OAKLEY */
556 uint8_t proto_id; /* Protocol ID */ member
1367 pe = id.proto_id ? getprotobynumber(id.proto_id) : NULL; in ikev1_id_print()
1371 ND_PRINT((ndo," protoid=%u", id.proto_id)); in ikev1_id_print()
/external/iw/
Dscan.c983 uint8_t proto_id = data[idx + 1]; in print_11u_advert() local
989 switch(proto_id) { in print_11u_advert()
1001 printf("\t\t\tReserved: %i\n", proto_id); break; in print_11u_advert()
/external/wpa_supplicant_8/wpa_supplicant/
Dmesh_mpm.c24 const u8 *proto_id; /* Mesh Peering Protocol Identifier (2 octets) */ member
93 mpm_ie->proto_id = ie; in mesh_mpm_parse_peer_mgmt()
/external/ipsec-tools/
DChangeLog343 * src/racoon/ipsec_doi.c: checks proto_id in ipsecdoi_chkcmpids()