/dragonfly/contrib/tcpdump/ |
H A D | print-ip.c | 328 uint8_t ip_tos, ip_ttl, ip_proto; in ip_print() local 410 ip_ttl = GET_U_1(ip->ip_ttl); in ip_print() 411 if (ip_ttl >= 1) in ip_print() 412 ND_PRINT(", ttl %u", ip_ttl); in ip_print() 485 off & IP_MF, GET_U_1(ip->ip_ttl), nh, bp); in ip_print()
|
H A D | ip.h | 63 nd_uint8_t ip_ttl; /* time to live */ member
|
/dragonfly/sys/net/pf/ |
H A D | pf_norm.c | 1035 if (r->min_ttl && h->ip_ttl < r->min_ttl) { in pf_normalize_ip() 1036 u_int16_t ip_ttl = h->ip_ttl; in pf_normalize_ip() local 1038 h->ip_ttl = r->min_ttl; in pf_normalize_ip() 1039 h->ip_sum = pf_cksum_fixup(h->ip_sum, ip_ttl, h->ip_ttl, 0); in pf_normalize_ip() 1067 u_int16_t ip_ttl = h->ip_ttl; in pf_normalize_ip() local 1069 h->ip_ttl = r->min_ttl; in pf_normalize_ip() 1070 h->ip_sum = pf_cksum_fixup(h->ip_sum, ip_ttl, h->ip_ttl, 0); in pf_normalize_ip() 1426 src->scrub->pfss_ttl = h->ip_ttl; in pf_normalize_tcp_init() 1529 if (h->ip_ttl > src->scrub->pfss_ttl) in pf_normalize_tcp_stateful() 1530 src->scrub->pfss_ttl = h->ip_ttl; in pf_normalize_tcp_stateful() [all …]
|
H A D | pf_osfp.c | 140 fp.fp_ttl = ip->ip_ttl; in pf_osfp_fingerprint_hdr()
|
H A D | if_pfsync.c | 499 if (ip->ip_ttl != PFSYNC_DFLTTL) { in pfsync_input() 1727 ip->ip_ttl = PFSYNC_DFLTTL; in pfsync_sendout_mbuf()
|
/dragonfly/usr.sbin/traceroute/ |
H A D | traceroute.c | 640 printf(" (%u)", ip->ip_ttl); in main() 644 if (ip->ip_ttl <= 1) in main() 658 if (ip->ip_ttl <= 1) in main() 906 ip->ip_ttl = ttl; in send_probe()
|
/dragonfly/tools/tools/net80211/wesside/dics/ |
H A D | dics.c | 179 *ttl = iph->ip_ttl; 244 iph->ip_ttl = TTLSENT; in send_stuff()
|
/dragonfly/sys/netinet/ |
H A D | ip.h | 76 u_char ip_ttl; /* time to live */ member
|
H A D | ip_flow.c | 237 if (m->m_pkthdr.len > ifp->if_mtu || ip->ip_ttl <= IPTTLDEC) in ipflow_fastforward() 256 ip->ip_ttl -= IPTTLDEC; in ipflow_fastforward()
|
H A D | raw_ip.c | 189 if (last && ip->ip_ttl < last->inp_ip_minttl) { in rip_input() 251 ip->ip_ttl = inp->inp_ip_ttl; in rip_output()
|
H A D | ip_output.c | 307 ip->ip_ttl = 1; in ip_output() 357 ip->ip_ttl = imo->imo_multicast_ttl; in ip_output() 365 ip->ip_ttl = IP_DEFAULT_MULTICAST_TTL; in ip_output() 450 if (ip->ip_ttl == 0 || ifp->if_flags & IFF_LOOPBACK) { in ip_output()
|
H A D | in_gif.c | 166 iphdr.ip_ttl = ip_gif_ttl; in in_gif_output()
|
H A D | ip_input.c | 2006 ip->ip_src.s_addr, pkt_dst.s_addr, ip->ip_ttl); in ip_forward() 2029 if (!ipstealth && ip->ip_ttl <= IPTTLDEC) { in ip_forward() 2071 ip->ip_ttl -= IPTTLDEC; in ip_forward() 2212 *mp = sbcreatecontrol(&ip->ip_ttl, sizeof(u_char), in ip_savecontrol()
|
H A D | udp_usrreq.c | 620 if (ip->ip_ttl < inp->inp_ip_minttl) in udp_input() 1111 ((struct ip *)ui)->ip_ttl = inp->inp_ip_ttl; /* XXX */ in udp_send()
|
H A D | ip_carp.c | 982 if (ip->ip_ttl != CARP_DFLTTL) { in carp_proto_input() 985 ip->ip_ttl, CARP_DFLTTL, ifp->if_xname); in carp_proto_input() 1381 ip->ip_ttl = CARP_DFLTTL; in carp_send_ad()
|
/dragonfly/sys/netproto/mpls/ |
H A D | mpls_output.c | 69 ttl = ip->ip_ttl; in mpls_output()
|
/dragonfly/contrib/wpa_supplicant/src/common/ |
H A D | dhcp.h | 22 #define ttl ip_ttl
|
/dragonfly/sbin/dhclient/ |
H A D | packet.c | 122 ip.ip_ttl = 16; in assemble_udp_ip_header()
|
/dragonfly/stand/lib/ |
H A D | udp.c | 89 ip->ip_ttl = IP_TTL; /* char */ in sendudp()
|
/dragonfly/sys/net/ip_mroute/ |
H A D | ip_mroute.c | 1187 if (ip->ip_ttl < 255) in X_ip_mforward() 1188 ip->ip_ttl++; /* compensate for -1 in *_send routines */ in X_ip_mforward() 1211 if (ip->ip_ttl <= 1 || ntohl(ip->ip_dst.s_addr) <= INADDR_MAX_LOCAL_GROUP) in X_ip_mforward() 1569 if ((rt->mfc_ttls[vifi] > 0) && (ip->ip_ttl > rt->mfc_ttls[vifi])) { in ip_mdq() 1690 --ip->ip_ttl; in encap_send() 1938 imo.imo_multicast_ttl = mtod(m, struct ip *)->ip_ttl - 1; in tbf_send_packet() 2868 --ip->ip_ttl;
|
/dragonfly/sbin/ping/ |
H A D | ping.c | 577 ip->ip_ttl = ttl; in main() 1021 printf(" ttl=%d", ip->ip_ttl); in pr_pack() 1507 printf(" %02x %02x %04x", ip->ip_ttl, ip->ip_p, ntohs(ip->ip_sum)); in pr_iph()
|
/dragonfly/sys/net/stf/ |
H A D | if_stf.c | 407 ip->ip_ttl = ip_stf_ttl; in stf_output_serialized()
|
/dragonfly/tools/tools/net80211/w00t/redir/ |
H A D | redir.c | 300 ih->ip_ttl = 69; in send_header()
|
/dragonfly/tools/tools/netrate/pktgen/ |
H A D | pktgen.c | 533 ip->ip_ttl = 64; /* XXX */ in pktgen_start_ifsq_handler()
|
/dragonfly/sys/net/gre/ |
H A D | if_gre.c | 410 ((struct ip*)gh)->ip_ttl = GRE_TTL; in gre_output_serialized()
|