Lines Matching refs:lorv
580 "type=%s, flag=0x%04x, lorv=%s\n",
582 s_oakley_attr_v(type, ntohs(d->lorv)));
595 p = (u_char *)&d->lorv;
597 len = ntohs(d->lorv);
612 sa->enctype = (u_int16_t)ntohs(d->lorv);
616 sa->hashtype = (u_int16_t)ntohs(d->lorv);
620 sa->authmethod = ntohs(d->lorv);
624 lorv);
629 int type = (int)ntohs(d->lorv);
643 sa->dhgrp->gen1 = ntohs(d->lorv);
645 int len = ntohs(d->lorv);
657 sa->dhgrp->gen2 = ntohs(d->lorv);
659 int len = ntohs(d->lorv);
678 int type = (int)ntohs(d->lorv);
728 int len = ntohs(d->lorv);
755 int len = ntohs(d->lorv);
854 tlen -= (sizeof(*d) + ntohs(d->lorv));
855 d = (struct isakmp_data *)((char *)d + sizeof(*d) + ntohs(d->lorv));
2061 u_int16_t lorv;
2069 lorv = ntohs(d->lorv);
2072 "type=%s, flag=0x%04x, lorv=%s\n",
2074 s_oakley_attr_v(type, lorv));
2100 if (!flag && lorv == 0) { /*TLV*/
2103 lorv, type);
2109 if (!alg_oakley_encdef_ok(lorv)) {
2112 lorv);
2118 if (!alg_oakley_hashdef_ok(lorv)) {
2121 lorv);
2127 switch (lorv) {
2157 s_oakley_attr_method(lorv));
2162 lorv);
2168 if (!alg_oakley_dhdef_ok(lorv)) {
2171 lorv);
2177 switch (lorv) {
2183 lorv);
2201 switch (lorv) {
2207 "invalid life type %d.\n", lorv);
2242 tlen -= (sizeof(*d) + lorv);
2244 + sizeof(*d) + lorv);
2276 u_int16_t lorv;
2286 lorv = ntohs(d->lorv);
2289 "type=%s, flag=0x%04x, lorv=%s\n",
2291 s_ipsecdoi_attr_v(type, lorv));
2304 switch (lorv) {
2320 lorv);
2332 switch (lorv) {
2340 lorv, trns->t_id);
2372 lorv);
2377 lorv);
2389 switch (lorv) {
2395 "invalid life type %d.\n", lorv);
2407 if (lorv == 0) {
2422 if (!alg_oakley_dhdef_ok(lorv)) {
2425 lorv);
2466 tlen -= (sizeof(*d) + lorv);
2468 + sizeof(*d) + lorv);
2497 u_int16_t lorv;
2507 lorv = ntohs(d->lorv);
2510 "type=%d, flag=0x%04x, lorv=0x%04x\n",
2511 type, flag, lorv);
2524 switch (lorv) {
2540 lorv);
2552 switch (lorv) {
2558 "invalid life type %d.\n", lorv);
2570 if (lorv == 0) {
2585 if (!alg_oakley_dhdef_ok(lorv)) {
2588 lorv);
2617 tlen -= (sizeof(*d) + lorv);
2619 + sizeof(*d) + lorv);
4630 "type=%s, flag=0x%04x, lorv=%s\n",
4632 s_ipsecdoi_attr_v(type, ntohs(d->lorv)));
4637 int type = ntohs(d->lorv);
4667 ld_buf = vmalloc(sizeof(d->lorv));
4673 memcpy(ld_buf->v, &d->lorv, sizeof(d->lorv));
4675 int len = ntohs(d->lorv);
4743 pp->pfs_group = (u_int16_t)ntohs(d->lorv);
4744 else if (pp->pfs_group != (u_int16_t)ntohs(d->lorv)) {
4754 pr->encmode != (u_int16_t)ntohs(d->lorv)) {
4760 pr->encmode = (u_int16_t)ntohs(d->lorv);
4770 tr->authtype = (u_int16_t)ntohs(d->lorv);
4779 tr->encklen = ntohs(d->lorv);
4784 int len = ntohs(d->lorv);
4802 tlen -= (sizeof(*d) + ntohs(d->lorv));
4803 d = (struct isakmp_data *)((caddr_t)d + sizeof(*d) + ntohs(d->lorv));