Searched refs:ip4_addr_get_byte_val (Results 1 – 1 of 1) sorted by relevance
192 #define ip4_addr_get_byte_val(ipaddr, idx) ((u8_t)(((ipaddr).addr >> (idx * 8)) & 0xff)) macro193 #define ip4_addr1_val(ipaddr) ip4_addr_get_byte_val(ipaddr, 0)194 #define ip4_addr2_val(ipaddr) ip4_addr_get_byte_val(ipaddr, 1)195 #define ip4_addr3_val(ipaddr) ip4_addr_get_byte_val(ipaddr, 2)196 #define ip4_addr4_val(ipaddr) ip4_addr_get_byte_val(ipaddr, 3)