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

/external/ipsec-tools/src/racoon/
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 Dipsec_doi.c580 "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 sa->dh_group = (u_int16_t)ntohs(d->lorv);
629 int type = (int)ntohs(d->lorv);
643 sa->dhgrp->gen1 = ntohs(d->lorv);
2065 u_int16_t lorv; local
2280 u_int16_t lorv; local
2501 u_int16_t lorv; local
[all...]
H A 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
[all...]
H A Disakmp_unity.c108 s_isakmp_cfg_type(type), ntohs(attr->lorv));
208 int alen = ntohs(attr->lorv);
284 new->lorv = htons(len);
H A 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
[all...]
H A 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));
H A Disakmp.h175 u_int16_t lorv; /* if f equal 1, Attribute Length */ member in struct:isakmp_data
H A Disakmp.c2370 data->lorv = htons((u_int16_t)len);
2387 data->lorv = htons((u_int16_t)val);
2420 data->lorv = htons((u_int16_t)len);
2453 data->lorv = htons((u_int16_t)val);
/external/tcpdump/
H A Dprint-isakmp.c152 uint16_t lorv; /* if f equal 1, Attribute Length */ member in struct:isakmp_data

Completed in 202 milliseconds