Home | History | Annotate | Download | only in tcpdump

Lines Matching full:calloc

341 	tp->e_nxt = (struct enamemem *)calloc(1, sizeof(*tp));
343 error("lookup_emem: calloc");
384 tp->e_bs = (u_char *) calloc(1, nlen + 1);
386 tp->e_nxt = (struct enamemem *)calloc(1, sizeof(*tp));
388 error("lookup_bytestring: calloc");
429 tp->e_nxt = (struct enamemem *)calloc(1, sizeof(*tp));
431 error("lookup_nsap: calloc");
457 tp->p_nxt = (struct protoidmem *)calloc(1, sizeof(*tp));
459 error("lookup_protoid: calloc");
1140 /* Return a zero'ed hnamemem struct and cuts down on calloc() overhead */
1150 ptr = (struct hnamemem *)calloc(num, sizeof (*ptr));
1152 error("newhnamemem: calloc");
1160 /* Return a zero'ed h6namemem struct and cuts down on calloc() overhead */
1170 ptr = (struct h6namemem *)calloc(num, sizeof (*ptr));
1172 error("newh6namemem: calloc");