Struct ETHERNET_packet
Defined in File ETHERNET_types.h
Inheritance Relationships
Base Type
public Packet_t
(Struct Packet_t)
Struct Documentation
-
struct ETHERNET_packet : public Packet_t
Public Functions
-
virtual void set_src_mac(uint8_t my_mac[6]) override
Start overriding inherited methods
-
virtual void set_dst_mac(uint8_t dst_mac[6]) override
-
virtual int toBytes(uint8_t *bytes, int max_len) override
-
virtual uint8_t *get_payload_ptr() override
-
virtual int get_payload_len() override
-
virtual void set_payload_len(int len) override
-
virtual uint8_t *get_src_mac_FromRaw(uint8_t *raw_bytes, int len) override
-
virtual int get_payload_len_FromRaw(uint8_t *raw_bytes, int len) override
-
virtual uint8_t *get_payload_FromRaw(uint8_t *raw_bytes, int len) override
Public Members
-
struct ETHERNET_data data
-
virtual void set_src_mac(uint8_t my_mac[6]) override