Pablo Neira Ayuso | 9530600 | 2012-08-22 16:43:59 +0200 | [diff] [blame] | 1 | #ifndef _LAPD_PCAP_H_ |
2 | #define _LAPD_PCAP_H_ | ||||
3 | |||||
4 | #define OSMO_LAPD_PCAP_INPUT 0 | ||||
5 | #define OSMO_LAPD_PCAP_OUTPUT 1 | ||||
6 | |||||
7 | int osmo_pcap_lapd_open(char *filename, mode_t mode); | ||||
Harald Welte | 47bee5b | 2016-07-04 09:53:44 +0200 | [diff] [blame] | 8 | int osmo_pcap_lapd_set_fd(int fd); |
Pablo Neira Ayuso | 9530600 | 2012-08-22 16:43:59 +0200 | [diff] [blame] | 9 | int osmo_pcap_lapd_write(int fd, int direction, struct msgb *msg); |
10 | int osmo_pcap_lapd_close(int fd); | ||||
11 | |||||
12 | #endif |