Home | History | Annotate | Download | only in libpcap

Lines Matching refs:malloc

1971 	 * First, count the blocks, so we can malloc an array to map
1978 bpf_error("malloc");
1986 bpf_error("malloc");
1993 bpf_error("malloc");
1999 space = (bpf_u_int32 *)malloc(2 * n_blocks * nodewords * sizeof(*space)
2002 bpf_error("malloc");
2041 bpf_error("malloc");
2047 * the malloc'd array while 'ftail' is used during the recursive traversal.
2251 fp = (struct bpf_insn *)malloc(sizeof(*fp) * n);
2253 bpf_error("malloc");
2287 p->fcode.bf_insns = (struct bpf_insn *)malloc(prog_size);
2290 "malloc: %s", pcap_strerror(errno));