struct ndn_eth_header_plain

Overview

struct ndn_eth_header_plain {
    // fields

    uint8_t dst_addr[ETHER_ADDR_LEN];
    uint8_t src_addr[ETHER_ADDR_LEN];
    uint16_t len_type;
    int is_tagged;
    int cfi;
    uint8_t priority;
    uint16_t vlan_id;
};

Detailed Documentation

Fields

uint8_t dst_addr[ETHER_ADDR_LEN]

Destination MAC address

uint8_t src_addr[ETHER_ADDR_LEN]

Source MAC address

uint16_t len_type

Ethernet Length/Type

int is_tagged

BOOL, flag - is frame tagged.

int cfi

BOOL, Canonical Format Indicator

uint8_t priority

Priority

uint16_t vlan_id

VLAN tag