Lines Matching full:sizeof
113 snprintf(p->errbuf, sizeof(p->errbuf), "pcap_read: %s",
150 cp = bp + sizeof(*nh);
167 snprintf(p->errbuf, sizeof(p->errbuf),
172 bp += ((sizeof(struct nit_hdr) + nh->nh_datalen +
173 sizeof(int) - 1) & ~(sizeof(int) - 1));
201 memset(&sa, 0, sizeof(sa));
202 strncpy(sa.sa_data, device, sizeof(sa.sa_data));
203 ret = sendto(p->fd, buf, size, 0, &sa, sizeof(sa));
217 memset(&nioc, 0, sizeof(nioc));
222 nioc.nioc_bufalign = sizeof(int);
257 p = (pcap_t *)malloc(sizeof(*p));
269 memset(p, 0, sizeof(*p));
279 if (bind(fd, (struct sockaddr *)&snit, sizeof(snit))) {
324 p->dlt_list = (u_int *) malloc(sizeof(u_int) * 2);