Searched refs:dlt_list (Results 1 – 12 of 12) sorted by relevance
1097 if (p->dlt_list == NULL && (p->dlt_list = malloc(255*sizeof(*(p->dlt_list)))) == NULL) {1134 if (p->dlt_list != NULL) {1135 p->dlt_list[dlt_index++] = DLT_CHDLC;1136 p->dlt_list[dlt_index++] = DLT_PPP_SERIAL;1137 p->dlt_list[dlt_index++] = DLT_FRELAY;1157 if (p->dlt_list != NULL) {1158 p->dlt_list[dlt_index++] = DLT_EN10MB;1159 p->dlt_list[dlt_index++] = DLT_DOCSIS;1169 if (p->dlt_list != NULL) {1170 p->dlt_list[dlt_index++] = DLT_ATM_RFC1483;[all …]
233 p->dlt_list = (u_int *)malloc(sizeof(u_int) * 2); in pcap_process_mactype()237 if (p->dlt_list != NULL) { in pcap_process_mactype()238 p->dlt_list[0] = DLT_EN10MB; in pcap_process_mactype()239 p->dlt_list[1] = DLT_DOCSIS; in pcap_process_mactype()
329 p->dlt_list = (u_int *) malloc(sizeof(u_int) * 2); in pcap_activate_nit()333 if (p->dlt_list != NULL) { in pcap_activate_nit()334 p->dlt_list[0] = DLT_EN10MB; in pcap_activate_nit()335 p->dlt_list[1] = DLT_DOCSIS; in pcap_activate_nit()
408 p->dlt_list = (u_int *) malloc(sizeof(u_int) * 2); in pcap_activate_snit()412 if (p->dlt_list != NULL) { in pcap_activate_snit()413 p->dlt_list[0] = DLT_EN10MB; in pcap_activate_snit()414 p->dlt_list[1] = DLT_DOCSIS; in pcap_activate_snit()
282 p->dlt_list = (u_int *) malloc(sizeof(u_int) * 2); in pcap_activate_snoop()286 if (p->dlt_list != NULL) { in pcap_activate_snoop()287 p->dlt_list[0] = DLT_EN10MB; in pcap_activate_snoop()288 p->dlt_list[1] = DLT_DOCSIS; in pcap_activate_snoop()
386 p->dlt_list = (u_int *) malloc(sizeof(u_int) * 2); in pcap_activate_pf()390 if (p->dlt_list != NULL) { in pcap_activate_pf()391 p->dlt_list[0] = DLT_EN10MB; in pcap_activate_pf()392 p->dlt_list[1] = DLT_DOCSIS; in pcap_activate_pf()
1884 p->dlt_list = bdl.bfl_list;2027 p->dlt_list = (u_int *) malloc(sizeof(u_int) * 2);2031 if (p->dlt_list != NULL) {2032 p->dlt_list[0] = DLT_EN10MB;2033 p->dlt_list[1] = DLT_DOCSIS;2530 switch (p->dlt_list[i]) {2548 p->dlt_list[j] = p->dlt_list[i];2573 switch (p->dlt_list[i]) {2595 p->dlt_list[j] = p->dlt_list[i];
529 p->dlt_list = (u_int *) malloc(sizeof(u_int) * 2); in pcap_activate_win32()533 if (p->dlt_list != NULL) { in pcap_activate_win32()534 p->dlt_list[0] = DLT_EN10MB; in pcap_activate_win32()535 p->dlt_list[1] = DLT_DOCSIS; in pcap_activate_win32()
921 (void)memcpy(*dlt_buffer, p->dlt_list, in pcap_list_datalinks()939 pcap_free_datalinks(int *dlt_list) in pcap_free_datalinks() argument941 free(dlt_list); in pcap_free_datalinks()967 if (p->dlt_list[i] == dlt) in pcap_set_datalink()971 if (p->dlt_count == 2 && p->dlt_list[0] == DLT_EN10MB && in pcap_set_datalink()1754 if (p->dlt_list != NULL) { in pcap_cleanup_live_common()1755 free(p->dlt_list); in pcap_cleanup_live_common()1756 p->dlt_list = NULL; in pcap_cleanup_live_common()
498 handle->dlt_list = (u_int *) malloc(sizeof(u_int) * 2); in netfilter_activate()499 if (handle->dlt_list != NULL) { in netfilter_activate()500 handle->dlt_list[0] = DLT_NFLOG; in netfilter_activate()501 handle->dlt_list[1] = DLT_IPV4; in netfilter_activate()
2631 handle->dlt_list = (u_int *) malloc(sizeof(u_int) * 2);2635 if (handle->dlt_list != NULL) {2636 handle->dlt_list[0] = DLT_EN10MB;2637 handle->dlt_list[1] = DLT_DOCSIS;2927 handle->dlt_list = (u_int *) malloc(sizeof(u_int) * 2);2931 if (handle->dlt_list != NULL) {2932 handle->dlt_list[0] = DLT_FC_2;2933 handle->dlt_list[1] = DLT_FC_2_WITH_FRAME_DELIMS;2934 handle->dlt_list[2] = DLT_IP_OVER_FC;3157 if (handle->dlt_list != NULL) {[all …]
191 u_int *dlt_list; member