1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-29 21:14:28 +01:00

Added RadioTap::iface.

This commit is contained in:
Matias Fontanini
2013-02-06 14:10:21 -03:00
parent 836dbd8955
commit f86f727810
5 changed files with 189 additions and 138 deletions

View File

@@ -190,6 +190,10 @@ void RadioTap::rx_flags(uint16_t new_rx_flag) {
_radio.rx_flags = 1;
}
void RadioTap::iface(const NetworkInterface& new_iface) {
_iface = new_iface;
}
uint32_t RadioTap::header_size() const {
uint32_t total_bytes = 0;
if(_radio.tsft)