Home
last modified time | relevance | path

Searched refs:ttl (Results 1 – 25 of 36) sorted by relevance

12

/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/
A Dip.h85 u8_t ttl \
227 #define ip_output(p, src, dest, ttl, tos, proto) \ argument
235 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument
273 #define ip_output(p, src, dest, ttl, tos, proto) \ argument
274 ip4_output(p, src, dest, ttl, tos, proto)
275 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument
276 ip4_output_if(p, src, dest, ttl, tos, proto, netif)
291 #define ip_output(p, src, dest, ttl, tos, proto) \ argument
292 ip6_output(p, src, dest, ttl, tos, proto)
293 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument
[all …]
A Dip4.h73 u8_t ttl, u8_t tos, u8_t proto);
75 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif);
77 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif);
80 u8_t ttl, u8_t tos, u8_t proto, u8_t *addr_hint);
84 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options,
87 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options,
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/
A Dip.h85 u8_t ttl \
226 #define ip_output(p, src, dest, ttl, tos, proto) \ argument
234 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument
272 #define ip_output(p, src, dest, ttl, tos, proto) \ argument
273 ip4_output(p, src, dest, ttl, tos, proto)
274 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument
275 ip4_output_if(p, src, dest, ttl, tos, proto, netif)
290 #define ip_output(p, src, dest, ttl, tos, proto) \ argument
291 ip6_output(p, src, dest, ttl, tos, proto)
292 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument
[all …]
A Dip4.h73 u8_t ttl, u8_t tos, u8_t proto);
75 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif);
77 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif);
80 u8_t ttl, u8_t tos, u8_t proto, u8_t *addr_hint);
84 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options,
87 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options,
/AliOS-Things-master/components/lwip/lwip2.0.0/core/ipv4/
A Dip4.c758 u8_t ttl, u8_t tos, argument
762 return ip4_output_if_opt(p, src, dest, ttl, tos, proto, netif, NULL, 0);
785 return ip4_output_if_opt_src(p, src_used, dest, ttl, tos, proto, netif,
788 return ip4_output_if_src(p, src_used, dest, ttl, tos, proto, netif);
798 u8_t ttl, u8_t tos, argument
869 IPH_TTL_SET(iphdr, ttl);
872 chk_sum += LWIP_MAKE_U16(proto, ttl);
987 u8_t ttl, u8_t tos, u8_t proto) argument
1000 return ip4_output_if(p, src, dest, ttl, tos, proto, netif);
1024 u8_t ttl, u8_t tos, u8_t proto, u8_t *addr_hint) argument
[all …]
/AliOS-Things-master/components/ble_host/bt_host/host/
A Dtesting.c34 void bt_test_mesh_net_recv(u8_t ttl, u8_t ctl, u16_t src, u16_t dst, in bt_test_mesh_net_recv() argument
41 cb->mesh_net_recv(ttl, ctl, src, dst, payload, in bt_test_mesh_net_recv()
A Dtesting.h13 void bt_test_mesh_net_recv(u8_t ttl, u8_t ctl, u16_t src, u16_t dst,
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/prot/
A Dip4.h102 #define IPH_TTL_SET(hdr, ttl) (hdr)->_ttl = (u8_t)(ttl) argument
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/prot/
A Dip4.h102 #define IPH_TTL_SET(hdr, ttl) (hdr)->_ttl = (u8_t)(ttl) argument
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/
A Dtransport.c98 u8_t ttl; member
109 u8_t ttl; member
367 tx->ttl = bt_mesh_default_ttl_get(); in send_seg()
369 tx->ttl = net_tx->ctx->send_ttl; in send_seg()
965 u8_t ttl; in ack_timeout() local
967 if (rx->ttl == BT_MESH_TTL_DEFAULT) { in ack_timeout()
968 ttl = bt_mesh_default_ttl_get(); in ack_timeout()
970 ttl = rx->ttl; in ack_timeout()
976 to = K_MSEC(150 + (50 * ttl)); in ack_timeout()
1028 .send_ttl = ttl, in send_ack()
[all …]
A Dsettings.c84 u8_t ttl; member
127 u8_t ttl; member
570 pub->ttl = 0U; in hb_pub_set()
586 pub->ttl = hb_val.ttl; in hb_pub_set()
689 mod->pub->ttl = 0U; in mod_set_pub()
707 mod->pub->ttl = pub.ttl; in mod_set_pub()
1209 val.ttl = pub->ttl; in store_pending_hb_pub()
1509 pub.ttl = mod->pub->ttl; in store_pending_mod_pub()
A Dfriend.c61 u8_t ttl:7, ctl:1; member
359 net_buf_add_u8(buf, info->ttl | 0x80); in create_friend_pdu()
361 net_buf_add_u8(buf, info->ttl); in create_friend_pdu()
405 info.ttl = 0; in encode_friend_ctl()
1111 info.ttl = rx->ctx.recv_ttl; in friend_lpn_enqueue_rx()
1113 info.ttl = rx->ctx.recv_ttl - 1; in friend_lpn_enqueue_rx()
1155 info.ttl = tx->ctx->send_ttl; in friend_lpn_enqueue_tx()
A Dcfg_srv.c94 .send_ttl = cfg->hb_pub.ttl, in hb_send()
108 hb.init_ttl = cfg->hb_pub.ttl; in hb_send()
130 BT_DBG("InitTTL %u feat 0x%04x", cfg->hb_pub.ttl, feat); in hb_send()
297 model->pub->ttl = 0; in _mod_pub_set()
320 model->pub->ttl = ttl; in _mod_pub_set()
1077 net_buf_simple_add_u8(&msg, mod->pub->ttl); in send_mod_pub_status()
2259 cfg->hb_pub.ttl = 0; in hb_pub_disable()
2908 u8_t ttl; member
2934 net_buf_simple_add_u8(&msg, cfg->hb_pub.ttl); in hb_pub_send_status()
2977 if (param->ttl > BT_MESH_TTL_MAX && param->ttl != BT_MESH_TTL_DEFAULT) { in heartbeat_pub_set()
[all …]
/AliOS-Things-master/components/lwip/lwip2.0.0/core/
A Ddns.c200 u32_t ttl; member
217 u32_t ttl; member
1101 if ((entry->ttl == 0) || (--entry->ttl == 0)) { in dns_check_entry()
1133 dns_correct_response(u8_t idx, u32_t ttl) in dns_correct_response() argument
1144 entry->ttl = ttl; in dns_correct_response()
1145 if (entry->ttl > DNS_MAX_TTL) { in dns_correct_response()
1146 entry->ttl = DNS_MAX_TTL; in dns_correct_response()
1150 if (entry->ttl == 0) { in dns_correct_response()
1284 dns_correct_response(i, lwip_ntohl(ans.ttl)); in dns_recv()
1303 dns_correct_response(i, lwip_ntohl(ans.ttl)); in dns_recv()
A Dudp.c703 u8_t ttl; in udp_sendto_if_src_chksum() local
858 ttl = (ip_addr_ismulticast(dst_ip) ? udp_get_multicast_ttl(pcb) : pcb->ttl); in udp_sendto_if_src_chksum()
860 ttl = pcb->ttl; in udp_sendto_if_src_chksum()
867 err = ip_output_if_src(q, src_ip, dst_ip, ttl, pcb->tos, ip_proto, netif); in udp_sendto_if_src_chksum()
1138 pcb->ttl = UDP_TTL; in udp_new()
A Draw.c377 err = ip_output_if(q, src_ip, dst_ip, pcb->ttl, pcb->tos, pcb->protocol, netif); in raw_sendto()
457 pcb->ttl = RAW_TTL; in raw_new()
/AliOS-Things-master/components/netmgr/netdev/src/
A Dnetdev_lwip.c164 extern int lwip_ping_recv(int s, int *ttl, int size);
171 int s, ttl, recv_len, result = 0; in lwip_netdev_ping() local
219 if ((recv_len = lwip_ping_recv(s, &ttl, data_len)) >= 0) in lwip_netdev_ping()
223 ping_resp->ttl = ttl; in lwip_netdev_ping()
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/api/mesh/
A Dcfg_cli.h45 int bt_mesh_cfg_ttl_get(u16_t net_idx, u16_t addr, u8_t *ttl);
47 int bt_mesh_cfg_ttl_set(u16_t net_idx, u16_t addr, u8_t val, u8_t *ttl);
128 u8_t ttl; member
205 u8_t ttl; member
A Dcfg_srv.h43 u8_t ttl; member
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/host/
A Dtesting.h12 void bt_test_mesh_net_recv(u8_t ttl, u8_t ctl, u16_t src, u16_t dst,
/AliOS-Things-master/components/ble_host/bt_host/include/bluetooth/
A Dtesting.h36 void (*mesh_net_recv)(u8_t ttl, u8_t ctl, u16_t src, u16_t dst,
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/mdns/
A Dmdns.c261 u32_t ttl; member
915 u32_t ttl, const u8_t *buf, size_t buf_length, struct mdns_domain *answer_domain) in mdns_add_answer() argument
934 …answer_len = domain->length + sizeof(type) + sizeof(klass) + sizeof(ttl) + sizeof(field16)/*rd_len… in mdns_add_answer()
950 field32 = lwip_htonl(ttl); in mdns_add_answer()
1078 u32_t ttl; in mdns_read_answer() local
1092 copied = pbuf_copy_partial(pkt->pbuf, &ttl, sizeof(ttl), pkt->parse_offset); in mdns_read_answer()
1093 if (copied != sizeof(ttl)) { in mdns_read_answer()
1097 answer->ttl = lwip_ntohl(ttl); in mdns_read_answer()
1572 if (match && (ans.ttl > (mdns->dns_ttl / 2))) { in mdns_handle_question()
1626 if (match && (ans.ttl > (service->dns_ttl / 2))) { in mdns_handle_question()
[all …]
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/netbiosns/
A Dnetbiosns.c113 PACK_STRUCT_FIELD(u32_t ttl);
298 resp->resp_name.ttl = PP_HTONL(NETBIOS_NAME_TTL); in netbiosns_recv()
/AliOS-Things-master/components/ble_mesh/bt_shell/bt_mesh/
A Dshell.c1194 u8_t ttl; in cmd_ttl() local
1198 err = bt_mesh_cfg_ttl_get(net.net_idx, net.dst, &ttl); in cmd_ttl()
1202 err = bt_mesh_cfg_ttl_set(net.net_idx, net.dst, val, &ttl); in cmd_ttl()
1210 printf("Default TTL is 0x%02x\n", ttl); in cmd_ttl()
1953 root_models[model_idx].pub->ttl = strtoul(argv[5], NULL, 0); in cmd_local_model_pub_set()
2044 ctx.send_ttl = ttl; in local_model_send()
2078 uint8_t msg[2], ack, modex_index, ttl; in cmd_onoff_model_cli_send() local
2104 ttl = strtoul(argv[5], NULL, 0); in cmd_onoff_model_cli_send()
2106 ttl = BT_MESH_TTL_DEFAULT; in cmd_onoff_model_cli_send()
2260 pub.ttl = strtoul(argv[3], NULL, 0); in mod_pub_set()
[all …]
/AliOS-Things-master/hardware/board/haas100/drivers/
A Dch395_cmd.c1105 int32_t ch395_set_sock_ttl(uint8_t sock, uint8_t ttl) in ch395_set_sock_ttl() argument
1111 if (ttl > TCP_TTL_MAX_VALUE || sock >= MAX_SURPPORT_SOCK_NUM) { in ch395_set_sock_ttl()
1112 LOGE(TAG, "Invalid Input ttl %d, sock %d", ttl, sock); in ch395_set_sock_ttl()
1118 data[2] = ttl; in ch395_set_sock_ttl()
1122 LOGE(TAG, "Fail to write sock %d ttl %d", sock, ttl); in ch395_set_sock_ttl()

Completed in 48 milliseconds

12