Home
last modified time | relevance | path

Searched refs:msg_type (Results 1 – 12 of 12) sorted by relevance

/components/net/lwip-dhcpd/
A Ddhcp_server_raw.c313 u8_t msg_type; in dhcp_server_recv() local
371 msg_type = *(opt + 2); in dhcp_server_recv()
372 if (msg_type == DHCP_DISCOVER) in dhcp_server_recv()
450 if (msg_type == DHCP_REQUEST) in dhcp_server_recv()
560 else if (msg_type == DHCP_RELEASE) in dhcp_server_recv()
587 else if (msg_type == DHCP_DECLINE) in dhcp_server_recv()
591 else if (msg_type == DHCP_INFORM) in dhcp_server_recv()
/components/net/sal/include/
A Dsal_msg.h22 int msg_type; /* message type */ member
/components/net/lwip/lwip-2.1.2/src/core/ipv6/
A Ddhcp6.c74 #define LWIP_HOOK_DHCP6_APPEND_OPTIONS(netif, dhcp6, state, msg, msg_type, options_len_ptr, max_len) argument
77 #define LWIP_HOOK_DHCP6_PARSE_OPTION(netif, dhcp6, state, msg, msg_type, option, len, pbuf, offset)… argument
703 u8_t msg_type; in dhcp6_recv() local
746 msg_type = reply_msg->msgtype; in dhcp6_recv()
748 if (msg_type == DHCP6_REPLY) { in dhcp6_recv()
A Dnd6.c289 u8_t msg_type; in nd6_input() local
295 msg_type = *((u8_t *)p->payload); in nd6_input()
296 switch (msg_type) { in nd6_input()
/components/dfs/dfs_v1/filesystems/nfs/rpc/
A Drpc_msg.h62 enum msg_type { enum
/components/net/lwip/lwip-2.0.3/src/apps/mqtt/
A Dmqtt.c149 mqtt_msg_type_to_str(u8_t msg_type) in mqtt_msg_type_to_str() argument
151 if (msg_type >= LWIP_ARRAYSIZE(mqtt_message_type_str)) { in mqtt_msg_type_to_str()
152 msg_type = 0; in mqtt_msg_type_to_str()
154 return mqtt_message_type_str[msg_type]; in mqtt_msg_type_to_str()
463 mqtt_output_append_fixed_header(struct mqtt_ringbuf_t *rb, u8_t msg_type, u8_t dup, in mqtt_output_append_fixed_header() argument
467 …mqtt_output_append_u8(rb, (((msg_type & 0x0f) << 4) | ((dup & 1) << 3) | ((qos & 3) << 1) | (retai… in mqtt_output_append_fixed_header()
/components/net/lwip/lwip-2.1.2/src/apps/mqtt/
A Dmqtt.c153 mqtt_msg_type_to_str(u8_t msg_type) in mqtt_msg_type_to_str() argument
155 if (msg_type >= LWIP_ARRAYSIZE(mqtt_message_type_str)) { in mqtt_msg_type_to_str()
156 msg_type = 0; in mqtt_msg_type_to_str()
158 return mqtt_message_type_str[msg_type]; in mqtt_msg_type_to_str()
494 mqtt_output_append_fixed_header(struct mqtt_ringbuf_t *rb, u8_t msg_type, u8_t fdup, in mqtt_output_append_fixed_header() argument
498 …mqtt_output_append_u8(rb, (((msg_type & 0x0f) << 4) | ((fdup & 1) << 3) | ((fqos & 3) << 1) | (fre… in mqtt_output_append_fixed_header()
/components/net/lwip/lwip-2.1.2/src/include/lwip/
A Dopt.h3096 #define LWIP_HOOK_DHCP_APPEND_OPTIONS(netif, dhcp, state, msg, msg_type, options_len_ptr) argument
3124 #define LWIP_HOOK_DHCP_PARSE_OPTION(netif, dhcp, state, msg, msg_type, option, len, pbuf, offset) argument
3152 #define LWIP_HOOK_DHCP6_APPEND_OPTIONS(netif, dhcp6, state, msg, msg_type, options_len_ptr, max_len) argument
/components/net/lwip/lwip-2.1.2/src/core/ipv4/
A Ddhcp.c89 #define LWIP_HOOK_DHCP_APPEND_OPTIONS(netif, dhcp, state, msg, msg_type, options_len_ptr) argument
92 #define LWIP_HOOK_DHCP_PARSE_OPTION(netif, dhcp, state, msg, msg_type, option, len, pbuf, offset) d… argument
1768 u8_t msg_type; in dhcp_recv() local
1830 msg_type = (u8_t)dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_MSG_TYPE); in dhcp_recv()
1832 if (msg_type == DHCP_ACK) { in dhcp_recv()
1858 else if ((msg_type == DHCP_NAK) && in dhcp_recv()
1865 else if ((msg_type == DHCP_OFFER) && (dhcp->state == DHCP_STATE_SELECTING)) { in dhcp_recv()
/components/net/lwip/lwip-2.0.3/src/core/ipv4/
A Ddhcp.c1683 u8_t msg_type; in dhcp_recv() local
1745 msg_type = (u8_t)dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_MSG_TYPE); in dhcp_recv()
1747 if (msg_type == DHCP_ACK) { in dhcp_recv()
1773 else if ((msg_type == DHCP_NAK) && in dhcp_recv()
1780 else if ((msg_type == DHCP_OFFER) && (dhcp->state == DHCP_STATE_SELECTING)) { in dhcp_recv()
/components/net/lwip/lwip-1.4.1/src/core/
A Ddhcp.c1542 u8_t msg_type; in dhcp_recv() local
1594 msg_type = (u8_t)dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_MSG_TYPE); in dhcp_recv()
1596 if (msg_type == DHCP_ACK) { in dhcp_recv()
1615 else if ((msg_type == DHCP_NAK) && in dhcp_recv()
1622 else if ((msg_type == DHCP_OFFER) && (dhcp->state == DHCP_SELECTING)) { in dhcp_recv()
/components/net/lwip/lwip-2.0.3/src/core/ipv6/
A Dnd6.c136 u8_t msg_type; in nd6_input() local
141 msg_type = *((u8_t *)p->payload); in nd6_input()
142 switch (msg_type) { in nd6_input()

Completed in 1304 milliseconds