| /src/crypto/dist/ipsec-tools/src/racoon/ |
| security.c | 69 uint16_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 | 418 "type=%s, flag=0x%04x, lorv=%s\n", 420 s_oakley_attr_v(type, ntohs(d->lorv))); 433 p = (u_char *)&d->lorv; 435 len = ntohs(d->lorv); 450 sa->enctype = (uint16_t)ntohs(d->lorv); 454 sa->hashtype = (uint16_t)ntohs(d->lorv); 458 sa->authmethod = ntohs(d->lorv); 467 sa->dh_group = (uint16_t)ntohs(d->lorv); 472 int xtype = (int)ntohs(d->lorv); 486 sa->dhgrp->gen1 = ntohs(d->lorv); 1674 uint16_t lorv; local 1978 uint16_t lorv; local 2190 uint16_t lorv; local 2410 uint16_t lorv; local [all...] |
| isakmp_cfg.c | 327 s_isakmp_cfg_type(type), ntohs(attr->lorv)); 349 alen = ntohs(attr->lorv); 507 s_isakmp_cfg_type(type), ntohs(attr->lorv)); 532 alen = ntohs(attr->lorv); 699 alen = ntohs(attr->lorv); 914 new->lorv = htons(0); 928 len = ntohs(attr->lorv); 935 memcpy(buffer->v, attr, sizeof(*attr) + ntohs(attr->lorv)); 957 new->lorv = htons(value); 982 new->lorv = htons(len) [all...] |
| isakmp_unity.c | 109 s_isakmp_cfg_type(type), ntohs(attr->lorv)); 206 int alen = ntohs(attr->lorv); 279 new->lorv = htons(len);
|
| isakmp_xauth.c | 165 typeattr->lorv = htons(XAUTH_TYPE_GENERIC); 169 usrattr->lorv = htons(0); 173 pwdattr->lorv = htons(0); 209 switch (ntohs(attr->lorv)) { 236 alen = ntohs(attr->lorv); 428 stattr->lorv = htons(status); 1497 if (ntohs(attr->lorv) != XAUTH_TYPE_GENERIC) { 1500 ntohs(attr->lorv)); 1557 dlen = ntohs(attr->lorv); 1588 attr->lorv = htons(value) [all...] |
| racoonctl.c | 1281 if (len < (sizeof(*attr) + ntohs(attr->lorv))) { 1288 if (ntohs(attr->lorv) < sizeof(addr4)) { 1296 banner = racoon_malloc(ntohs(attr->lorv) + 1); 1301 memcpy(banner, attr + 1, ntohs(attr->lorv)); 1302 banner[ntohs(attr->lorv)] = '\0'; 1309 len -= (sizeof(*attr) + ntohs(attr->lorv)); 1312 (n + sizeof(*attr) + ntohs(attr->lorv));
|
| isakmp.h | 175 uint16_t lorv; /* if f equal 1, Attribute Length */ member in struct:isakmp_data
|
| isakmp.c | 2381 data->lorv = htons((uint16_t)len); 2395 data->lorv = htons((uint16_t)val); 2424 data->lorv = htons((uint16_t)len); 2454 data->lorv = htons((uint16_t)val);
|
| /src/external/bsd/tcpdump/dist/ |
| print-isakmp.c | 150 nd_uint16_t lorv; /* if f equal 1, Attribute Length */ member in struct:isakmp_data
|