MAC OSX portage

Signed-off-by: Gregory Detal <gregory.detal@uclouvain.be>
Update check for libresolv on Darwin systems

Signed-off-by: Gregory Detal <gregory.detal@uclouvain.be>
Merge branch 'cleanup'
Merge remote-tracking branch 'libcrafter/master'
Allow to avoid returning link-local addresses

Signed-off-by: Gregory Detal <gregory.detal@uclouvain.be>
IPv6 support for GetHostname

Signed-off-by: Gregory Detal <gregory.detal@uclouvain.be>
Return IP address if not able to resolve it

Signed-off-by: Gregory Detal <gregory.detal@uclouvain.be>
MAC OSX IPv6 support

Signed-off-by: Gregory Detal <gregory.detal@uclouvain.be>
Build fix

Signed-off-by: Gregory Detal <gregory.detal@uclouvain.be>
MPTCP MP_CAPABLE option support

Signed-off-by: Gregory Detal <gregory.detal@uclouvain.be>
Fix: build on Linux

Signed-off-by: Gregory Detal <gregory.detal@uclouvain.be>
Fix: MAC OSX TotalLength of IP

At write the field must be in host byte order and at read the field is
in network byte order.

Signed-off-by: Gregory Detal <gregory.detal@uclouvain.be>
Add PacketFromIPv6 from RawLayer

Usefull when parsing ICMP content.

Signed-off-by: Gregory Detal <gregory.detal@uclouvain.be>
Add WindowScale option

Signed-off-by: Gregory Detal <gregory.detal@uclouvain.be>
Add PushLayer(Layer *) to Packet objects

Signed-off-by: Gregory Detal <gregory.detal@uclouvain.be>
Add Fields accessibility functions to Layer

Signed-off-by: Gregory Detal <gregory.detal@uclouvain.be>
Add MPTCP option parsing

Signed-off-by: Gregory Detal <gregory.detal@uclouvain.be>
Remove debug

Signed-off-by: Gregory Detal <gregory.detal@uclouvain.be>
Fix: GetHostname

Signed-off-by: Gregory Detal <gregory.detal@uclouvain.be>
Fix: fail to do make dist due to missing header files

Reported-by: Thomas Dreibholz <dreibh@simula.no>
Signed-off-by: Gregory Detal <gregory.detal@uclouvain.be>