mirror of
https://code.semirocket.science/wrapsix
synced 2025-12-15 02:05:13 +02:00
Saving and processing unknown incoming fragments
New data structure -- linked list Reduced few useless debug outputs
This commit is contained in:
@@ -164,10 +164,8 @@ int process(char *packet)
|
||||
|
||||
switch (htons(eth->type)) {
|
||||
case ETHERTYPE_IP:
|
||||
log_debug("HW Protocol: IPv4");
|
||||
return ipv4(eth, payload);
|
||||
case ETHERTYPE_IPV6:
|
||||
log_debug("HW Protocol: IPv6");
|
||||
return ipv6(eth, payload);
|
||||
case ETHERTYPE_ARP:
|
||||
log_debug("HW Protocol: ARP");
|
||||
|
||||
Reference in New Issue
Block a user