XenevaOS
Loading...
Searching...
No Matches
Classes | Typedefs | Enumerations | Functions
packet.h File Reference
#include <stdint.h>
#include <Fs/vfs.h>
Include dependency graph for packet.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _au_packet_
 

Typedefs

typedef struct _au_packet_ AuPacket
 

Enumerations

enum  { AU_PKT_ORIGIN_WIRE = 0 , AU_PKT_ORIGIN_LOCAL = 1 , AU_PKT_ORIGIN_STACK = 2 }
 

Functions

void AuPacketSetOrigin (uint8_t origin)
 
uint8_t AuPacketGetOrigin (void)
 
int AuPacketLocalEnter (void)
 
void AuPacketLocalLeave (void)
 
int AuPacketLocalDepth (void)
 

Typedef Documentation

◆ AuPacket

typedef struct _au_packet_ AuPacket

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Thin packet descriptor for local-delivery / loopback origin tracking. Full iptable Phase-0 AuPacket (hooks, L2/L3 offsets, rt*) is out of scope.

Enumerator
AU_PKT_ORIGIN_WIRE 
AU_PKT_ORIGIN_LOCAL 
AU_PKT_ORIGIN_STACK 

Function Documentation

◆ AuPacketGetOrigin()

uint8_t AuPacketGetOrigin ( void  )
extern

◆ AuPacketLocalDepth()

int AuPacketLocalDepth ( void  )
extern

◆ AuPacketLocalEnter()

int AuPacketLocalEnter ( void  )
extern

◆ AuPacketLocalLeave()

void AuPacketLocalLeave ( void  )
extern

◆ AuPacketSetOrigin()

void AuPacketSetOrigin ( uint8_t  origin)
extern