Changeset 262 for uKadecot/trunk/uip/net/ipv4/uip-fw.h
- Timestamp:
- Nov 18, 2016, 2:58:30 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uKadecot/trunk/uip/net/ipv4/uip-fw.h
r158 r262 55 55 struct uip_fw_netif *next; /**< Pointer to the next interface when 56 56 linked in a list. */ 57 ui nt16_t ipaddr[2]; /**< The IP address of this interface. */58 ui nt16_t netmask[2]; /**< The netmask of the interface. */57 uip_ipaddr_t ipaddr; /**< The IP address of this interface. */ 58 uip_ipaddr_t netmask; /**< The netmask of the interface. */ 59 59 uint8_t (* output)(void); 60 60 /**< A pointer to the function that … … 63 63 64 64 /** 65 * In tantiating macro for a uIP network interface.65 * Instantiating macro for a uIP network interface. 66 66 * 67 67 * Example: … … 80 80 #define UIP_FW_NETIF(ip1,ip2,ip3,ip4, nm1,nm2,nm3,nm4, outputfunc) \ 81 81 NULL, \ 82 { HTONS((ip1 << 8) | ip2), HTONS((ip3 << 8) | ip4)}, \83 { HTONS((nm1 << 8) | nm2), HTONS((nm3 << 8) | nm4)}, \82 { {ip1, ip2, ip3, ip4} }, \ 83 { {nm1, nm2, nm3, nm4} }, \ 84 84 outputfunc 85 85
Note:
See TracChangeset
for help on using the changeset viewer.