Home | History | Annotate | Download | only in libpcap

Lines Matching refs:malloc

483 	p = (pcap_t *)malloc(sizeof(*p));
804 p->dlt_list = (u_int *) malloc(sizeof(u_int) * 2);
929 p->buffer = (u_char *)malloc(p->bufsize + p->offset);
1676 if ((ppa_data_buf = (char *)malloc(dlp->dl_length)) == NULL) {
1678 "get_dlpi_ppa: hpppa malloc: %s", pcap_strerror(errno));