Home
last modified time | relevance | path

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

/external/ipsec-tools/src/racoon/
Dipsec_doi.c433 s_oakley_attr_v(type, ntohs(d->lorv)));
446 p = (u_char *)&d->lorv;
448 len = ntohs(d->lorv);
463 sa->enctype = (u_int16_t)ntohs(d->lorv);
467 sa->hashtype = (u_int16_t)ntohs(d->lorv);
471 sa->authmethod = ntohs(d->lorv);
480 sa->dh_group = (u_int16_t)ntohs(d->lorv);
485 int type = (int)ntohs(d->lorv);
499 sa->dhgrp->gen1 = ntohs(d->lorv);
501 int len = ntohs(d->lorv);
[all …]
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);
Disakmp_cfg.c343 s_isakmp_cfg_type(type), ntohs(attr->lorv));
365 alen = ntohs(attr->lorv);
524 s_isakmp_cfg_type(type), ntohs(attr->lorv));
549 alen = ntohs(attr->lorv);
717 alen = ntohs(attr->lorv);
943 new->lorv = htons(0);
958 len = ntohs(attr->lorv);
965 memcpy(buffer->v, attr, sizeof(*attr) + ntohs(attr->lorv));
989 new->lorv = htons(value);
1013 new->lorv = htons(len);
[all …]
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);
439 stattr->lorv = htons(status);
1480 if (ntohs(attr->lorv) != XAUTH_TYPE_GENERIC) {
1483 ntohs(attr->lorv));
1543 dlen = ntohs(attr->lorv);
1575 attr->lorv = htons(value);
[all …]
Disakmp_unity.c108 s_isakmp_cfg_type(type), ntohs(attr->lorv));
208 int alen = ntohs(attr->lorv);
284 new->lorv = htons(len);
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));
Disakmp.h175 u_int16_t lorv; /* if f equal 1, Attribute Length */ member
Disakmp.c2421 data->lorv = htons((u_int16_t)len);
2438 data->lorv = htons((u_int16_t)val);
2471 data->lorv = htons((u_int16_t)len);
2504 data->lorv = htons((u_int16_t)val);
/external/tcpdump/
Disakmp.h170 u_int16_t lorv; /* if f equal 1, Attribute Length */ member