Searched refs:lorv (Results 1 – 9 of 9) sorted by relevance
/external/ipsec-tools/src/racoon/ |
D | ipsec_doi.c | 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); 645 int len = ntohs(d->lorv); [all …]
|
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);
|
D | isakmp_xauth.c | 165 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 …]
|
D | isakmp_cfg.c | 341 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 …]
|
D | isakmp_unity.c | 108 s_isakmp_cfg_type(type), ntohs(attr->lorv)); 208 int alen = ntohs(attr->lorv); 284 new->lorv = htons(len);
|
D | racoonctl.c | 1455 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));
|
D | isakmp.h | 175 u_int16_t lorv; /* if f equal 1, Attribute Length */ member
|
D | isakmp.c | 2371 data->lorv = htons((u_int16_t)len); 2388 data->lorv = htons((u_int16_t)val); 2421 data->lorv = htons((u_int16_t)len); 2454 data->lorv = htons((u_int16_t)val);
|
/external/tcpdump/ |
D | isakmp.h | 181 u_int16_t lorv; /* if f equal 1, Attribute Length */ member
|