Home
last modified time | relevance | path

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

/lib/lwip/lwip/src/include/lwip/
A Dip.h87 u8_t ttl \
239 #define ip_output(p, src, dest, ttl, tos, proto) \ argument
247 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument
290 #define ip_output(p, src, dest, ttl, tos, proto) \ argument
291 ip4_output(p, src, dest, ttl, tos, proto)
292 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument
293 ip4_output_if(p, src, dest, ttl, tos, proto, netif)
310 #define ip_output(p, src, dest, ttl, tos, proto) \ argument
311 ip6_output(p, src, dest, ttl, tos, proto)
312 #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, struct netif_hint *netif_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,
/lib/lwip/lwip/src/apps/mdns/
A Dmdns_out.c259 u32_t ttl = MDNS_TTL_120; in mdns_add_a_answer() local
276 ttl = MDNS_TTL_10; in mdns_add_a_answer()
290 u32_t ttl = MDNS_TTL_120; in mdns_add_hostv4_ptr_answer() local
308 ttl = MDNS_TTL_10; in mdns_add_hostv4_ptr_answer()
323 u32_t ttl = MDNS_TTL_120; in mdns_add_aaaa_answer() local
340 ttl = MDNS_TTL_10; in mdns_add_aaaa_answer()
372 ttl = MDNS_TTL_10; in mdns_add_hostv6_ptr_answer()
404 ttl = MDNS_TTL_10; in mdns_add_servicetype_ptr_answer()
435 ttl = MDNS_TTL_10; in mdns_add_servicename_ptr_answer()
472 ttl = MDNS_TTL_10; in mdns_add_srv_answer()
[all …]
A Dmdns.c484 u32_t ttl; in mdns_read_answer() local
498 copied = pbuf_copy_partial(pkt->pbuf, &ttl, sizeof(ttl), pkt->parse_offset); in mdns_read_answer()
499 if (copied != sizeof(ttl)) { in mdns_read_answer()
503 answer->ttl = lwip_ntohl(ttl); in mdns_read_answer()
1156 if (match && (ans.ttl > (rr_ttl / 2))) { in mdns_parse_pkt_known_answers()
1213 if (match && (ans.ttl > (rr_ttl / 2))) { in mdns_parse_pkt_known_answers()
2825 mdns_pcb->ttl = MDNS_IP_TTL; in mdns_resp_init()
/lib/lwip/lwip/src/core/ipv4/
A Dip4.c822 u8_t ttl, u8_t tos, argument
826 return ip4_output_if_opt(p, src, dest, ttl, tos, proto, netif, NULL, 0);
849 return ip4_output_if_opt_src(p, src_used, dest, ttl, tos, proto, netif,
852 return ip4_output_if_src(p, src_used, dest, ttl, tos, proto, netif);
862 u8_t ttl, u8_t tos, argument
866 return ip4_output_if_opt_src(p, src, dest, ttl, tos, proto, netif, NULL, 0);
941 IPH_TTL_SET(iphdr, ttl);
944 chk_sum += PP_NTOHS(proto | (ttl << 8));
1063 u8_t ttl, u8_t tos, u8_t proto) argument
1076 return ip4_output_if(p, src, dest, ttl, tos, proto, netif);
[all …]
/lib/lwip/lwip/src/core/
A Draw.c427 u8_t ttl; in raw_sendto_if_src() local
521 ttl = (ip_addr_ismulticast(dst_ip) ? raw_get_multicast_ttl(pcb) : pcb->ttl); in raw_sendto_if_src()
523 ttl = pcb->ttl; in raw_sendto_if_src()
527 err = ip_output_if(q, src_ip, dst_ip, ttl, pcb->tos, pcb->protocol, netif); in raw_sendto_if_src()
609 pcb->ttl = RAW_TTL; in raw_new()
A Ddns.c204 u32_t ttl; member
221 u32_t ttl; member
1124 if ((entry->ttl == 0) || (--entry->ttl == 0)) { in dns_check_entry()
1156 dns_correct_response(u8_t idx, u32_t ttl) in dns_correct_response() argument
1167 entry->ttl = ttl; in dns_correct_response()
1168 if (entry->ttl > DNS_MAX_TTL) { in dns_correct_response()
1169 entry->ttl = DNS_MAX_TTL; in dns_correct_response()
1173 if (entry->ttl == 0) { in dns_correct_response()
1318 dns_correct_response(i, lwip_ntohl(ans.ttl)); in dns_recv()
1338 dns_correct_response(i, lwip_ntohl(ans.ttl)); in dns_recv()
A Dudp.c717 u8_t ttl; in udp_sendto_if_src_chksum() local
884 ttl = (ip_addr_ismulticast(dst_ip) ? udp_get_multicast_ttl(pcb) : pcb->ttl); in udp_sendto_if_src_chksum()
886 ttl = pcb->ttl; in udp_sendto_if_src_chksum()
893 err = ip_output_if_src(q, src_ip, dst_ip, ttl, pcb->tos, ip_proto, netif); in udp_sendto_if_src_chksum()
1237 pcb->ttl = UDP_TTL; in udp_new()
A Dtcp_out.c1603 err = ip_output_if(seg->p, &pcb->local_ip, &pcb->remote_ip, pcb->ttl, in tcp_output_segment()
1943 u8_t ttl, tos; in tcp_output_control_segment_netif() local
1956 ttl = pcb->ttl; in tcp_output_control_segment_netif()
1960 ttl = TCP_TTL; in tcp_output_control_segment_netif()
1964 err = ip_output_if(p, src, dst, ttl, tos, IP_PROTO_TCP, netif); in tcp_output_control_segment_netif()
A Dtcp.c894 lpcb->ttl = pcb->ttl; in tcp_listen_with_backlog_and_err()
1900 pcb->ttl = TCP_TTL; in tcp_alloc()
/lib/lwip/lwip/contrib/addons/netconn/external_resolve/
A Ddnssd.c81 const struct sockaddr* address, u32_t ttl, void* context);
141 const struct sockaddr* address, u32_t ttl, void* context) in addr_info_callback() argument
150 LWIP_UNUSED_ARG(ttl); in addr_info_callback()
/lib/lwip/lwip/src/include/lwip/prot/
A Dip4.h122 #define IPH_TTL_SET(hdr, ttl) (hdr)->_ttl = (u8_t)(ttl) argument
/lib/lwip/lwip/src/apps/netbiosns/
A Dnetbiosns.c140 PACK_STRUCT_FIELD(u32_t ttl);
177 PACK_STRUCT_FIELD(u32_t ttl);
399 resp->resp_name.ttl = PP_HTONL(NETBIOS_NAME_TTL); in netbiosns_recv()
/lib/lwip/lwip/src/include/lwip/apps/
A Dmdns.h88 u32_t ttl; member
/lib/lwip/lwip/src/api/
A Dsockets.c3071 *(int *)optval = sock->conn->pcb.ip->ttl; in lwip_getsockopt_impl()
3516 sock->conn->pcb.ip->ttl = (u8_t)(*(const int *)optval); in lwip_setsockopt_impl()
3518 s, sock->conn->pcb.ip->ttl)); in lwip_setsockopt_impl()
/lib/lwip/lwip/
A DCHANGELOG3008 Use this new field to access to common pcb fields (ttl, tos, so_options, etc...).

Completed in 82 milliseconds