SayoriOS 0.3.3

ipv4.h
1 //
2 // Created by ndraey on 01.11.23.
3 //
4
5 #pragma once
6
7 #include <common.h>
8 #include "net/cards.h"
9
10 #define IP_PROTOCOL_UDP 17
11
12 void ipv4_handle_packet(netcard_entry_t *card, char *packet, size_t packet_size);
13 void ipv4_send_packet(netcard_entry_t *card, uint8_t dest_ip[4], const void *data, size_t size, uint8_t protocol);
common.h
Основные определения ядра
netcard_entry_t
Definition: cards.h:5