| /f-stack/dpdk/examples/ipsec-secgw/ |
| H A D | ipip.h | 29 inip4->ip_ttl -= 1; in ipip_outbound() 76 outip4->ip_ttl = IPDEFTTL; in ipip_outbound() 155 inip4->ip_ttl -= 1; in ipip_inbound()
|
| /f-stack/freebsd/netinet/ |
| H A D | ip.h | 68 u_char ip_ttl; /* time to live */ member
|
| H A D | ip_fastfwd.c | 324 if (ip->ip_ttl <= IPTTLDEC) { in ip_tryforward() 334 ip->ip_ttl -= IPTTLDEC; in ip_tryforward()
|
| H A D | ip_output.c | 437 ip->ip_ttl = 1; in ip_output() 451 ip->ip_ttl = 1; in ip_output() 568 ip->ip_ttl = imo->imo_multicast_ttl; in ip_output() 575 ip->ip_ttl = IP_DEFAULT_MULTICAST_TTL; in ip_output() 642 if (ip->ip_ttl == 0 || ifp->if_flags & IFF_LOOPBACK) { in ip_output()
|
| H A D | ip_input.c | 970 ip->ip_ttl <= IPTTLDEC) { in ip_forward() 1021 ip->ip_ttl -= IPTTLDEC; in ip_forward() 1238 *mp = sbcreatecontrol((caddr_t)&ip->ip_ttl, in ip_savecontrol()
|
| H A D | ip_mroute.c | 1249 if (ip->ip_ttl < MAXTTL) in X_ip_mforward() 1250 ip->ip_ttl++; /* compensate for -1 in *_send routines */ in X_ip_mforward() 1261 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() 1685 imo.imo_multicast_ttl = mtod(m, struct ip *)->ip_ttl - 1; in send_packet() 2390 --ip->ip_ttl; in pim_register_prepare()
|
| H A D | tcp_syncache.c | 1455 int win, ip_ttl, ip_tos; in syncache_add() local 1490 ip_ttl = in6_selecthlim(inp, NULL); in syncache_add() 1504 ip_ttl = inp->inp_ip_ttl; in syncache_add() 1713 sc->sc_ip_ttl = ip_ttl; in syncache_add() 1935 ip->ip_ttl = sc->sc_ip_ttl; in syncache_respond()
|
| H A D | in_gif.c | 302 ip->ip_ttl = V_ip_gif_ttl; in in_gif_output()
|
| H A D | raw_ip.c | 253 if (last->inp_ip_minttl && last->inp_ip_minttl > ip->ip_ttl) in rip_append() 522 ip->ip_ttl = inp->inp_ip_ttl; in rip_output()
|
| H A D | ip_gre.c | 553 gi->gi_ip.ip_ttl = V_ip_gre_ttl; in in_gre_output()
|
| H A D | ip_carp.c | 470 if (ip->ip_ttl != CARP_DFLTTL) { in carp_input() 473 ip->ip_ttl, in carp_input() 959 ip->ip_ttl = CARP_DFLTTL; in carp_send_ad_locked()
|
| H A D | udp_usrreq.c | 723 if (inp->inp_ip_minttl && inp->inp_ip_minttl > ip->ip_ttl) { in udp_input() 1474 ((struct ip *)ui)->ip_ttl = inp->inp_ip_ttl; /* XXX */ in udp_output()
|
| H A D | ip_icmp.c | 864 ip->ip_ttl = V_ip_defttl; in icmp_reflect()
|
| H A D | tcp_input.c | 739 ipttl = ip->ip_ttl; in tcp_input() 748 ip->ip_ttl = ipttl; in tcp_input() 970 if (inp->inp_ip_minttl > ip->ip_ttl) in tcp_input()
|
| /f-stack/tools/compat/include/netinet/ |
| H A D | ip.h | 68 u_char ip_ttl; /* time to live */ member
|
| /f-stack/freebsd/netpfil/pf/ |
| H A D | pf_norm.c | 1458 src->scrub->pfss_ttl = h->ip_ttl; in pf_normalize_tcp_init() 1558 if (h->ip_ttl > src->scrub->pfss_ttl) in pf_normalize_tcp_stateful() 1559 src->scrub->pfss_ttl = h->ip_ttl; in pf_normalize_tcp_stateful() 1560 h->ip_ttl = src->scrub->pfss_ttl; in pf_normalize_tcp_stateful() 1998 if (min_ttl && h->ip_ttl < min_ttl) { in pf_scrub_ip() 1999 u_int16_t ip_ttl = h->ip_ttl; in pf_scrub_ip() local 2001 h->ip_ttl = min_ttl; in pf_scrub_ip() 2002 h->ip_sum = pf_cksum_fixup(h->ip_sum, ip_ttl, h->ip_ttl, 0); in pf_scrub_ip()
|
| H A D | pf_osfp.c | 119 fp.fp_ttl = ip->ip_ttl; in pf_osfp_fingerprint_hdr()
|
| H A D | if_pfsync.c | 674 if (ip->ip_ttl != PFSYNC_DFLTTL) { in pfsync_input() 1468 ip->ip_ttl = PFSYNC_DFLTTL; in pfsyncioctl()
|
| /f-stack/freebsd/netpfil/ipfw/nat64/ |
| H A D | nat64_translate.c | 519 ip->ip_ttl = ip6->ip6_hlim; in nat64_init_ip4hdr() 521 ip->ip_ttl -= IPV6_HLIMDEC; in nat64_init_ip4hdr() 851 oip->ip_ttl = V_ip_defttl; in nat64_icmp_reflect() 1115 eip6->ip6_hlim = ip.ip_ttl; in nat64_icmp_translate() 1244 if (*V_nat64ipstealth == 0 && ip->ip_ttl <= IPTTLDEC) { in nat64_do_handle_ip4() 1291 ip6.ip6_hlim = ip->ip_ttl; in nat64_do_handle_ip4()
|
| /f-stack/freebsd/net/ |
| H A D | debugnet_inet.c | 488 ip->ip_ttl = 255; in debugnet_ip_output()
|
| H A D | if_stf.c | 500 ip->ip_ttl = ip_stf_ttl; in stf_output()
|
| /f-stack/freebsd/netpfil/ipfw/ |
| H A D | ip_fw2.c | 575 ip->ip_ttl = V_ip_defttl; in ipfw_send_abort() 750 h->ip_ttl = V_ip_defttl; in ipfw_send_pkt() 2275 x = ip->ip_ttl; in ipfw_chk()
|
| /f-stack/freebsd/netipsec/ |
| H A D | ipsec_output.c | 950 ip->ip_ttl = V_ip_defttl; in ipsec_encap()
|
| H A D | xform_ah.c | 295 ip->ip_ttl = 0; in ah_massage_headers()
|
| /f-stack/dpdk/app/test-pmd/ |
| H A D | testpmd.h | 564 uint8_t ip_ttl; member
|