48 #ifndef SICSLOW_ETHERNET_H
49 #define SICSLOW_ETHERNET_H
52 #include "sicslowmac.h"
63 uint8_t sicslowpan :1;
72 #define UIP_ETHTYPE_802154 0x809A
74 extern usbstick_mode_t usbstick_mode;
81 void mac_ethernetSetup(
void);
void mac_logTXtoEthernet(frame_create_params_t *p, frame_result_t *frame_result)
Logs a sent 6lowpan frame.
void mac_ethernetToLowpan(uint8_t *ethHeader)
Take a packet received over the ethernet link, and send it out over 802.15.4.
void mac_802154raw(const struct mac_driver *r)
Process a received 6lowpan packet.
Strucure used to return that status of the frame create process.
Parameters used by the frame_tx_create() function.
int8_t mac_translateIcmpLinkLayer(lltype_t target)
Translate the link-layer (L2) addresses in an ICMP packet.
The structure of a MAC protocol driver in Contiki.
void mac_LowpanToEthernet(void)
Take a packet received over the 802.15.4 link, and send it out over ethernet, performing any translat...
802.15.4 frame creation and parsing functions
int8_t mac_translateIPLinkLayer(lltype_t target)
Translate IP packet's possible link-layer addresses, passing the message to the appropriate higher le...