diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-22 17:37:56 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-22 21:33:18 +0100 |
commit | 36260e915a23892e5275866ef943783ec6a8e404 (patch) | |
tree | 9cafb893a7acd9ed1ba6ef7d8c1b6ef0b45fb739 /include | |
parent | ddf8eae7da02b20dd4310af9428a1eb18b1dd57d (diff) |
pcap: Classify the direction of such a message
Diffstat (limited to 'include')
-rw-r--r-- | include/bsc_data.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/bsc_data.h b/include/bsc_data.h index 8c827e2..8b72785 100644 --- a/include/bsc_data.h +++ b/include/bsc_data.h @@ -161,6 +161,10 @@ int link_clear_all(struct mtp_link_set *); void mgcp_forward(struct bsc_data *bsc, const uint8_t *data, unsigned int length); /* pcap */ -int mtp_handle_pcap(struct mtp_link *, const uint8_t *data, int length); +enum { + NET_IN, + NET_OUT, +}; +int mtp_handle_pcap(struct mtp_link *, int dir, const uint8_t *data, int length); #endif |