Lines Matching refs:handle
78 btbb_pcap_handle * handle = malloc( sizeof(btbb_pcap_handle) ); in btbb_pcap_create_file() local
79 if (handle) { in btbb_pcap_create_file()
80 memset(handle, 0, sizeof(*handle)); in btbb_pcap_create_file()
81 handle->pcap_file = btbb_pcap_open(filename, DLT_BLUETOOTH_BREDR_BB, in btbb_pcap_create_file()
83 if (handle->pcap_file) { in btbb_pcap_create_file()
84 *ph = handle; in btbb_pcap_create_file()
98 (void) btbb_pcap_close( handle ); in btbb_pcap_create_file()
237 lell_pcap_handle * handle = malloc( sizeof(lell_pcap_handle) ); in lell_pcap_create_file_dlt() local
238 if (handle) { in lell_pcap_create_file_dlt()
239 memset(handle, 0, sizeof(*handle)); in lell_pcap_create_file_dlt()
240 handle->pcap_file = btbb_pcap_open(filename, dlt, BREDR_MAX_PAYLOAD); in lell_pcap_create_file_dlt()
241 if (handle->pcap_file) { in lell_pcap_create_file_dlt()
242 handle->dlt = dlt; in lell_pcap_create_file_dlt()
243 *ph = handle; in lell_pcap_create_file_dlt()
256 (void) lell_pcap_close( handle ); in lell_pcap_create_file_dlt()