Functions | |
| int32_t | PN_configureVlanFilter (PRUICSS_Handle pruicssHandle, uint8_t command) |
| set the VLAN_FLTR_CTRL_SHIFT to enable/disable vlan filtering More... | |
| int32_t | PN_configureUntaggedFrameRx (PRUICSS_Handle pruicssHandle, uint8_t command) |
| set the VLAN_FLTR_UNTAG_HOST_RCV_CTRL_SHIFT to enable/disable untagged frame host receive More... | |
| int32_t | PN_configurePriorityTaggedFrameRx (PRUICSS_Handle pruicssHandle, uint8_t command) |
| set the VLAN_FLTR_PRIOTAG_HOST_RCV_CTRL_SHIFT to enable/disable priority frame host receive More... | |
| int32_t | PN_configureVidRx (PRUICSS_Handle pruicssHandle, uint16_t vid, uint8_t command) |
| insert/delete a VID in the VLAN filter table More... | |
| int32_t PN_configureVlanFilter | ( | PRUICSS_Handle | pruicssHandle, |
| uint8_t | command | ||
| ) |
set the VLAN_FLTR_CTRL_SHIFT to enable/disable vlan filtering
| pruicssHandle | Handle to PRU ICSS instance. Contains pointers to base addresses & offsets |
| command | instruction to enable/disable vlan filtering. Command can take 2 values: VLAN_FLTR_DISABLE 0x00 VLAN_FLTR_ENABLE 0x01 |
| int32_t PN_configureUntaggedFrameRx | ( | PRUICSS_Handle | pruicssHandle, |
| uint8_t | command | ||
| ) |
set the VLAN_FLTR_UNTAG_HOST_RCV_CTRL_SHIFT to enable/disable untagged frame host receive
| pruicssHandle | Handle to PRU ICSS instance. Contains pointers to base addresses & offsets |
| command | instruction to enable/disable untagged frame host receive. Command can take 2 values: VLAN_FLTR_UNTAG_HOST_RCV_ALL 0x00 VLAN_FLTR_UNTAG_HOST_RCV_NAL 0x01 |
| int32_t PN_configurePriorityTaggedFrameRx | ( | PRUICSS_Handle | pruicssHandle, |
| uint8_t | command | ||
| ) |
set the VLAN_FLTR_PRIOTAG_HOST_RCV_CTRL_SHIFT to enable/disable priority frame host receive
| pruicssHandle | Handle to PRU ICSS instance. Contains pointers to base addresses & offsets |
| command | instruction to enable/disable priority frame host receive. Command can take 2 values: VLAN_FLTR_PRIOTAG_HOST_RCV_ALL 0x00 VLAN_FLTR_PRIOTAG_HOST_RCV_NAL 0x01 |
| int32_t PN_configureVidRx | ( | PRUICSS_Handle | pruicssHandle, |
| uint16_t | vid, | ||
| uint8_t | command | ||
| ) |
insert/delete a VID in the VLAN filter table
| pruicssHandle | Handle to PRU ICSS instance. Contains pointers to base addresses & offsets |
| vid | vid to be enabled/disabled in the VLAN filter table |
| command | instruction to add or remove VID from the filter table. Command can take 2 values: ADD_VLAN_VID : add VID to filter table (set bit to 0x01, allow packet to host) REM_VLAN_VID : remove VID from filter table (set bit to 0x00, block packet to host) |