Home
last modified time | relevance | path

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

/netbsd/src/crypto/dist/ipsec-tools/src/racoon/
Dipsec_doi.c420 s_oakley_attr_v(type, ntohs(d->lorv))); in t2isakmpsa()
433 p = (u_char *)&d->lorv; in t2isakmpsa()
435 len = ntohs(d->lorv); in t2isakmpsa()
450 sa->enctype = (uint16_t)ntohs(d->lorv); in t2isakmpsa()
454 sa->hashtype = (uint16_t)ntohs(d->lorv); in t2isakmpsa()
458 sa->authmethod = ntohs(d->lorv); in t2isakmpsa()
467 sa->dh_group = (uint16_t)ntohs(d->lorv); in t2isakmpsa()
472 int xtype = (int)ntohs(d->lorv); in t2isakmpsa()
486 sa->dhgrp->gen1 = ntohs(d->lorv); in t2isakmpsa()
488 int xlen = ntohs(d->lorv); in t2isakmpsa()
[all …]
Dsecurity.c69 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);
Disakmp_cfg.c327 s_isakmp_cfg_type(type), ntohs(attr->lorv)); in isakmp_cfg_reply()
349 alen = ntohs(attr->lorv); in isakmp_cfg_reply()
507 s_isakmp_cfg_type(type), ntohs(attr->lorv)); in isakmp_cfg_request()
532 alen = ntohs(attr->lorv); in isakmp_cfg_request()
699 alen = ntohs(attr->lorv); in isakmp_cfg_set()
914 new->lorv = htons(0);
928 len = ntohs(attr->lorv); in isakmp_cfg_copy()
935 memcpy(buffer->v, attr, sizeof(*attr) + ntohs(attr->lorv)); in isakmp_cfg_copy()
957 new->lorv = htons(value); in isakmp_cfg_short()
982 new->lorv = htons(len); in isakmp_cfg_varlen()
[all …]
Disakmp_xauth.c165 typeattr->lorv = htons(XAUTH_TYPE_GENERIC); in xauth_sendreq()
169 usrattr->lorv = htons(0); in xauth_sendreq()
173 pwdattr->lorv = htons(0); in xauth_sendreq()
209 switch (ntohs(attr->lorv)) { in xauth_attr_reply()
236 alen = ntohs(attr->lorv); in xauth_attr_reply()
428 stattr->lorv = htons(status); in xauth_sendstatus()
1497 if (ntohs(attr->lorv) != XAUTH_TYPE_GENERIC) { in isakmp_xauth_req()
1500 ntohs(attr->lorv)); in isakmp_xauth_req()
1557 dlen = ntohs(attr->lorv); in isakmp_xauth_req()
1588 attr->lorv = htons(value); in isakmp_xauth_req()
[all …]
Disakmp_unity.c109 s_isakmp_cfg_type(type), ntohs(attr->lorv)); in isakmp_unity_req()
206 int alen = ntohs(attr->lorv); in isakmp_unity_reply()
279 new->lorv = htons(len); in isakmp_cfg_split()
Dracoonctl.c1281 if (len < (sizeof(*attr) + ntohs(attr->lorv))) { in print_cfg()
1288 if (ntohs(attr->lorv) < sizeof(addr4)) { in print_cfg()
1296 banner = racoon_malloc(ntohs(attr->lorv) + 1); in print_cfg()
1301 memcpy(banner, attr + 1, ntohs(attr->lorv)); in print_cfg()
1302 banner[ntohs(attr->lorv)] = '\0'; in print_cfg()
1309 len -= (sizeof(*attr) + ntohs(attr->lorv)); in print_cfg()
1312 (n + sizeof(*attr) + ntohs(attr->lorv)); in print_cfg()
Disakmp.h175 uint16_t lorv; /* if f equal 1, Attribute Length */ member
Disakmp.c2380 data->lorv = htons((uint16_t)len); in isakmp_set_attr_v()
2394 data->lorv = htons((uint16_t)val); in isakmp_set_attr_l()
2423 data->lorv = htons((uint16_t)len); in isakmp_add_attr_v()
2453 data->lorv = htons((uint16_t)val); in isakmp_add_attr_l()
/netbsd/src/external/bsd/tcpdump/dist/
Dprint-isakmp.c150 nd_uint16_t lorv; /* if f equal 1, Attribute Length */ member