Home
last modified time | relevance | path

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

/external/ipsec-tools/src/racoon/
Dipsec_doi.c582 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 sa->dh_group = (u_int16_t)ntohs(d->lorv);
629 int type = (int)ntohs(d->lorv);
643 sa->dhgrp->gen1 = ntohs(d->lorv);
645 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_xauth.c165 typeattr->lorv = htons(XAUTH_TYPE_GENERIC);
169 usrattr->lorv = htons(0);
173 pwdattr->lorv = htons(0);
212 switch (ntohs(attr->lorv)) {
239 alen = ntohs(attr->lorv);
441 stattr->lorv = htons(status);
1406 if (ntohs(attr->lorv) != XAUTH_TYPE_GENERIC) {
1409 ntohs(attr->lorv));
1469 dlen = ntohs(attr->lorv);
1501 attr->lorv = htons(value);
[all …]
Disakmp_cfg.c341 s_isakmp_cfg_type(type), ntohs(attr->lorv));
363 alen = ntohs(attr->lorv);
523 s_isakmp_cfg_type(type), ntohs(attr->lorv));
548 alen = ntohs(attr->lorv);
716 alen = ntohs(attr->lorv);
934 new->lorv = htons(0);
949 len = ntohs(attr->lorv);
956 memcpy(buffer->v, attr, sizeof(*attr) + ntohs(attr->lorv));
980 new->lorv = htons(value);
1004 new->lorv = htons(len);
[all …]
Disakmp_unity.c108 s_isakmp_cfg_type(type), ntohs(attr->lorv));
208 int alen = ntohs(attr->lorv);
284 new->lorv = htons(len);
Dracoonctl.c1455 if (len < (sizeof(*attr) + ntohs(attr->lorv))) {
1462 if (ntohs(attr->lorv) < sizeof(addr4)) {
1470 banner = racoon_malloc(ntohs(attr->lorv) + 1);
1475 memcpy(banner, attr + 1, ntohs(attr->lorv));
1476 banner[ntohs(attr->lorv)] = '\0';
1483 len -= (sizeof(*attr) + ntohs(attr->lorv));
1486 (n + sizeof(*attr) + ntohs(attr->lorv));
Disakmp.h175 u_int16_t lorv; /* if f equal 1, Attribute Length */ member
Disakmp.c2376 data->lorv = htons((u_int16_t)len);
2393 data->lorv = htons((u_int16_t)val);
2426 data->lorv = htons((u_int16_t)len);
2459 data->lorv = htons((u_int16_t)val);
/external/tcpdump/
Dprint-isakmp.c151 uint16_t lorv; /* if f equal 1, Attribute Length */ member