Lines Matching refs:u8_t
133 u8_t dhcp_rx_options_given[DHCP_OPTION_IDX_MAX];
137 static u8_t xid_initialised;
157 static void dhcp_set_state(struct dhcp *dhcp, u8_t new_state);
169 static err_t dhcp_create_msg(struct netif *netif, struct dhcp *dhcp, u8_t message_type);
173 static void dhcp_option(struct dhcp *dhcp, u8_t option_type, u8_t option_len);
175 static void dhcp_option_byte(struct dhcp *dhcp, u8_t value);
512 u8_t n;
975 u8_t first_octet = ip4_addr1(&dhcp->offered_ip_addr);
1253 dhcp_set_state(struct dhcp *dhcp, u8_t new_state)
1268 dhcp_option(struct dhcp *dhcp, u8_t option_type, u8_t option_len)
1279 dhcp_option_byte(struct dhcp *dhcp, u8_t value)
1289 dhcp->msg_out->options[dhcp->options_out_len++] = (u8_t)((value & 0xff00U) >> 8);
1290 dhcp->msg_out->options[dhcp->options_out_len++] = (u8_t) (value & 0x00ffU);
1297 dhcp->msg_out->options[dhcp->options_out_len++] = (u8_t)((value & 0xff000000UL) >> 24);
1298 dhcp->msg_out->options[dhcp->options_out_len++] = (u8_t)((value & 0x00ff0000UL) >> 16);
1299 dhcp->msg_out->options[dhcp->options_out_len++] = (u8_t)((value & 0x0000ff00UL) >> 8);
1300 dhcp->msg_out->options[dhcp->options_out_len++] = (u8_t)((value & 0x000000ffUL));
1310 u8_t len;
1339 u8_t *options;
1378 options = (u8_t*)q->payload;
1381 u8_t op = options[offset];
1382 u8_t len;
1383 u8_t decode_len = 0;
1390 len = (q->next != NULL ? ((u8_t*)q->next->payload)[0] : 0);
1470 value = ((u8_t*)&value)[0];
1482 options = (u8_t*)q->payload;
1542 u8_t msg_type;
1543 u8_t i;
1594 msg_type = (u8_t)dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_MSG_TYPE);
1641 dhcp_create_msg(struct netif *netif, struct dhcp *dhcp, u8_t message_type)
1721 dhcp->msg_out->options[i] = (u8_t)i; /* for debugging only, no matter if truncated */