/src/sys/net/npf/ |
npf_ext_normalize.c | 108 uint8_t ttl = ip->ip_ttl; 133 ip->ip_ttl = minttl;
|
npf_sendpkt.c | 188 ip->ip_ttl = DEFAULT_IP_TTL;
|
npf_alg_icmp.c | 84 if (ip->ip_ttl > TR_MAX_TTL || di != PFIL_OUT) {
|
/src/sys/arch/mvme68k/stand/sboot/ |
etherfun.h | 81 u_char ip_ttl; /* time to live */ member in struct:ip
|
etherfun.c | 120 iph->ip_ttl = 3; /* time to live is 3 seconds/hops */
|
/src/sys/dist/pf/net/ |
pf_norm.c | 1039 if (r->min_ttl && h->ip_ttl < r->min_ttl) { 1040 u_int16_t ip_ttl = h->ip_ttl; local in function:pf_normalize_ip 1042 h->ip_ttl = r->min_ttl; 1043 h->ip_sum = pf_cksum_fixup(h->ip_sum, ip_ttl, h->ip_ttl, 0); 1059 if (r->min_ttl && h->ip_ttl < r->min_ttl) { 1060 u_int16_t ip_ttl = h->ip_ttl; local in function:pf_normalize_ip 1062 h->ip_ttl = r->min_ttl [all...] |
/src/sys/lib/libsa/ |
ip.c | 98 ip->ip_ttl = IPDEFTTL;
|
/src/sys/netinet/ |
ip.h | 69 u_int8_t ip_ttl; /* time to live */ member in struct:ip
|
raw_ip.c | 340 ip->ip_ttl = in4p_ip(inp).ip_ttl ? in4p_ip(inp).ip_ttl : MAXTTL;
|
udp_usrreq.c | 627 if (mtod(m, struct ip *)->ip_ttl < in4p_ip_minttl(inp)) 842 ((struct ip *)ui)->ip_ttl = in4p_ip(inp).ip_ttl; /* XXX */ 883 in4p_ip(inp).ip_ttl = ip_defttl;
|
ip_output.c | 344 ip->ip_ttl = 1; 420 ip->ip_ttl = imo->imo_multicast_ttl; 422 ip->ip_ttl = IP_DEFAULT_MULTICAST_TTL; 518 if (ip->ip_ttl == 0 || (ifp->if_flags & IFF_LOOPBACK) != 0) { 1122 case IP_TTL: 1140 case IP_TTL: 1141 ip->ip_ttl = optval; 1305 case IP_TTL: 1320 case IP_TTL: 1321 optval = ip->ip_ttl; [all...] |
ip_flow.c | 286 if (m->m_pkthdr.len > rt->rt_ifp->if_mtu || ip->ip_ttl <= IPTTLDEC) 305 ip->ip_ttl -= IPTTLDEC;
|
in_gif.c | 159 iphdr.ip_ttl = ip_gif_ttl;
|
in_l2tp.c | 135 iphdr.ip_ttl = ip_l2tp_ttl;
|
ip_mroute.c | 264 .ip_ttl = ENCAP_TTL, 312 .ip_ttl = ENCAP_TTL, 1341 if (ip->ip_ttl <= 1 || IN_LOCAL_GROUP(ip->ip_dst.s_addr)) 1693 (ip->ip_ttl > rt->mfc_ttls[vifi])) { 1796 --ip->ip_ttl; 2050 imo.imo_multicast_ttl = mtod(m, struct ip *)->ip_ttl - 1; 2789 --ip->ip_ttl;
|
tcp_output.c | 1543 ip->ip_ttl = in4p_ip(tp->t_inpcb).ip_ttl; 1548 ip->ip_ttl = in6pcb_selecthlim(tp->t_inpcb, NULL); /*XXX*/
|
ip_input.c | 1369 if (ip->ip_ttl <= IPTTLDEC) { 1408 ip->ip_ttl -= IPTTLDEC; 1538 *mp = sbcreatecontrol(&ip->ip_ttl,
|
/src/usr.bin/rump_dhcpclient/ |
net.c | 438 ip->ip_ttl = IPDEFTTL; 495 packet.ip.ip_ttl = 0;
|
/src/regress/sys/net/frag/ |
ip4_frag_1.c | 110 ip->ip_ttl = 64;
|
/src/usr.sbin/mrouted/ |
igmp.c | 62 ip->ip_ttl = MAXTTL; /* applies to unicasts only */
|
/src/sys/net/ |
if_mpls.c | 573 iph->ip_ttl = ms.shim.ttl; 617 ms->shim.ttl = iphdr.ip_ttl;
|
/src/tests/net/icmp/ |
t_ping.c | 402 ip->ip_ttl = IPDEFTTL;
|
/src/usr.sbin/traceroute/ |
traceroute.c | 975 Printf(" (ttl = %d)", ip->ip_ttl); 978 if (ip->ip_ttl <= 1) 993 if (ip->ip_ttl <= 1) 1253 outip->ip_ttl = ttl; 1329 #if !defined(IP_HDRINCL) && defined(IP_TTL) 1330 if (prog_setsockopt(sndsock, IPPROTO_IP, IP_TTL,
|
/src/usr.sbin/npf/npftest/libnpftest/ |
npf_mbuf_subr.c | 181 iphdr->ip_ttl = 64;
|
/src/sbin/ping/ |
ping.c | 573 opack_ip->ip_ttl = ttl ? ttl : MAXTTL; 1077 dupflag, ip->ip_ttl, triptime);}} 1781 ip->ip_ttl, ip->ip_p, ip->ip_sum);
|