Commit graph

24 commits

Author SHA1 Message Date
mykola2312
3bb31bb88c use single struct instead of two arrays, for future easy unmarshalling 2024-12-21 16:28:45 +02:00
mykola2312
438ce59de9 fix memory bug 2024-12-21 16:14:57 +02:00
mykola2312
1b5981d335 fix timeouts 2024-12-21 15:48:04 +02:00
mykola2312
e1a5e8e29f getting done with primary function icmp_resolve, which will be used in cgo 2024-12-21 15:39:40 +02:00
mykola2312
4068b67077 implement icmp_match 2024-12-21 14:06:38 +02:00
mykola2312
39393bf97c begin working on icmp receiving and matching 2024-12-20 17:20:22 +02:00
mykola2312
0b52ba64bb icmp_direct_broadcast 2024-12-20 16:33:57 +02:00
mykola2312
add77105af small refactor 2024-12-20 15:55:57 +02:00
mykola2312
6b596c72e1 fix readme 2024-12-20 03:38:36 +02:00
mykola2312
a7bfa0de48 fix IP checksum bug, ensure identical IDs for packets 2024-12-20 03:35:34 +02:00
mykola2312
a75a35810a fix checksum 2024-12-19 19:01:26 +02:00
mykola2312
075a8bd3bc implement ip_send 2024-12-19 18:46:10 +02:00
mykola2312
ae8863ccc5 also get IP address of interface 2024-12-19 17:48:23 +02:00
mykola2312
eba00ad9b2 always zero memory 2024-12-19 17:05:13 +02:00
mykola2312
eecde96cce rewrite link routines so it could layered, since there is need for IP layer 2024-12-19 17:03:15 +02:00
mykola2312
4fadffe876 InARP won't work, since its part of deprecated RARP 2024-12-18 22:01:56 +02:00
mykola2312
94ae687abf only broadcast MAC addr works for regular ARP requests. Refactor link_open 2024-12-18 19:01:15 +02:00
mykola2312
2be92f0ad6 test inverse arp 2024-12-18 13:47:39 +02:00
mykola2312
bab44ceea9 use netlink api (legacy ioctl frontend) 2024-12-18 13:30:41 +02:00
mykola2312
c526033ad9 implement link_send and link_recv 2024-12-18 11:08:23 +02:00
mykola2312
a37fa22b37 make link structure, prepare ARP structure 2024-12-18 10:44:52 +02:00
mykola2312
9294334bf1 create raw socket 2024-12-18 10:19:13 +02:00
mykola2312
ab0bc2708f parse_mac 2024-12-18 09:42:16 +02:00
mykola2312
915b5bf927 initial commit 2024-12-18 09:30:30 +02:00