Searched refs:dlt_list (Results 1 – 13 of 13) sorted by relevance
1253 if (p->dlt_list == NULL && (p->dlt_list = malloc(255*sizeof(*(p->dlt_list)))) == NULL) {1293 if (p->dlt_list != NULL) {1294 p->dlt_list[dlt_index++] = DLT_CHDLC;1295 p->dlt_list[dlt_index++] = DLT_PPP_SERIAL;1296 p->dlt_list[dlt_index++] = DLT_FRELAY;1316 if (p->dlt_list != NULL) {1317 p->dlt_list[dlt_index++] = DLT_EN10MB;1318 p->dlt_list[dlt_index++] = DLT_DOCSIS;1328 if (p->dlt_list != NULL) {1329 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()
344 p->dlt_list = (u_int *) malloc(sizeof(u_int) * 2); in pcap_activate_nit()348 if (p->dlt_list != NULL) { in pcap_activate_nit()349 p->dlt_list[0] = DLT_EN10MB; in pcap_activate_nit()350 p->dlt_list[1] = DLT_DOCSIS; in pcap_activate_nit()
285 p->dlt_list = (u_int *) malloc(sizeof(u_int) * 2); in pcap_activate_snoop()289 if (p->dlt_list != NULL) { in pcap_activate_snoop()290 p->dlt_list[0] = DLT_EN10MB; in pcap_activate_snoop()291 p->dlt_list[1] = DLT_DOCSIS; in pcap_activate_snoop()
433 p->dlt_list = (u_int *) malloc(sizeof(u_int) * 2); in pcap_activate_snit()437 if (p->dlt_list != NULL) { in pcap_activate_snit()438 p->dlt_list[0] = DLT_EN10MB; in pcap_activate_snit()439 p->dlt_list[1] = DLT_DOCSIS; in pcap_activate_snit()
408 p->dlt_list = (u_int *) malloc(sizeof(u_int) * 2); in pcap_activate_pf()412 if (p->dlt_list != NULL) { in pcap_activate_pf()413 p->dlt_list[0] = DLT_EN10MB; in pcap_activate_pf()414 p->dlt_list[1] = DLT_DOCSIS; in pcap_activate_pf()
2148 p->dlt_list = bdl.bfl_list;2292 p->dlt_list = (u_int *) malloc(sizeof(u_int) * 2);2296 if (p->dlt_list != NULL) {2297 p->dlt_list[0] = DLT_EN10MB;2298 p->dlt_list[1] = DLT_DOCSIS;3084 switch (p->dlt_list[i]) {3102 p->dlt_list[j] = p->dlt_list[i];3127 switch (p->dlt_list[i]) {3149 p->dlt_list[j] = p->dlt_list[i];
581 handle->dlt_list = (u_int *) malloc(sizeof(u_int) * 2); in netfilter_activate()582 if (handle->dlt_list != NULL) { in netfilter_activate()583 handle->dlt_list[0] = DLT_NFLOG; in netfilter_activate()584 handle->dlt_list[1] = DLT_IPV4; in netfilter_activate()
610 p->dlt_list = (u_int *) malloc(sizeof(u_int) * 2); in TcActivate()614 if (p->dlt_list != NULL) { in TcActivate()615 p->dlt_list[0] = DLT_EN10MB; in TcActivate()616 p->dlt_list[1] = DLT_PPI; in TcActivate()
3173 handle->dlt_list = (u_int *) malloc(sizeof(u_int) * 2);3177 if (handle->dlt_list != NULL) {3178 handle->dlt_list[0] = DLT_EN10MB;3179 handle->dlt_list[1] = DLT_DOCSIS;3477 handle->dlt_list = (u_int *) malloc(sizeof(u_int) * 3);3481 if (handle->dlt_list != NULL) {3482 handle->dlt_list[0] = DLT_FC_2;3483 handle->dlt_list[1] = DLT_FC_2_WITH_FRAME_DELIMS;3484 handle->dlt_list[2] = DLT_IP_OVER_FC;3736 if (handle->dlt_list != NULL) {[all …]
2650 (void)memcpy(*dlt_buffer, p->dlt_list,2668 pcap_free_datalinks(int *dlt_list)2670 free(dlt_list);2699 if (p->dlt_list[i] == (u_int)dlt)2703 if (p->dlt_count == 2 && p->dlt_list[0] == DLT_EN10MB &&3613 if (p->dlt_list != NULL) {3614 free(p->dlt_list);3615 p->dlt_list = NULL;
954 p->dlt_list = (u_int *) malloc(sizeof(u_int) * 2); in pcap_activate_npf()958 if (p->dlt_list != NULL) { in pcap_activate_npf()959 p->dlt_list[0] = DLT_EN10MB; in pcap_activate_npf()960 p->dlt_list[1] = DLT_DOCSIS; in pcap_activate_npf()
247 u_int *dlt_list; member