Searched refs:dlt_list (Results 1 – 13 of 13) sorted by relevance
1226 if (p->dlt_list == NULL && (p->dlt_list = malloc(255*sizeof(*(p->dlt_list)))) == NULL) {1263 if (p->dlt_list != NULL) {1264 p->dlt_list[dlt_index++] = DLT_CHDLC;1265 p->dlt_list[dlt_index++] = DLT_PPP_SERIAL;1266 p->dlt_list[dlt_index++] = DLT_FRELAY;1286 if (p->dlt_list != NULL) {1287 p->dlt_list[dlt_index++] = DLT_EN10MB;1288 p->dlt_list[dlt_index++] = DLT_DOCSIS;1298 if (p->dlt_list != NULL) {1299 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()
332 p->dlt_list = (u_int *) malloc(sizeof(u_int) * 2); in pcap_activate_nit()336 if (p->dlt_list != NULL) { in pcap_activate_nit()337 p->dlt_list[0] = DLT_EN10MB; in pcap_activate_nit()338 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()
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()
384 p->dlt_list = (u_int *) malloc(sizeof(u_int) * 2); in pcap_activate_pf()388 if (p->dlt_list != NULL) { in pcap_activate_pf()389 p->dlt_list[0] = DLT_EN10MB; in pcap_activate_pf()390 p->dlt_list[1] = DLT_DOCSIS; in pcap_activate_pf()
2129 p->dlt_list = bdl.bfl_list;2273 p->dlt_list = (u_int *) malloc(sizeof(u_int) * 2);2277 if (p->dlt_list != NULL) {2278 p->dlt_list[0] = DLT_EN10MB;2279 p->dlt_list[1] = DLT_DOCSIS;2911 switch (p->dlt_list[i]) {2929 p->dlt_list[j] = p->dlt_list[i];2954 switch (p->dlt_list[i]) {2976 p->dlt_list[j] = p->dlt_list[i];
503 handle->dlt_list = (u_int *) malloc(sizeof(u_int) * 2); in netfilter_activate()504 if (handle->dlt_list != NULL) { in netfilter_activate()505 handle->dlt_list[0] = DLT_NFLOG; in netfilter_activate()506 handle->dlt_list[1] = DLT_IPV4; in netfilter_activate()
962 (void)memcpy(*dlt_buffer, p->dlt_list, in pcap_list_datalinks()980 pcap_free_datalinks(int *dlt_list) in pcap_free_datalinks() argument982 free(dlt_list); in pcap_free_datalinks()1011 if (p->dlt_list[i] == (u_int)dlt) in pcap_set_datalink()1015 if (p->dlt_count == 2 && p->dlt_list[0] == DLT_EN10MB && in pcap_set_datalink()1990 if (p->dlt_list != NULL) { in pcap_cleanup_live_common()1991 free(p->dlt_list); in pcap_cleanup_live_common()1992 p->dlt_list = NULL; in pcap_cleanup_live_common()
968 p->dlt_list = (u_int *) malloc(sizeof(u_int) * 2); in pcap_activate_win32()972 if (p->dlt_list != NULL) { in pcap_activate_win32()973 p->dlt_list[0] = DLT_EN10MB; in pcap_activate_win32()974 p->dlt_list[1] = DLT_DOCSIS; in pcap_activate_win32()
2925 handle->dlt_list = (u_int *) malloc(sizeof(u_int) * 2);2929 if (handle->dlt_list != NULL) {2930 handle->dlt_list[0] = DLT_EN10MB;2931 handle->dlt_list[1] = DLT_DOCSIS;3229 handle->dlt_list = (u_int *) malloc(sizeof(u_int) * 2);3233 if (handle->dlt_list != NULL) {3234 handle->dlt_list[0] = DLT_FC_2;3235 handle->dlt_list[1] = DLT_FC_2_WITH_FRAME_DELIMS;3236 handle->dlt_list[2] = DLT_IP_OVER_FC;3481 if (handle->dlt_list != NULL) {[all …]
597 p->dlt_list = (u_int *) malloc(sizeof(u_int) * 2); in TcActivate()601 if (p->dlt_list != NULL) { in TcActivate()602 p->dlt_list[0] = DLT_EN10MB; in TcActivate()603 p->dlt_list[1] = DLT_PPI; in TcActivate()
229 u_int *dlt_list; member