Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
net_traffic_class Struct Reference

Network traffic class. More...

#include <net_if.h>

Data Fields

struct k_fifo fifo
 
struct k_thread handler
 
k_thread_stack_tstack
 

Detailed Description

Network traffic class.

Traffic classes are used when sending or receiving data that is classified with different priorities. So some traffic can be marked as high priority and it will be sent or received first. Each network packet that is transmitted or received goes through a fifo to a thread that will transmit it.

Field Documentation

◆ fifo

struct k_fifo net_traffic_class::fifo

Fifo for handling this Tx or Rx packet

◆ handler

struct k_thread net_traffic_class::handler

Traffic class handler thread

◆ stack

k_thread_stack_t* net_traffic_class::stack

Stack for this handler


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