Commit graph

17 commits

Author SHA1 Message Date
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
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