Home
last modified time | relevance | path

Searched refs:ip_ttl (Results 1 – 25 of 53) sorted by relevance

123

/freebsd-9-stable/contrib/tcpdump/
Dprint-ip.c472 carp_print(ipds->cp, ipds->len, ipds->ip->ip_ttl); in ip_print_demux()
478 vrrp_print(ipds->cp, ipds->len, ipds->ip->ip_ttl); in ip_print_demux()
605 if (ipds->ip->ip_ttl >= 1) in ip_print()
606 (void)printf(", ttl %u", ipds->ip->ip_ttl); in ip_print()
Dip.h61 u_int8_t ip_ttl; /* time to live */ member
/freebsd-9-stable/sys/boot/arm/at91/libat91/
Demac.h79 unsigned char ip_ttl; member
Demac.c132 ipHdr->ip_ttl = 64; in Send_TFTP_Packet()
/freebsd-9-stable/contrib/ipfilter/ipsend/
Diptests.c144 ip->ip_ttl = 60;
453 ip->ip_ttl = 255;
459 ip->ip_ttl = 128;
465 ip->ip_ttl = 0;
593 ip->ip_ttl = 60;
793 ip->ip_ttl = 60;
1306 ip->ip_ttl = 60;
Dip_var.h61 u_char ip_ttl; member
Dip.c139 if (!ip->ip_ttl)
140 ip->ip_ttl = 60;
Dresend.c57 printf("ttl %d p %d src %s", ip->ip_ttl, ip->ip_p,
/freebsd-9-stable/sys/netinet/
Dip_output.c239 ip->ip_ttl = 1; in ip_output()
249 ip->ip_ttl = 1; in ip_output()
337 ip->ip_ttl = imo->imo_multicast_ttl; in ip_output()
344 ip->ip_ttl = IP_DEFAULT_MULTICAST_TTL; in ip_output()
414 if (ip->ip_ttl == 0 || ifp->if_flags & IFF_LOOPBACK) { in ip_output()
Dip.h66 u_char ip_ttl; /* time to live */ member
Dip_fastfwd.c398 if (ip->ip_ttl <= IPTTLDEC) { in ip_fastforward()
408 ip->ip_ttl -= IPTTLDEC; in ip_fastforward()
Dip_mroute.c1245 if (ip->ip_ttl < MAXTTL) in X_ip_mforward()
1246 ip->ip_ttl++; /* compensate for -1 in *_send routines */ in X_ip_mforward()
1257 if (ip->ip_ttl <= 1 || IN_LOCAL_GROUP(ntohl(ip->ip_dst.s_addr))) { in X_ip_mforward()
1589 if ((rt->mfc_ttls[vifi] > 0) && (ip->ip_ttl > rt->mfc_ttls[vifi])) { in ip_mdq()
1686 imo.imo_multicast_ttl = mtod(m, struct ip *)->ip_ttl - 1; in send_packet()
2391 --ip->ip_ttl; in pim_register_prepare()
Dtcp_syncache.c1058 int win, sb_hiwat, ip_ttl, ip_tos; in _syncache_add() local
1087 ip_ttl = inp->inp_ip_ttl; in _syncache_add()
1216 sc->sc_ip_ttl = ip_ttl; in _syncache_add()
1413 ip->ip_ttl = sc->sc_ip_ttl; in syncache_respond()
Dip_input.c1383 if (ip->ip_ttl <= IPTTLDEC) { in ip_forward()
1441 ip->ip_ttl -= IPTTLDEC; in ip_forward()
1629 *mp = sbcreatecontrol((caddr_t) &ip->ip_ttl, in ip_savecontrol()
Draw_ip.c246 if (last->inp_ip_minttl && last->inp_ip_minttl > ip->ip_ttl) in rip_append()
474 ip->ip_ttl = inp->inp_ip_ttl; in rip_output()
/freebsd-9-stable/contrib/traceroute/
Drip_output.c47 ip->ip_ttl = MAXTTL;
Dtraceroute.c1022 if (ip->ip_ttl <= 1) in main()
1037 if (ip->ip_ttl <= 1) in main()
1188 outip->ip_ttl = ttl; in send_probe()
/freebsd-9-stable/sys/contrib/pf/net/
Dpf_norm.c1719 src->scrub->pfss_ttl = h->ip_ttl;
1831 if (h->ip_ttl > src->scrub->pfss_ttl)
1832 src->scrub->pfss_ttl = h->ip_ttl;
1833 h->ip_ttl = src->scrub->pfss_ttl;
2322 if (min_ttl && h->ip_ttl < min_ttl) {
2323 u_int16_t ip_ttl = h->ip_ttl; local
2325 h->ip_ttl = min_ttl;
2326 h->ip_sum = pf_cksum_fixup(h->ip_sum, ip_ttl, h->ip_ttl, 0);
/freebsd-9-stable/tools/tools/net80211/wesside/dics/
Ddics.c179 *ttl = iph->ip_ttl;
244 iph->ip_ttl = TTLSENT; in send_stuff()
/freebsd-9-stable/contrib/ipfilter/ipsd/Celler/
Dip_compat.h172 __u8 ip_ttl; member
/freebsd-9-stable/contrib/ipfilter/ipsend/.OLD/
Dip_compat.h174 __u8 ip_ttl; member
/freebsd-9-stable/lib/libstand/
Dudp.c94 ip->ip_ttl = IPDEFTTL; /* char */
/freebsd-9-stable/sbin/dhclient/
Dpacket.c131 ip.ip_ttl = 128; in assemble_udp_ip_header()
/freebsd-9-stable/sbin/ping/
Dping.c652 ip->ip_ttl = ttl; in main()
1096 (void)printf(" ttl=%d", ip->ip_ttl); in pr_pack()
1584 (void)printf(" %02x %02x %04x", ip->ip_ttl, ip->ip_p, in pr_iph()
/freebsd-9-stable/contrib/openbsm/test/bsm/
Dgenerate.c681 ip_token_ip.ip_ttl = ip_token_ip_ttl; in generate_ip_token()
704 ip_token_ip.ip_ttl = ip_token_ip_ttl; in generate_ip_record()

123