mOS API description
Data Fields
pkt_ctx Struct Reference

PACKET CONTEXT is the packet structure that goes through the mOS core... More...

#include <mos_api.h>

Collaboration diagram for pkt_ctx:
Collaboration graph
[legend]

Data Fields

struct pkt_info p
 
int8_t direction
 where does this packet originate from? (ro) More...
 
uint8_t forward
 0: drop, 1: forward to out_ifidx (rw) More...
 
int8_t in_ifidx
 input interface (ro) More...
 
int8_t out_ifidx
 output interface (rw) More...
 
int8_t batch_index
 index of packet in the rx batch More...
 

Detailed Description

PACKET CONTEXT is the packet structure that goes through the mOS core...

Field Documentation

int8_t pkt_ctx::batch_index

index of packet in the rx batch

int8_t pkt_ctx::direction

where does this packet originate from? (ro)

uint8_t pkt_ctx::forward

0: drop, 1: forward to out_ifidx (rw)

int8_t pkt_ctx::in_ifidx

input interface (ro)

int8_t pkt_ctx::out_ifidx

output interface (rw)

struct pkt_info pkt_ctx::p

The documentation for this struct was generated from the following file: