/haiku/src/system/libnetwork/netresolv/nameser/ |
H A D | ns_ttl.c | 108 u_long ttl, tmp; local 111 ttl = 0; 136 ttl += tmp; 145 ttl += tmp; 148 *dst = ttl;
|
H A D | ns_parse.c | 188 rr->ttl = 0; 194 NS_GET32(rr->ttl, handle->_msg_ptr); 251 rr->ttl = 0; 257 NS_GET32(rr->ttl, handle->_msg_ptr);
|
H A D | ns_print.c | 113 u_long ttl, const u_char *rdata, size_t rdlen, 153 T(x = ns_format_ttl(ttl, buf, buflen)); 111 ns_sprintrrf(const u_char *msg, size_t msglen, const char *name, ns_class class, ns_type type, u_long ttl, const u_char *rdata, size_t rdlen, const char *name_ctx, const char *origin, char *buf, size_t buflen) argument
|
/haiku/src/tests/system/network/multicast/ |
H A D | multisend.c | 25 const char *source, const int ttl); 36 { "ttl", required_argument, NULL, 't' }, 44 int ttl = 128; local 60 ttl = atoi(optarg); 72 fd = open_multicast_socket(argv[0], argv[1], source, ttl); 101 const char *source, const int ttl) 203 if (setsockopt(fd, level, sockopt_h, &ttl, sizeof(ttl)) < 0) 220 " -t, --ttl=NUM set the TTL to NUM\n" 223 "If --ttl i 100 open_multicast_socket(const char *group, const char *port, const char *source, const int ttl) argument [all...] |
/haiku/src/preferences/mail/ |
H A D | DNSQuery.h | 92 uint32 ttl; member in struct:resource_record_head
|
H A D | DNSQuery.cpp | 474 buffer.ReadUint32(rrHead->ttl);
|
/haiku/headers/posix/arpa/ |
H A D | nameser.h | 150 uint32_t ttl; member in struct:__ns_rr 161 unsigned int ttl; member in struct:__ns_rr2 172 #define ns_rr_ttl(rr) ((rr).ttl + 0) 589 ns_type type, ns_class rr_class, uint32_t ttl, uint16_t rdlen,
|
/haiku/src/bin/network/traceroute/ |
H A D | traceroute.c | 27 * packets with a small ttl (time to live) then listening for an 29 * with a ttl of one and increase by one until we get an icmp "port 31 * defaults to net.inet.ip.ttl hops & can be changed with the -m flag). 32 * Three probes (change with -q flag) are sent at each ttl setting and 33 * a line is printed showing the ttl, address of the gateway and 63 * packets with a zero ttl. 91 * with a ttl too small to reach us. 14 - 17 are running the 97 * sends an unreachable message using whatever ttl remains in the 98 * original datagram. Since, for gateways, the remaining ttl is 120 * is using the ttl fro 301 u_char ttl; /* ttl packet left with */ member in struct:outdata 504 register int ttl, probe, i; local 1284 send_probe(int seq, int ttl) argument [all...] |
/haiku/src/bin/network/ping/ |
H A D | ping.c | 233 int ssend_errno, srecv_errno, tos, ttl, pcp; local 435 ttl = (int)ltmp; 714 sz = sizeof(ttl); 715 if (sysctl(mib, 4, &ttl, &sz, NULL, 0) == -1) 716 err(1, "sysctl(net.inet.ip.ttl)"); 725 ip.ip_ttl = ttl; 768 if (setsockopt(ssend, IPPROTO_IP, IP_TTL, &ttl, 769 sizeof(ttl)) < 0) { 1245 (void)printf(" ttl=%d", ip.ip_ttl);
|
H A D | ping6.c | 149 /* FQDN case, 64 bits of nonce + 32 bits ttl */ 1766 int32_t ttl; local 1789 ttl = (int32_t)ntohl(t); 1794 (int)ttl); 1796 if (ttl < 0) { 1798 ttl); 1800 (void)printf("TTL=%d", ttl); 2170 u_int32_t ttl = 0; local 2176 ttl = (u_int32_t)ntohl(t); 2186 if (ttl [all...] |
/haiku/src/system/libnetwork/netresolv/resolv/ |
H A D | res_debug.c | 201 size_t rdatalen, ttl; local 205 ttl = ns_rr_ttl(rr); 209 (ttl>>16)&0xff, ns_rr_class(rr), ttl&0xffff);
|