K-FSW v1.2.1-59-gcaca356
KFSW: modular flight software on Zephyr, for small satellites
Loading...
Searching...
No Matches
kfsw_csp_interface_info Struct Reference

#include <csp.h>

Public Attributes

const char * name
 
uint16_t address
 
uint16_t prefix_length
 
bool is_default
 
uint32_t tx_packets
 
uint32_t rx_packets
 
uint32_t tx_errors
 
uint32_t rx_errors
 
uint32_t dropped_packets
 
uint32_t auth_errors
 

Detailed Description

Interface configuration and counters since boot.

Member Data Documentation

◆ address

uint16_t kfsw_csp_interface_info::address

Address this node answers to on this link.

◆ auth_errors

uint32_t kfsw_csp_interface_info::auth_errors

Packets refused by authentication on this link: a tag that did not verify, or none where one is required.

The count is per interface because that is what it describes, a link somebody is talking on with the wrong key or no key at all.

◆ dropped_packets

uint32_t kfsw_csp_interface_info::dropped_packets

Packets dropped for lack of a buffer or a route.

◆ is_default

bool kfsw_csp_interface_info::is_default

Used for addresses no other route matches.

◆ name

const char* kfsw_csp_interface_info::name

Interface name, as a route table refers to it.

◆ prefix_length

uint16_t kfsw_csp_interface_info::prefix_length

Bits of the address that must match, over KFSW_CSP_HOST_BITS-bit node IDs.

◆ rx_errors

uint32_t kfsw_csp_interface_info::rx_errors

Frames that arrived malformed or too large.

◆ rx_packets

uint32_t kfsw_csp_interface_info::rx_packets

Packets assembled from the driver.

◆ tx_errors

uint32_t kfsw_csp_interface_info::tx_errors

Sends the driver refused.

◆ tx_packets

uint32_t kfsw_csp_interface_info::tx_packets

Packets handed to the driver.


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