Lines Matching refs:proto_id
415 "doi=%d proto_id=%d spi=%s(size=%d).\n",
417 ntohl(notify->doi), notify->proto_id, spi, notify->spi_size);
492 s_ipsecdoi_proto(delete->proto_id));
501 switch (delete->proto_id) {
506 "size %d(proto_id:%d)\n",
507 delete->spi_size, delete->proto_id);
532 "size %d(proto_id:%d)\n",
533 delete->spi_size, delete->proto_id);
538 purge_ipsec_spi(iph1->remote, delete->proto_id,
553 "size %d(proto_id:%d)\n",
554 delete->spi_size, delete->proto_id);
557 purge_ipsec_spi(iph1->remote, delete->proto_id,
564 "invalid proto_id: %d\n",
565 delete->proto_id);
605 d->proto_id = IPSECDOI_PROTO_ISAKMP;
669 d->proto_id = pr->proto_id;
755 n->proto_id = IPSECDOI_KEY_IKE;
817 n->proto_id = IPSECDOI_PROTO_ISAKMP; /* XXX to be configurable ? */
867 n->proto_id = pr->proto_id; /* IPSEC AH/ESP/whatever*/
1086 n->proto_id = pr->proto_id; /* IPSEC AH/ESP/whatever*/
1114 "purged ISAKMP-SA proto_id=%s spi=%s.\n",
1264 "purged IPsec-SA proto_id=%s spi=%u.\n",
1292 int proto_id, i;
1313 proto_id = pfkey2ipsecdoi_proto(pfkey_satypes[i].ps_satype);
1328 deleteallph2(iph1->local, iph1->remote, proto_id);
1343 deleteallph2(iph1->remote, iph1->local, proto_id);
1465 proto_id = pfkey2ipsecdoi_proto(msg->sadb_msg_satype);
1466 iph2 = getph2bysaidx(src, dst, proto_id, sa->sadb_sa_spi);
1548 ru_ack->proto_id = IPSECDOI_PROTO_ISAKMP; /* XXX ? */
1657 ru->proto_id = IPSECDOI_PROTO_ISAKMP; /* XXX ?*/