X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/b9b03aadb219d06fbad9d110e508db93e45461af..cf22a744ec0da3b68c4ffdb14c6fa43f2e07542f:/Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.h?ds=inline diff --git a/Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.h b/Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.h index b360f07ae..2e6d9908a 100644 --- a/Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.h +++ b/Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.h @@ -50,6 +50,9 @@ #include "IP.h" /* Macros: */ + /** Physical MAC address of the USB RNDIS network adapter */ + #define ADAPTER_MAC_ADDRESS {0x02, 0x00, 0x02, 0x00, 0x02, 0x00} + /** Physical MAC address of the virtual server on the network */ #define SERVER_MAC_ADDRESS {0x00, 0x01, 0x00, 0x01, 0x00, 0x01} @@ -58,8 +61,8 @@ /** Performs a comparison between two MAC addresses, indicating if they are identical. * - * \param MAC1 First MAC address - * \param MAC2 Second MAC address + * \param[in] MAC1 First MAC address + * \param[in] MAC2 Second MAC address * * \return True if the addresses match, false otherwise */ @@ -94,7 +97,7 @@ union { - uint16_t EtherType; /**< Ethernet packet subprotocol type, for Ethernet V2 packets */ + uint16_t EtherType; /**< Ethernet packet sub-protocol type, for Ethernet V2 packets */ uint16_t Length; /**< Ethernet frame length, for Ethernet V1 packets */ }; } Ethernet_Frame_Header_t;