Home
last modified time | relevance | path

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

12

/f-stack/dpdk/examples/ipsec-secgw/
H A Dipip.h29 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 Dip.h68 u_char ip_ttl; /* time to live */ member
H A Dip_fastfwd.c324 if (ip->ip_ttl <= IPTTLDEC) { in ip_tryforward()
334 ip->ip_ttl -= IPTTLDEC; in ip_tryforward()
H A Dip_output.c437 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 Dip_input.c970 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 Dip_mroute.c1249 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 Dtcp_syncache.c1455 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 Din_gif.c302 ip->ip_ttl = V_ip_gif_ttl; in in_gif_output()
H A Draw_ip.c253 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 Dip_gre.c553 gi->gi_ip.ip_ttl = V_ip_gre_ttl; in in_gre_output()
H A Dip_carp.c470 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 Dudp_usrreq.c723 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 Dip_icmp.c864 ip->ip_ttl = V_ip_defttl; in icmp_reflect()
H A Dtcp_input.c739 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 Dip.h68 u_char ip_ttl; /* time to live */ member
/f-stack/freebsd/netpfil/pf/
H A Dpf_norm.c1458 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 Dpf_osfp.c119 fp.fp_ttl = ip->ip_ttl; in pf_osfp_fingerprint_hdr()
H A Dif_pfsync.c674 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 Dnat64_translate.c519 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 Ddebugnet_inet.c488 ip->ip_ttl = 255; in debugnet_ip_output()
H A Dif_stf.c500 ip->ip_ttl = ip_stf_ttl; in stf_output()
/f-stack/freebsd/netpfil/ipfw/
H A Dip_fw2.c575 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 Dipsec_output.c950 ip->ip_ttl = V_ip_defttl; in ipsec_encap()
H A Dxform_ah.c295 ip->ip_ttl = 0; in ah_massage_headers()
/f-stack/dpdk/app/test-pmd/
H A Dtestpmd.h564 uint8_t ip_ttl; member

12