/external/ipsec-tools/src/racoon/ |
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);
|
ipsec_doi.c | 580 "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); 2061 u_int16_t lorv; local 2276 u_int16_t lorv; local 2497 u_int16_t lorv; local [all...] |
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...] |
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); 438 stattr->lorv = htons(status); [all...] |
isakmp_unity.c | 108 s_isakmp_cfg_type(type), ntohs(attr->lorv)); 208 int alen = ntohs(attr->lorv); 284 new->lorv = htons(len);
|
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)); [all...] |
isakmp.h | 175 u_int16_t lorv; /* if f equal 1, Attribute Length */ member in struct:isakmp_data
|
isakmp.c | [all...] |
/external/tcpdump/ |
isakmp.h | 181 u_int16_t lorv; /* if f equal 1, Attribute Length */ member in struct:isakmp_data
|