Searched refs:dlt_list (Results 1 – 12 of 12) sorted by relevance
1137 if (p->dlt_list == NULL && (p->dlt_list = malloc(255*sizeof(*(p->dlt_list)))) == NULL) {1174 if (p->dlt_list != NULL) {1175 p->dlt_list[dlt_index++] = DLT_CHDLC;1176 p->dlt_list[dlt_index++] = DLT_PPP_SERIAL;1177 p->dlt_list[dlt_index++] = DLT_FRELAY;1197 if (p->dlt_list != NULL) {1198 p->dlt_list[dlt_index++] = DLT_EN10MB;1199 p->dlt_list[dlt_index++] = DLT_DOCSIS;1209 if (p->dlt_list != NULL) {1210 p->dlt_list[dlt_index++] = DLT_ATM_RFC1483;[all …]
229 p->dlt_list = (u_int *)malloc(sizeof(u_int) * 2); in pcap_process_mactype()233 if (p->dlt_list != NULL) { in pcap_process_mactype()234 p->dlt_list[0] = DLT_EN10MB; in pcap_process_mactype()235 p->dlt_list[1] = DLT_DOCSIS; in pcap_process_mactype()
325 p->dlt_list = (u_int *) malloc(sizeof(u_int) * 2); in pcap_activate_nit()329 if (p->dlt_list != NULL) { in pcap_activate_nit()330 p->dlt_list[0] = DLT_EN10MB; in pcap_activate_nit()331 p->dlt_list[1] = DLT_DOCSIS; in pcap_activate_nit()
403 p->dlt_list = (u_int *) malloc(sizeof(u_int) * 2); in pcap_activate_snit()407 if (p->dlt_list != NULL) { in pcap_activate_snit()408 p->dlt_list[0] = DLT_EN10MB; in pcap_activate_snit()409 p->dlt_list[1] = DLT_DOCSIS; in pcap_activate_snit()
278 p->dlt_list = (u_int *) malloc(sizeof(u_int) * 2); in pcap_activate_snoop()282 if (p->dlt_list != NULL) { in pcap_activate_snoop()283 p->dlt_list[0] = DLT_EN10MB; in pcap_activate_snoop()284 p->dlt_list[1] = DLT_DOCSIS; in pcap_activate_snoop()
381 p->dlt_list = (u_int *) malloc(sizeof(u_int) * 2); in pcap_activate_pf()385 if (p->dlt_list != NULL) { in pcap_activate_pf()386 p->dlt_list[0] = DLT_EN10MB; in pcap_activate_pf()387 p->dlt_list[1] = DLT_DOCSIS; in pcap_activate_pf()
1908 p->dlt_list = bdl.bfl_list;2052 p->dlt_list = (u_int *) malloc(sizeof(u_int) * 2);2056 if (p->dlt_list != NULL) {2057 p->dlt_list[0] = DLT_EN10MB;2058 p->dlt_list[1] = DLT_DOCSIS;2555 switch (p->dlt_list[i]) {2573 p->dlt_list[j] = p->dlt_list[i];2598 switch (p->dlt_list[i]) {2620 p->dlt_list[j] = p->dlt_list[i];
933 (void)memcpy(*dlt_buffer, p->dlt_list, in pcap_list_datalinks()951 pcap_free_datalinks(int *dlt_list) in pcap_free_datalinks() argument953 free(dlt_list); in pcap_free_datalinks()979 if (p->dlt_list[i] == dlt) in pcap_set_datalink()983 if (p->dlt_count == 2 && p->dlt_list[0] == DLT_EN10MB && in pcap_set_datalink()1784 if (p->dlt_list != NULL) { in pcap_cleanup_live_common()1785 free(p->dlt_list); in pcap_cleanup_live_common()1786 p->dlt_list = NULL; in pcap_cleanup_live_common()
559 p->dlt_list = (u_int *) malloc(sizeof(u_int) * 2); in pcap_activate_win32()563 if (p->dlt_list != NULL) { in pcap_activate_win32()564 p->dlt_list[0] = DLT_EN10MB; in pcap_activate_win32()565 p->dlt_list[1] = DLT_DOCSIS; in pcap_activate_win32()
500 handle->dlt_list = (u_int *) malloc(sizeof(u_int) * 2); in netfilter_activate()501 if (handle->dlt_list != NULL) { in netfilter_activate()502 handle->dlt_list[0] = DLT_NFLOG; in netfilter_activate()503 handle->dlt_list[1] = DLT_IPV4; in netfilter_activate()
2757 handle->dlt_list = (u_int *) malloc(sizeof(u_int) * 2);2761 if (handle->dlt_list != NULL) {2762 handle->dlt_list[0] = DLT_EN10MB;2763 handle->dlt_list[1] = DLT_DOCSIS;3054 handle->dlt_list = (u_int *) malloc(sizeof(u_int) * 2);3058 if (handle->dlt_list != NULL) {3059 handle->dlt_list[0] = DLT_FC_2;3060 handle->dlt_list[1] = DLT_FC_2_WITH_FRAME_DELIMS;3061 handle->dlt_list[2] = DLT_IP_OVER_FC;3306 if (handle->dlt_list != NULL) {[all …]
217 u_int *dlt_list; member