Searched refs:ip_ttl (Results 1 - 22 of 22) sorted by relevance

/darwin-on-arm/xnu/bsd/netinet/
H A Dip.h102 u_char ip_ttl; /* time to live */ member in struct:ip
H A Dip_mroute.c1106 if (ip->ip_ttl < 255)
1107 ip->ip_ttl++; /* compensate for -1 in *_send routines */
1130 if (ip->ip_ttl <= 1 ||
1438 (ip->ip_ttl > rt->mfc_ttls[vifi])) {
1554 --ip->ip_ttl;
1832 imo->imo_multicast_ttl = mtod(m, struct ip *)->ip_ttl - 1;
H A Din_gif.c175 iphdr.ip_ttl = ip_gif_ttl;
H A Dip_input.c826 if (ip->ip_ttl != MAXTTL) {
2379 ip->ip_ttl);
2390 if (ip->ip_ttl <= IPTTLDEC) {
2449 ip->ip_ttl -= IPTTLDEC;
2771 mp = sbcreatecontrol_mbuf((caddr_t)&ip->ip_ttl, sizeof(ip->ip_ttl),
H A Dip_output.c599 ip->ip_ttl = 1;
798 ip->ip_ttl = ttl;
809 ip->ip_ttl = ttl;
949 if (ip->ip_ttl == 0 || ifp->if_flags & IFF_LOOPBACK) {
1048 if (ip->ip_ttl != MAXTTL) {
1050 ip->ip_ttl = MAXTTL;
H A Dip_compat.h571 __u8 ip_ttl;
H A Dudp_usrreq.c768 ip6->ip6_hlim = ip->ip_ttl;
1525 ((struct ip *)ui)->ip_ttl = inp->inp_ip_ttl; /* XXX */
H A Din_dhcp.c187 pkt->ip.ip_ttl = MAXTTL;
H A Dip_icmp.c720 ip->ip_ttl = ip_defttl;
H A Draw_ip.c398 ip->ip_ttl = inp->inp_ip_ttl;
H A Dtcp_subr.c513 ip->ip_ttl = 0;
690 ip->ip_ttl = ip_defttl;
H A Dtcp_output.c1732 ip->ip_ttl = tp->t_inpcb->inp_ip_ttl; /* XXX */
H A Dip_fw2.c1803 ip->ip_ttl = ip_defttl;
2430 x = ip->ip_ttl;
H A Digmp.c1628 if (igmp->igmp_type != IGMP_DVMRP && ip->ip_ttl != 1) {
/darwin-on-arm/xnu/osfmk/kdp/
H A Dkdp_udp.h111 u_char ip_ttl; /* time to live */ member in struct:ip
H A Dkdp_udp.c512 ip->ip_ttl = udp_ttl;
582 ip->ip_ttl = udp_ttl;
1460 ip->ip_ttl = udp_ttl;
/darwin-on-arm/xnu/bsd/net/
H A Dpf_norm.c1730 if (r->min_ttl && h->ip_ttl < r->min_ttl) {
1731 u_int16_t ip_ttl = h->ip_ttl; local
1733 h->ip_ttl = r->min_ttl;
1734 h->ip_sum = pf_cksum_fixup(h->ip_sum, ip_ttl, h->ip_ttl, 0);
1751 if (r->min_ttl && h->ip_ttl < r->min_ttl) {
1752 u_int16_t ip_ttl = h->ip_ttl; local
1754 h->ip_ttl
[all...]
H A Dif_stf.c598 ip->ip_ttl = ip_stf_ttl;
H A Dpf_osfp.c138 fp.fp_ttl = ip->ip_ttl;
H A Dpf.c2500 h->ip_ttl = ttl ? ttl : ip_defttl;
/darwin-on-arm/xnu/bsd/netinet6/
H A Dipsec.c2320 ip->ip_ttl = IPDEFTTL;
2413 ip->ip_ttl = IPDEFTTL;
2569 ip->ip_ttl = hlim;
4441 ip->ip_ttl = ip_defttl;
H A Dah_core.c1297 iphdr.ip_ttl = 0;

Completed in 251 milliseconds