|
ROFL-pipeline
v0.6.0dev
|
Port abstraction. More...
#include <switch_port.h>
Data Fields | |
| uint8_t | hwaddr [SW_PORT_ETH_ALEN] |
| bool | up |
| bool | forward_packets |
| bool | drop_received |
| bool | no_flood |
| port_type_t | type |
| char | name [SWITCH_PORT_MAX_LEN_NAME] |
| bitmap32_t | state |
| port_stats_t | stats |
| bitmap32_t | curr |
| bitmap32_t | advertised |
| bitmap32_t | supported |
| bitmap32_t | peer |
| port_features_t | curr_speed |
| port_features_t | curr_max_speed |
| unsigned int | max_queues |
| port_queue_t | queues [SWITCH_PORT_MAX_QUEUES] |
| bool | of_generate_packet_in |
| struct of_switch * | attached_sw |
| bool | is_attached_to_sw |
| uint64_t | attached_sw_dpid |
| unsigned int | of_port_num |
| platform_mutex_t * | mutex |
| platform_port_state_t * | platform_port_state |
Port abstraction.
The switch_port implements the switch port abstraction. There are four types of ports:
Definition at line 145 of file switch_port.h.
1.8.6