Home
last modified time | relevance | path

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

/lib/liblwip/src/include/ipv4/lwip/
Dip.h85 u8_t ttl \
161 #define IPH_TTL_SET(hdr, ttl) (hdr)->_ttl = (u8_t)(ttl) argument
178 u8_t ttl, u8_t tos, u8_t proto);
180 u8_t ttl, u8_t tos, u8_t proto,
184 u8_t ttl, u8_t tos, u8_t proto, u8_t *addr_hint);
188 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options,
/lib/liblwip/src/include/ipv6/lwip/
Dip.h78 u8_t ttl; \
111 u8_t ttl, u8_t proto);
114 u8_t ttl, u8_t proto,
/lib/liblwip/src/core/ipv6/
Dip6.c261 u8_t ttl, in ip_output_if() argument
282 iphdr->hoplim = ttl; in ip_output_if()
318 u8_t ttl, u8_t proto) in ip_output() argument
327 return ip_output_if (p, src, dest, ttl, proto, netif); in ip_output()
333 u8_t ttl, u8_t tos, u8_t proto, u8_t *addr_hint) in ip_output_hinted() argument
345 err = ip_output_if(p, src, dest, ttl, tos, proto, netif); in ip_output_hinted()
/lib/liblwip/src/core/ipv4/
Dip.c642 u8_t ttl, u8_t tos, argument
646 return ip_output_if_opt(p, src, dest, ttl, tos, proto, netif, NULL, 0);
656 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, argument
716 IPH_TTL_SET(iphdr, ttl);
719 chk_sum += LWIP_MAKE_U16(proto, ttl);
819 u8_t ttl, u8_t tos, u8_t proto) argument
834 return ip_output_if(p, src, dest, ttl, tos, proto, netif);
858 u8_t ttl, u8_t tos, u8_t proto, u8_t *addr_hint) argument
875 err = ip_output_if(p, src, dest, ttl, tos, proto, netif);
/lib/liblwip/src/core/
Ddns.c162 u32_t ttl; member
175 u32_t ttl; member
697 if (--pEntry->ttl == 0) { in dns_check_entry()
806 pEntry->ttl = ntohl(ans.ttl); in dns_recv()
807 if (pEntry->ttl > DNS_MAX_TTL) { in dns_recv()
808 pEntry->ttl = DNS_MAX_TTL; in dns_recv()
Draw.c267 err = ip_output_if (q, src_ip, ipaddr, pcb->ttl, pcb->tos, pcb->protocol, netif); in raw_sendto()
343 pcb->ttl = RAW_TTL; in raw_new()
Dtcp_out.c879 ip_output_hinted(p, &(pcb->local_ip), &(pcb->remote_ip), pcb->ttl, pcb->tos, in tcp_send_empty_ack()
882 ip_output(p, &(pcb->local_ip), &(pcb->remote_ip), pcb->ttl, pcb->tos, in tcp_send_empty_ack()
1166 ip_output_hinted(seg->p, &(pcb->local_ip), &(pcb->remote_ip), pcb->ttl, pcb->tos, in tcp_output_segment()
1169 ip_output(seg->p, &(pcb->local_ip), &(pcb->remote_ip), pcb->ttl, pcb->tos, in tcp_output_segment()
1392 ip_output_hinted(p, &pcb->local_ip, &pcb->remote_ip, pcb->ttl, 0, IP_PROTO_TCP, in tcp_keepalive()
1395 ip_output(p, &pcb->local_ip, &pcb->remote_ip, pcb->ttl, 0, IP_PROTO_TCP); in tcp_keepalive()
1473 ip_output_hinted(p, &pcb->local_ip, &pcb->remote_ip, pcb->ttl, 0, IP_PROTO_TCP, in tcp_zero_window_probe()
1476 ip_output(p, &pcb->local_ip, &pcb->remote_ip, pcb->ttl, 0, IP_PROTO_TCP); in tcp_zero_window_probe()
Dudp.c693 err = ip_output_if(q, src_ip, dst_ip, pcb->ttl, pcb->tos, IP_PROTO_UDPLITE, netif);
728 err = ip_output_if(q, src_ip, dst_ip, pcb->ttl, pcb->tos, IP_PROTO_UDP, netif);
988 pcb->ttl = UDP_TTL;
Dtcp.c555 lpcb->ttl = pcb->ttl; in tcp_listen_with_backlog()
1314 pcb->ttl = TCP_TTL; in tcp_alloc()
/lib/liblwip/src/api/
Dsockets.c1761 *(int*)optval = sock->conn->pcb.ip->ttl;
1772 *(u8_t*)optval = sock->conn->pcb.ip->ttl;
2152 sock->conn->pcb.ip->ttl = (u8_t)(*(int*)optval);
2154 s, sock->conn->pcb.ip->ttl));
2163 sock->conn->pcb.udp->ttl = (u8_t)(*(u8_t*)optval);
/lib/liblwip/
DCHANGELOG1722 Use this new field to access to common pcb fields (ttl, tos, so_options, etc...).