Searched refs:lorv (Results 1 – 8 of 8) sorted by relevance
| /netbsd-src/crypto/dist/ipsec-tools/src/racoon/ |
| H A D | ipsec_doi.c | 429 s_oakley_attr_v(type, ntohs(d->lorv))); 442 p = (u_char *)&d->lorv; 444 len = ntohs(d->lorv); 459 sa->enctype = (u_int16_t)ntohs(d->lorv); 463 sa->hashtype = (u_int16_t)ntohs(d->lorv); 467 sa->authmethod = ntohs(d->lorv); 476 sa->dh_group = (u_int16_t)ntohs(d->lorv); 481 int type = (int)ntohs(d->lorv); 495 sa->dhgrp->gen1 = ntohs(d->lorv); 497 int len = ntohs(d->lorv); [all …]
|
| H A D | security.c | 69 u_int16_t lorv; local 136 lorv = ntohs(d->lorv); 144 len -= (sizeof(*d) + lorv); 146 + sizeof(*d) + lorv); 155 memcpy(&p->sec_ctx, d + 1, lorv);
|
| H A D | isakmp_cfg.c | 340 s_isakmp_cfg_type(type), ntohs(attr->lorv)); 362 alen = ntohs(attr->lorv); 522 s_isakmp_cfg_type(type), ntohs(attr->lorv)); 547 alen = ntohs(attr->lorv); 716 alen = ntohs(attr->lorv); 941 new->lorv = htons(0); 956 len = ntohs(attr->lorv); 963 memcpy(buffer->v, attr, sizeof(*attr) + ntohs(attr->lorv)); 987 new->lorv = htons(value); 1014 new->lorv = htons(len); [all …]
|
| H A D | isakmp_xauth.c | 166 typeattr->lorv = htons(XAUTH_TYPE_GENERIC); 170 usrattr->lorv = htons(0); 174 pwdattr->lorv = htons(0); 213 switch (ntohs(attr->lorv)) { 240 alen = ntohs(attr->lorv); 436 stattr->lorv = htons(status); 1537 if (ntohs(attr->lorv) != XAUTH_TYPE_GENERIC) { 1540 ntohs(attr->lorv)); 1597 dlen = ntohs(attr->lorv); 1629 attr->lorv = htons(value); [all …]
|
| H A D | isakmp_unity.c | 111 s_isakmp_cfg_type(type), ntohs(attr->lorv)); 211 int alen = ntohs(attr->lorv); 287 new->lorv = htons(len);
|
| H A D | racoonctl.c | 1332 if (len < (sizeof(*attr) + ntohs(attr->lorv))) { 1339 if (ntohs(attr->lorv) < sizeof(addr4)) { 1347 banner = racoon_malloc(ntohs(attr->lorv) + 1); 1352 memcpy(banner, attr + 1, ntohs(attr->lorv)); 1353 banner[ntohs(attr->lorv)] = '\0'; 1360 len -= (sizeof(*attr) + ntohs(attr->lorv)); 1363 (n + sizeof(*attr) + ntohs(attr->lorv));
|
| H A D | isakmp.h | 175 u_int16_t lorv; /* if f equal 1, Attribute Length */ member
|
| H A D | isakmp.c | 2426 data->lorv = htons((u_int16_t)len); 2443 data->lorv = htons((u_int16_t)val); 2476 data->lorv = htons((u_int16_t)len); 2509 data->lorv = htons((u_int16_t)val);
|