OpenNSL API Guide and Reference Manual
Data Fields
opennsl_vlan_protocol_packet_ctrl_s Struct Reference

Per VLAN Protocol Packet control. More...

#include <vlanX.h>

Data Fields

int arp_reply_action
 ARP reply packet action.
 
int arp_request_action
 ARP request packet action.
 
int dhcp_action
 DHCP packet action.
 
int igmp_query_action
 IGMP Query packet action.
 
int igmp_report_leave_action
 IGMP Report(v1,v2,v3)/Leave(v2) packet action.
 
int igmp_unknown_msg_action
 Unknown IGMP message packet action.
 
int ip4_rsvd_mc_action
 IPv4 reserved multicast packet (DIP=224.0.0.X) action.
 
int ip6_rsvd_mc_action
 IPv6 reserved multicast packet (DIP=ff0X:0:0:0:0:0:0:0) action.
 
int mld_query_action
 MLD Query packet action.
 
int mld_report_done_action
 MLD Report(v1,v2)/Done(v1) packet action.
 
int mmrp_action
 MMRP packet action.
 
int nd_action
 ND packet action.
 
int reserved1
 
int reserved2
 
int reserved3
 
int srp_action
 SRP packet action.
 

Detailed Description

Per VLAN Protocol Packet control.

A protocol packet type is copied to CPU if the packet control value is set to VLAN_PROTO_PKT_TOCPU_ENABLE. Additionally the control can be set to one of VLAN_PROTO_PKT_FORWARD_ENABLE, VLAN_PROTO_PKT_DROP_ENABLE, or VLAN_PROTO_PKT_FLOOD_ENABLE to forward, drop or flood in VLAN respectively.

Definition at line 30 of file vlanX.h.

Field Documentation

int opennsl_vlan_protocol_packet_ctrl_s::arp_reply_action

ARP reply packet action.

Definition at line 33 of file vlanX.h.

int opennsl_vlan_protocol_packet_ctrl_s::arp_request_action

ARP request packet action.

Definition at line 34 of file vlanX.h.

int opennsl_vlan_protocol_packet_ctrl_s::dhcp_action

DHCP packet action.

Definition at line 36 of file vlanX.h.

int opennsl_vlan_protocol_packet_ctrl_s::igmp_query_action

IGMP Query packet action.

Definition at line 39 of file vlanX.h.

int opennsl_vlan_protocol_packet_ctrl_s::igmp_report_leave_action

IGMP Report(v1,v2,v3)/Leave(v2) packet action.

Definition at line 37 of file vlanX.h.

int opennsl_vlan_protocol_packet_ctrl_s::igmp_unknown_msg_action

Unknown IGMP message packet action.

Definition at line 40 of file vlanX.h.

int opennsl_vlan_protocol_packet_ctrl_s::ip4_rsvd_mc_action

IPv4 reserved multicast packet (DIP=224.0.0.X) action.

Definition at line 43 of file vlanX.h.

int opennsl_vlan_protocol_packet_ctrl_s::ip6_rsvd_mc_action

IPv6 reserved multicast packet (DIP=ff0X:0:0:0:0:0:0:0) action.

Definition at line 45 of file vlanX.h.

int opennsl_vlan_protocol_packet_ctrl_s::mld_query_action

MLD Query packet action.

Definition at line 42 of file vlanX.h.

int opennsl_vlan_protocol_packet_ctrl_s::mld_report_done_action

MLD Report(v1,v2)/Done(v1) packet action.

Definition at line 41 of file vlanX.h.

int opennsl_vlan_protocol_packet_ctrl_s::mmrp_action

MMRP packet action.

Definition at line 31 of file vlanX.h.

int opennsl_vlan_protocol_packet_ctrl_s::nd_action

ND packet action.

Definition at line 35 of file vlanX.h.

int opennsl_vlan_protocol_packet_ctrl_s::reserved1

Definition at line 47 of file vlanX.h.

int opennsl_vlan_protocol_packet_ctrl_s::reserved2

Definition at line 48 of file vlanX.h.

int opennsl_vlan_protocol_packet_ctrl_s::reserved3

Definition at line 49 of file vlanX.h.

int opennsl_vlan_protocol_packet_ctrl_s::srp_action

SRP packet action.

Definition at line 32 of file vlanX.h.


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