Go to the documentation of this file.
80 #define UIP_FW_NETIF(ip1,ip2,ip3,ip4, nm1,nm2,nm3,nm4, outputfunc) \
82 { {ip1, ip2, ip3, ip4} }, \
83 { {nm1, nm2, nm3, nm4} }, \
95 #define uip_fw_setipaddr(netif, addr) \
96 do { (netif)->ipaddr[0] = ((u16_t *)(addr))[0]; \
97 (netif)->ipaddr[1] = ((u16_t *)(addr))[1]; } while(0)
107 #define uip_fw_setnetmask(netif, addr) \
108 do { (netif)->netmask[0] = ((u16_t *)(addr))[0]; \
109 (netif)->netmask[1] = ((u16_t *)(addr))[1]; } while(0)
125 #define UIP_FW_LOCAL 0
139 #define UIP_FW_FORWARDED 1
147 #define UIP_FW_ZEROLEN 2
155 #define UIP_FW_TOOLARGE 3
163 #define UIP_FW_NOROUTE 4
171 #define UIP_FW_DROPPED 5