1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-25 11:41:35 +01:00

Ported almost everything to BSD. Utils::route_entries and sending link layer PDUs still don't work.

This commit is contained in:
Matias Fontanini
2012-11-28 00:11:42 -03:00
parent e6e3e8453b
commit 6696c1b284
23 changed files with 486 additions and 227 deletions

View File

@@ -36,8 +36,14 @@
#include "packet_sender.h"
#include "ip.h"
#include "llc.h"
#include "arch.h"
#include "rawpdu.h"
#if defined(BSD) && !defined(PF_LLC)
// compilation fix, check if it works xD
#define PF_LLC 26
#endif
namespace Tins {
Loopback::Loopback()
: _family()