SayoriOS 0.3.3

stack.h
1 //
2 // Created by maractus on 04.01.24.
3 //
4
5 #pragma once
6
7 #include "common.h"
8 #include "net/cards.h"
9
10 typedef struct {
11 netcard_entry_t* card;
12 void* data;
13 size_t length;
14 } netqueue_item_t;
15
16 void netstack_init();
17 void netstack_push(netcard_entry_t* card, void* packet_data, size_t length);
18 netqueue_item_t* netstack_pop();
19 netqueue_item_t* netstack_poll();
common.h
Основные определения ядра
netcard_entry_t
Definition: cards.h:5
netqueue_item_t
Definition: stack.h:10