Home
last modified time | relevance | path

Searched refs:lorv (Results 1 – 8 of 8) sorted by relevance

/netbsd-src/crypto/dist/ipsec-tools/src/racoon/
H A Dipsec_doi.c429 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 Dsecurity.c69 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 Disakmp_cfg.c340 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 Disakmp_xauth.c166 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 Disakmp_unity.c111 s_isakmp_cfg_type(type), ntohs(attr->lorv));
211 int alen = ntohs(attr->lorv);
287 new->lorv = htons(len);
H A Dracoonctl.c1332 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 Disakmp.h175 u_int16_t lorv; /* if f equal 1, Attribute Length */ member
H A Disakmp.c2426 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);