Searched refs:bdl (Results 1 – 2 of 2) sorted by relevance
217 struct bpf_dltlist bdl; in pcap_open_live() local219 bzero(&bdl, sizeof(bdl)); in pcap_open_live()290 if (ioctl(fd, BIOCGDLTLIST, (caddr_t)&bdl) == 0) { in pcap_open_live()291 bdl.bfl_list = (u_int *) calloc(bdl.bfl_len + 1, sizeof(u_int)); in pcap_open_live()292 if (bdl.bfl_list == NULL) { in pcap_open_live()298 if (ioctl(fd, BIOCGDLTLIST, (caddr_t)&bdl) < 0) { in pcap_open_live()303 p->dlt_count = bdl.bfl_len; in pcap_open_live()304 p->dlt_list = bdl.bfl_list; in pcap_open_live()347 free(bdl.bfl_list); in pcap_open_live()
761 u_char bdl; /* Block descriptor length */ in mode_edit() member798 (((char *)mh) + sizeof(*mh) + mh->bdl); in mode_edit()827 mh->bdl = 0; in mode_edit()849 sizeof(*mh) + mh->bdl + sizeof(*mph) + mph->page_length, in mode_edit()860 mph = (struct mode_page_header *)(((char *)mh) + sizeof(*mh) + mh->bdl); in mode_edit()