Home
last modified time | relevance | path

Searched refs:ATTRLEN (Results 1 – 4 of 4) sorted by relevance

/dports/net/radsecproxy/radsecproxy-1.8.2/
H A Dradmsg.c369 if (ATTRLEN(attrs) < 2) { in attrvalidate()
370 debug(DBG_INFO, "attrvalidate: invalid attribute length %d", ATTRLEN(attrs)); in attrvalidate()
373 length -= ATTRLEN(attrs); in attrvalidate()
375 debug(DBG_INFO, "attrvalidate: attribute length %d exceeds packet length", ATTRLEN(attrs)); in attrvalidate()
378 attrs += ATTRLEN(attrs); in attrvalidate()
H A Drewrite.c351 alen = ATTRLEN(subattrs); in dovendorrewriterm()
444 size_diff = newtlv->l - ATTRLEN(p); in replacesubtlv()
445 next_attr = p+ATTRLEN(p); in replacesubtlv()
465 for (offset = 4; offset < vendortlv->l; offset += ATTRLEN(vendortlv->v+offset)) { in dorewritemodvattr()
472 int rem_size = vendortlv->l - offset - ATTRLEN(vendortlv->v+offset); in dorewritemodvattr()
480 next = vendortlv->v + offset + ATTRLEN(vendortlv->v+offset); in dorewritemodvattr()
H A Dradmsg.h43 #define ATTRLEN(x) ((x)[1]) macro
H A Dradsecproxy.c391 length -= ATTRLEN(attrs); in attrget()
392 attrs += ATTRLEN(attrs); in attrget()
834 … for (attr = attrs; (attr = attrget(attr, length - (attr - attrs), type)); attr += ATTRLEN(attr)) { in msmppe()
923 alen = ATTRLEN(subattrs); in checkttl()