Lines Matching refs:tlen
73 static int tlen = 0; /* total length of pbuf */
296 tlen = sizeof(struct sadb_x_policy);
298 pbuf = malloc(tlen);
303 memset(pbuf, 0, tlen);
311 offset = tlen;
326 tlen += reqlen; /* increment to total length */
328 pbuf = realloc(pbuf, tlen);
356 /* tlen has already incremented */
390 tlen = 0;
408 ((struct sadb_x_policy *)pbuf)->sadb_x_policy_len = PFKEY_UNIT64(tlen);