summaryrefslogtreecommitdiff
path: root/tun.c
AgeCommit message (Expand)AuthorFilesLines
2023-11-07Take into account CRC field for framingHEADmasterFrediano Ziglio1-2/+2
2023-11-07Avoid possible bug with strict aliasingFrediano Ziglio1-4/+11
2023-11-07Remove useless assert in codeFrediano Ziglio1-2/+0
2019-12-18Use calloc instead of malloc+memsetFrediano Ziglio1-3/+1
2019-03-19Check TCP/UDP packet field presenceFrediano Ziglio1-0/+15
2018-10-03Start porting to FreeBSD systemFrediano Ziglio1-26/+27
2016-11-15Use err instead of perror/exitFrediano Ziglio1-24/+13
2016-10-11Use ppoll and different threadingFrediano Ziglio1-174/+120
2016-10-11Avoid bytes_from_first_read to be set again to 0 while transferingFrediano Ziglio1-1/+1
2016-10-10Add --framing-bytes option and take it into accountFrediano Ziglio1-0/+5
2016-10-09Allow to use a capture file to record packetsFrediano Ziglio1-1/+33
2016-10-09Use 2 tun devices for local caseFrediano Ziglio1-16/+103
2016-10-07Wait proper writer thread terminationFrediano Ziglio1-1/+16
2016-09-28Add some comments and notesFrediano Ziglio1-3/+29
2016-09-25Use 2 ip address instead of 4Frediano Ziglio1-1/+1
2016-07-28change completely client/server protocolFrediano Ziglio1-21/+100
2016-07-28initial client/server implementationFrediano Ziglio1-3/+82
2016-07-27use an IP macro to make easier to understand the constant ip usedFrediano Ziglio1-1/+1
2016-07-27use same indentation for functionsFrediano Ziglio1-3/+6
2016-07-19Make tun_fd variable staticFrediano Ziglio1-5/+5
2016-07-12Increase priorityFrediano Ziglio1-0/+4
2016-07-12check IP version before accessing additional fieldsFrediano Ziglio1-0/+2
2016-07-08use two flows (one upstream one downstream)Frediano Ziglio1-59/+66
2016-07-08print some statisticsFrediano Ziglio1-0/+14
2016-07-08use tun/tap instead of normal socketsFrediano Ziglio1-1/+34
2016-07-08allow to easily exclude debuggingFrediano Ziglio1-3/+7
2016-07-08starting using tun/tapFrediano Ziglio1-0/+216