From 51eaba28a3d4c83ecee4ca98544635d47c771380 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 29 Nov 2008 13:48:12 +0530 Subject: [gsm-tvoid] new gsmtap header, raw burst pcap support * split burst decoding context out of GS_ctx and have one for each TS * add PCAP output for GSMTAP_TYPE_UM_BURST (142 bit burst per packet) --- gsm-tvoid/src/lib/out_pcap.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gsm-tvoid/src/lib/out_pcap.h') diff --git a/gsm-tvoid/src/lib/out_pcap.h b/gsm-tvoid/src/lib/out_pcap.h index e8d4b3c..5ae5e3c 100644 --- a/gsm-tvoid/src/lib/out_pcap.h +++ b/gsm-tvoid/src/lib/out_pcap.h @@ -2,6 +2,8 @@ #define _PCAP_IF_H extern int open_pcap_file(char *fname); -int write_pcap_packet(int fd, int arfcn, int ts, int fn, char *data, unsigned int len); +int write_pcap_packet(int fd, int arfcn, int ts, int fn, + int burst, int burst_type, + const unsigned char *data, unsigned int len); #endif -- cgit v1.2.3