Home
last modified time | relevance | path

Searched refs:ttl (Results 1 – 124 of 124) sorted by relevance

/linux-4.4.14/net/netfilter/
Dxt_hl.c31 const u8 ttl = ip_hdr(skb)->ttl; in ttl_mt() local
35 return ttl == info->ttl; in ttl_mt()
37 return ttl != info->ttl; in ttl_mt()
39 return ttl < info->ttl; in ttl_mt()
41 return ttl > info->ttl; in ttl_mt()
Dxt_HL.c42 new_ttl = info->ttl; in ttl_tg()
45 new_ttl = iph->ttl + info->ttl; in ttl_tg()
50 new_ttl = iph->ttl - info->ttl; in ttl_tg()
55 new_ttl = iph->ttl; in ttl_tg()
59 if (new_ttl != iph->ttl) { in ttl_tg()
60 csum_replace2(&iph->check, htons(iph->ttl << 8), in ttl_tg()
62 iph->ttl = new_ttl; in ttl_tg()
112 if (info->mode != IPT_TTL_SET && info->ttl == 0) in ttl_tg_check()
Dxt_recent.c74 u_int8_t ttl; member
130 u_int8_t ttl) in recent_entry_lookup() argument
143 (ttl == e->ttl || ttl == 0 || e->ttl == 0)) in recent_entry_lookup()
177 u_int16_t family, u_int8_t ttl) in recent_entry_init() argument
193 e->ttl = ttl; in recent_entry_init()
246 u_int8_t ttl; in recent_mt() local
257 ttl = iph->ttl; in recent_mt()
266 ttl = iph->hop_limit; in recent_mt()
271 ttl++; in recent_mt()
279 (info->check_set & XT_RECENT_TTL) ? ttl : 0); in recent_mt()
[all …]
Dxt_osf.c163 if (info->ttl == XT_OSF_TTL_TRUE) in xt_osf_ttl()
164 return ip->ttl == f_ttl; in xt_osf_ttl()
165 if (info->ttl == XT_OSF_TTL_NOCHECK) in xt_osf_ttl()
167 else if (ip->ttl <= f_ttl) in xt_osf_ttl()
175 ret = (ip->ttl == f_ttl); in xt_osf_ttl()
185 return ip->ttl == f_ttl; in xt_osf_ttl()
238 if (totlen != f->ss || !xt_osf_ttl(skb, info, f->ttl)) in xt_osf_match_packet()
336 f->ttl - ip->ttl); in xt_osf_match_packet()
/linux-4.4.14/net/batman-adv/
Dpacket.h218 u8 ttl; member
251 u8 ttl; member
274 u8 ttl; member
301 u8 ttl; member
336 u8 ttl; member
375 u8 ttl; member
403 u8 ttl; member
433 u8 ttl; member
464 u8 ttl; member
Dbat_iv_ogm.c331 batadv_ogm_packet->ttl = 2; in batadv_iv_ogm_iface_enable()
365 batadv_ogm_packet->ttl = BATADV_TTL; in batadv_iv_ogm_primary_iface_set()
453 batadv_ogm_packet->tq, batadv_ogm_packet->ttl, in batadv_iv_ogm_send_to_if()
580 batadv_ogm_packet->ttl != 1 && in batadv_iv_ogm_can_aggregate()
595 new_bat_ogm_packet->ttl == 1 && in batadv_iv_ogm_can_aggregate()
814 if (batadv_ogm_packet->ttl <= 1) { in batadv_iv_ogm_forward()
834 batadv_ogm_packet->ttl--; in batadv_iv_ogm_forward()
843 batadv_ogm_packet->tq, batadv_ogm_packet->ttl); in batadv_iv_ogm_forward()
1061 orig_ifinfo->last_ttl = batadv_ogm_packet->ttl; in batadv_iv_ogm_orig_update()
1062 neigh_ifinfo->last_ttl = batadv_ogm_packet->ttl; in batadv_iv_ogm_orig_update()
[all …]
Drouting.c253 icmph->ttl = BATADV_TTL; in batadv_recv_my_icmp_packet()
307 icmp_packet->ttl = BATADV_TTL; in batadv_recv_icmp_ttl_exceeded()
377 if (icmph->ttl < 2) in batadv_recv_icmp_packet()
392 icmph->ttl--; in batadv_recv_icmp_packet()
592 if (unicast_packet->ttl < 2) { in batadv_route_unicast_packet()
610 unicast_packet->ttl--; in batadv_route_unicast_packet()
1057 if (bcast_packet->ttl < 2) in batadv_recv_bcast_packet()
Dnetwork-coding.c760 if (last_ttl != ogm_packet->ttl + 1) in batadv_can_nc_with_orig()
1140 coded_packet->ttl = packet1->ttl; in batadv_nc_code_packets()
1153 coded_packet->second_ttl = packet2->ttl; in batadv_nc_code_packets()
1641 u8 *orig_dest, ttl, ttvn; in batadv_nc_skb_decode_packet() local
1677 ttl = coded_packet_tmp.second_ttl; in batadv_nc_skb_decode_packet()
1681 ttl = coded_packet_tmp.ttl; in batadv_nc_skb_decode_packet()
1708 unicast_packet->ttl = ttl; in batadv_nc_skb_decode_packet()
Dfragmentation.c378 packet->ttl--; in batadv_frag_skb_fwd()
470 frag_header.ttl = BATADV_TTL; in batadv_frag_send_packet()
Dsend.c185 unicast_packet->ttl = BATADV_TTL; in batadv_send_skb_push_fill_unicast()
473 bcast_packet->ttl--; in batadv_add_bcast_packet_to_list()
Dsoft-interface.c320 bcast_packet->ttl = BATADV_TTL; in batadv_interface_tx()
Dmain.c1168 unicast_tvlv_packet->ttl = BATADV_TTL; in batadv_tvlv_unicast_send()
/linux-4.4.14/arch/um/drivers/
Dumcast_kern.c23 int ttl; member
39 dpri->ttl = init->ttl; in umcast_init()
47 "TTL:%u\n", dpri->addr, dpri->lport, dpri->ttl); in umcast_init()
79 .ttl = 1 }); in mcast_setup()
99 init->ttl = simple_strtoul(ttl_str, &last, 10); in mcast_setup()
111 init->lport, init->ttl); in mcast_setup()
Dumcast.h17 int ttl; member
Dumcast_user.c96 if (setsockopt(fd, SOL_IP, IP_MULTICAST_TTL, &pri->ttl, in umcast_open()
97 sizeof(pri->ttl)) < 0) { in umcast_open()
/linux-4.4.14/net/mac80211/
Dmesh_hwmp.c105 u8 hop_count, u8 ttl, in mesh_path_sel_frame_tx() argument
161 *pos++ = ttl; in mesh_path_sel_frame_tx()
237 u8 ttl, const u8 *target, u32 target_sn, in mesh_path_error_tx() argument
276 *pos++ = ttl; in mesh_path_error_tx()
532 u8 target_flags, ttl, flags; in hwmp_preq_frame_process() local
600 ttl = ifmsh->mshcfg.element_ttl; in hwmp_preq_frame_process()
601 if (ttl != 0) { in hwmp_preq_frame_process()
605 target_sn, mgmt->sa, 0, ttl, in hwmp_preq_frame_process()
617 ttl = PREQ_IE_TTL(preq_elem); in hwmp_preq_frame_process()
619 if (ttl <= 1) { in hwmp_preq_frame_process()
[all …]
Dspectmgmt.c75 csa_ie->ttl = elems->mesh_chansw_params_ie->mesh_ttl; in ieee80211_parse_ch_switch_ie()
Dmesh.h310 u8 ttl, const u8 *target, u32 target_sn,
Dmesh.c619 meshhdr->ttl = sdata->u.mesh.mshcfg.dot11MeshTTL; in ieee80211_new_mesh_header()
997 ifmsh->chsw_ttl = csa_ie.ttl - 1; in ieee80211_mesh_process_chnswitch()
Dieee80211_i.h1383 u8 ttl; member
Drx.c2285 if (!mesh_hdr->ttl) in ieee80211_rx_h_mesh_fwding()
2330 if (!--mesh_hdr->ttl) { in ieee80211_rx_h_mesh_fwding()
/linux-4.4.14/drivers/net/usb/
Dnet1080.c267 #define TTL_THIS(ttl) (0x00ff & ttl) argument
268 #define TTL_OTHER(ttl) (0x00ff & (ttl >> 8)) argument
271 static inline void nc_dump_ttl(struct usbnet *dev, u16 ttl) in nc_dump_ttl() argument
275 ttl, TTL_THIS(ttl), TTL_OTHER(ttl)); in nc_dump_ttl()
282 u16 usbctl, status, ttl; in net1080_reset() local
310 ttl = vp; in net1080_reset()
314 MK_TTL(NC_READ_TTL_MS, TTL_OTHER(ttl)) ); in net1080_reset()
/linux-4.4.14/net/mpls/
Dinternal.h10 u8 ttl; member
99 static inline struct mpls_shim_hdr mpls_entry_encode(u32 label, unsigned ttl, unsigned tc, bool bos) in mpls_entry_encode() argument
106 (ttl << MPLS_LS_TTL_SHIFT)); in mpls_entry_encode()
116 result.ttl = (entry & MPLS_LS_TTL_MASK) >> MPLS_LS_TTL_SHIFT; in mpls_entry_decode()
Dmpls_iptunnel.c54 unsigned int ttl; in mpls_output() local
58 ttl = ip_hdr(skb)->ttl; in mpls_output()
61 ttl = ipv6_hdr(skb)->hop_limit; in mpls_output()
104 ttl, 0, bos); in mpls_output()
Daf_mpls.c203 htons(hdr4->ttl << 8), in mpls_egress()
204 htons(dec.ttl << 8)); in mpls_egress()
205 hdr4->ttl = dec.ttl; in mpls_egress()
212 hdr6->hop_limit = dec.ttl; in mpls_egress()
282 if (dec.ttl <= 1) in mpls_forward()
284 dec.ttl -= 1; in mpls_forward()
317 dec.ttl, 0, bos); in mpls_forward()
1035 if ((dec.bos != bos) || dec.ttl || dec.tc) in nla_get_labels()
/linux-4.4.14/drivers/net/
Dgeneve.c67 u8 ttl; /* TTL override */ member
821 __u8 tos, ttl; in geneve_xmit_skb() local
863 ttl = key->ttl; in geneve_xmit_skb()
873 ttl = geneve->ttl; in geneve_xmit_skb()
874 if (!ttl && IN_MULTICAST(ntohl(fl4.daddr))) in geneve_xmit_skb()
875 ttl = 1; in geneve_xmit_skb()
876 ttl = ttl ? : ip4_dst_hoplimit(&rt->dst); in geneve_xmit_skb()
880 tos, ttl, df, sport, geneve->dst_port, in geneve_xmit_skb()
909 __u8 prio, ttl; in geneve6_xmit_skb() local
949 ttl = key->ttl; in geneve6_xmit_skb()
[all …]
Dvxlan.c1687 struct in6_addr *daddr, __u8 prio, __u8 ttl, in vxlan6_xmit_skb() argument
1762 ttl, src_port, dst_port, in vxlan6_xmit_skb()
1772 __be32 src, __be32 dst, __u8 tos, __u8 ttl, __be16 df, in vxlan_xmit_skb() argument
1841 ttl, df, src_port, dst_port, xnet, in vxlan_xmit_skb()
1934 __u8 tos, ttl; in vxlan_xmit_one() local
1971 ttl = vxlan->cfg.ttl; in vxlan_xmit_one()
1972 if (!ttl && vxlan_addr_multicast(dst)) in vxlan_xmit_one()
1973 ttl = 1; in vxlan_xmit_one()
1983 ttl = info->key.ttl; in vxlan_xmit_one()
2046 ttl = ttl ? : ip4_dst_hoplimit(&rt->dst); in vxlan_xmit_one()
[all …]
/linux-4.4.14/fs/nfs/
Ddns_resolve.c170 long ttl; in nfs_dns_show() local
177 ttl = item->h.expiry_time - seconds_since_boot(); in nfs_dns_show()
178 if (ttl < 0) in nfs_dns_show()
179 ttl = 0; in nfs_dns_show()
188 seq_printf(m, "%15s %ld\n", item->hostname, ttl); in nfs_dns_show()
223 unsigned int ttl; in nfs_dns_parse() local
246 if (get_uint(&buf, &ttl) < 0) in nfs_dns_parse()
248 if (ttl == 0) in nfs_dns_parse()
250 key.h.expiry_time = ttl + seconds_since_boot(); in nfs_dns_parse()
/linux-4.4.14/net/ipv4/
Dip_tunnel_core.c53 __u8 tos, __u8 ttl, __be16 df, bool xnet) in iptunnel_xmit() argument
79 iph->ttl = ttl; in iptunnel_xmit()
263 tun_info->key.ttl = nla_get_u8(tb[LWTUNNEL_IP_TTL]); in ip_tun_build_state()
288 nla_put_u8(skb, LWTUNNEL_IP_TTL, tun_info->key.ttl) || in ip_tun_fill_encap_info()
358 tun_info->key.ttl = nla_get_u8(tb[LWTUNNEL_IP6_HOPLIMIT]); in ip6_tun_build_state()
383 nla_put_u8(skb, LWTUNNEL_IP6_TC, tun_info->key.ttl) || in ip6_tun_fill_encap_info()
Dip_output.c124 int ttl = inet->uc_ttl; in ip_select_ttl() local
126 if (ttl < 0) in ip_select_ttl()
127 ttl = ip4_dst_hoplimit(dst); in ip_select_ttl()
128 return ttl; in ip_select_ttl()
150 iph->ttl = ip_select_ttl(inet, &rt->dst); in ip_build_and_send_pkt()
330 if (ip_hdr(skb)->ttl == 0) { in ip_mc_output()
440 iph->ttl = ip_select_ttl(inet, &rt->dst); in ip_queue_xmit()
1147 cork->ttl = ipc->ttl; in ip_setup_cork()
1361 __u8 ttl; in __ip_make_skb() local
1400 if (cork->ttl != 0) in __ip_make_skb()
[all …]
Dah4.c134 top_iph->ttl = iph->ttl; in ah_output_done()
193 iph->ttl = top_iph->ttl; in ah_output()
210 top_iph->ttl = 0; in ah_output()
248 top_iph->ttl = iph->ttl; in ah_output()
379 iph->ttl = 0; in ah_input()
Dip_tunnel.c655 u8 tos, ttl; in ip_tunnel_xmit() local
771 ttl = tnl_params->ttl; in ip_tunnel_xmit()
772 if (ttl == 0) { in ip_tunnel_xmit()
774 ttl = inner_iph->ttl; in ip_tunnel_xmit()
777 ttl = ((const struct ipv6hdr *)inner_iph)->hop_limit; in ip_tunnel_xmit()
780 ttl = ip4_dst_hoplimit(&rt->dst); in ip_tunnel_xmit()
800 tos, ttl, df, !net_eq(tunnel->net, dev_net(dev))); in ip_tunnel_xmit()
832 t->parms.iph.ttl = p->iph.ttl; in ip_tunnel_update()
871 if (p->iph.ttl) in ip_tunnel_ioctl()
Dxfrm4_state.c65 XFRM_MODE_SKB_CB(skb)->ttl = iph->ttl; in xfrm4_extract_header()
Dudp_tunnel.c78 __be32 src, __be32 dst, __u8 tos, __u8 ttl, in udp_tunnel_xmit_skb() argument
97 tos, ttl, df, xnet); in udp_tunnel_xmit_skb()
Dxfrm4_mode_beet.c32 iph->ttl = XFRM_MODE_SKB_CB(skb)->ttl; in xfrm4_beet_make_header()
Dipip.c168 if (t->parms.iph.ttl == 0 && type == ICMP_TIME_EXCEEDED) in ipip_err()
332 parms->iph.ttl = nla_get_u8(data[IFLA_IPTUN_TTL]); in ipip_netlink_parms()
333 if (parms->iph.ttl) in ipip_netlink_parms()
453 nla_put_u8(skb, IFLA_IPTUN_TTL, parm->iph.ttl) || in ipip_fill_info()
Dinetpeer.c372 __u32 delta, ttl; in inet_peer_gc() local
376 ttl = 0; /* be aggressive */ in inet_peer_gc()
378 ttl = inet_peer_maxttl in inet_peer_gc()
388 if (delta >= ttl && in inet_peer_gc()
Dxfrm4_mode_tunnel.c62 top_iph->ttl = ip4_dst_hoplimit(dst->child); in xfrm4_mode_tunnel_output()
Dip_forward.c110 if (ip_hdr(skb)->ttl <= 1) in ip_forward()
Dip_gre.c315 if (t->parms.iph.ttl == 0 && type == ICMP_TIME_EXCEEDED) in ipgre_err()
572 key->tos, key->ttl, df, false); in gre_fb_xmit()
992 parms->iph.ttl = nla_get_u8(data[IFLA_GRE_TTL]); in ipgre_netlink_parms()
1153 nla_put_u8(skb, IFLA_GRE_TTL, p->iph.ttl) || in ipgre_fill_info()
Dip_sockglue.c64 int ttl = ip_hdr(skb)->ttl; in ip_cmsg_recv_ttl() local
65 put_cmsg(msg, SOL_IP, IP_TTL, sizeof(int), &ttl); in ip_cmsg_recv_ttl()
275 ipc->ttl = val; in ip_cmsg_send()
Dicmp.c416 ipc.ttl = 0; in icmp_reply()
701 ipc.ttl = 0; in icmp_send()
Dipmr.c1660 iph->ttl = old_iph->ttl; in ip_encap()
1878 ip_hdr(skb)->ttl > in ip_mr_forward()
1894 ip_hdr(skb)->ttl > cache->mfc_un.res.ttls[ct]) { in ip_mr_forward()
Dtcp_ipv4.c405 if (unlikely(iph->ttl < inet_sk(sk)->min_ttl)) { in tcp_v4_err()
1290 newinet->mc_ttl = ip_hdr(skb)->ttl; in tcp_v4_syn_recv_sock()
1622 if (unlikely(iph->ttl < inet_sk(sk)->min_ttl)) { in tcp_v4_rcv()
Daf_inet.c1349 (iph->ttl ^ iph2->ttl) | in inet_gro_receive()
Draw.c544 ipc.ttl = 0; in raw_sendmsg()
Dipconfig.c832 h->ttl = 64; in ic_bootp_send_if()
Dping.c742 ipc.ttl = 0; in ping_v4_sendmsg()
Digmp.c370 pip->ttl = 1; in igmpv3_newpack()
724 iph->ttl = 1; in igmp_send_report()
Dudp.c911 ipc.ttl = 0; in udp_sendmsg()
/linux-4.4.14/include/uapi/linux/netfilter/
Dxt_osf.h44 __u32 ttl; member
69 __u8 ttl, df; member
/linux-4.4.14/include/net/
Dip_tunnels.h49 u8 ttl; /* TTL for IPv4, HL for IPv6 */ member
184 u8 tos, u8 ttl, in ip_tunnel_key_init() argument
194 key->ttl = ttl; in ip_tunnel_key_init()
279 u8 tos, u8 ttl, __be16 df, bool xnet);
Dudp_tunnel.h82 __be32 src, __be32 dst, __u8 tos, __u8 ttl,
91 __u8 prio, __u8 ttl, __be16 src_port,
Ddst_metadata.h127 iph->saddr, iph->daddr, iph->tos, iph->ttl, in ip_tun_rx_dst()
155 info->key.ttl = ip6h->hop_limit; in ipv6_tun_rx_dst()
Dvxlan.h144 __u8 ttl; member
Dinet_sock.h124 __u8 ttl; member
Dip.h63 __u8 ttl; member
277 return --iph->ttl; in ip_decrease_ttl()
Dxfrm.h666 u8 ttl; member
/linux-4.4.14/net/ipv4/netfilter/
Dnf_reject_ipv4.c47 __u8 protocol, int ttl) in nf_reject_iphdr_put() argument
62 niph->ttl = ttl; in nf_reject_iphdr_put()
Dnf_dup_ipv4.c90 --iph->ttl; in nf_dup_ipv4()
Dnf_log_ipv4.c65 ih->tos & IPTOS_PREC_MASK, ih->ttl, ntohs(ih->id)); in dump_ipv4_packet()
Dipt_SYNPROXY.c32 iph->ttl = sysctl_ip_default_ttl; in synproxy_build_ip()
DKconfig222 tristate '"ttl" match support'
/linux-4.4.14/drivers/net/wireless/cw1200/
Dqueue.h46 unsigned long ttl; member
75 unsigned long ttl);
Dqueue.c101 if (jiffies - item->queue_timestamp < queue->ttl) in __cw1200_queue_gc()
125 unsigned long tmo = item->queue_timestamp + queue->ttl; in __cw1200_queue_gc()
169 unsigned long ttl) in cw1200_queue_init() argument
177 queue->ttl = ttl; in cw1200_queue_init()
Dtxrx.c1388 long ttl; in cw1200_link_id_gc_work() local
1424 ttl = priv->link_id_db[i].timestamp - now + in cw1200_link_id_gc_work()
1426 if (ttl <= 0) { in cw1200_link_id_gc_work()
1438 next_gc = min_t(unsigned long, next_gc, ttl); in cw1200_link_id_gc_work()
/linux-4.4.14/net/tipc/
Dudp_media.c155 int ttl, err = 0; in tipc_udp_send_msg() local
185 ttl = ip4_dst_hoplimit(&rt->dst); in tipc_udp_send_msg()
188 dst->ipv4.s_addr, 0, ttl, 0, in tipc_udp_send_msg()
208 ttl = ip6_dst_hoplimit(ndst); in tipc_udp_send_msg()
211 &dst->ipv6, 0, ttl, src->udp_port, in tipc_udp_send_msg()
/linux-4.4.14/net/ipv6/
Dip6_udp_tunnel.c76 __u8 prio, __u8 ttl, __be16 src_port, in udp_tunnel6_xmit_skb() argument
104 ip6h->hop_limit = ttl; in udp_tunnel6_xmit_skb()
Dsit.c581 if (t->parms.iph.ttl == 0 && type == ICMP_TIME_EXCEEDED) in ipip6_err()
822 u8 ttl; in ipip6_tunnel_xmit() local
974 ttl = tiph->ttl; in ipip6_tunnel_xmit()
975 if (ttl == 0) in ipip6_tunnel_xmit()
976 ttl = iph6->hop_limit; in ipip6_tunnel_xmit()
987 protocol, tos, ttl, df, in ipip6_tunnel_xmit()
1093 t->parms.iph.ttl = p->iph.ttl; in ipip6_tunnel_update()
1202 if (p.iph.ttl) in ipip6_tunnel_ioctl()
1407 iph->ttl = 64; in ipip6_fb_tunnel_init()
1437 parms->iph.ttl = 64; in ipip6_netlink_parms()
[all …]
Dip6_flowlabel.c322 static unsigned long check_linger(unsigned long ttl) in check_linger() argument
324 if (ttl < FL_MIN_LINGER) in check_linger()
326 if (ttl > FL_MAX_LINGER && !capable(CAP_NET_ADMIN)) in check_linger()
328 return ttl*HZ; in check_linger()
Dxfrm6_mode_beet.c33 iph->hop_limit = XFRM_MODE_SKB_CB(skb)->ttl; in xfrm6_beet_make_header()
Dxfrm6_state.c164 XFRM_MODE_SKB_CB(skb)->ttl = iph->hop_limit; in xfrm6_extract_header()
Daddrconf.c2586 p.iph.ttl = 64; in addrconf_set_dstaddr()
/linux-4.4.14/net/netfilter/ipvs/
Dip_vs_xmit.c883 __u32 *payload_len, __u8 *dsfield, __u8 *ttl, in ip_vs_prepare_tunneled_skb() argument
913 *ttl = old_ipv6h->hop_limit; in ip_vs_prepare_tunneled_skb()
928 *ttl = old_iph->ttl; in ip_vs_prepare_tunneled_skb()
984 __u8 ttl = 0; in ip_vs_tunnel_xmit() local
1018 &ttl, dfp); in ip_vs_tunnel_xmit()
1044 iph->ttl = ttl; in ip_vs_tunnel_xmit()
1080 __u8 ttl = 0; in ip_vs_tunnel_xmit_v6() local
1111 &dsfield, &ttl, NULL); in ip_vs_tunnel_xmit_v6()
1137 iph->hop_limit = ttl; in ip_vs_tunnel_xmit_v6()
Dip_vs_sync.c1319 static void set_mcast_ttl(struct sock *sk, u_char ttl) in set_mcast_ttl() argument
1325 inet->mc_ttl = ttl; in set_mcast_ttl()
1331 np->mcast_hops = ttl; in set_mcast_ttl()
/linux-4.4.14/include/uapi/linux/netfilter_ipv4/
Dipt_ttl.h19 __u8 ttl; member
Dipt_TTL.h19 __u8 ttl; member
/linux-4.4.14/Documentation/filesystems/nfs/
Dnfs.txt89 "<ip address> <hostname> <ttl>\n"
94 script, and <ttl> is the 'time to live' of this cache entry (in
109 ttl=600
135 echo "${result} ${name} ${ttl}" >${cache_path}
/linux-4.4.14/include/net/netfilter/ipv4/
Dnf_reject.h15 __u8 protocol, int ttl);
/linux-4.4.14/arch/powerpc/platforms/ps3/
Dgelic_udbg.c76 u8 ttl; member
200 h_ip->ttl = 10; in gelic_debug_init()
/linux-4.4.14/drivers/misc/
Dspear13xx_pcie_gadget.c136 u32 pos, int cap, int *ttl) in pci_find_own_next_cap_ttl() argument
140 while ((*ttl)--) { in pci_find_own_next_cap_ttl()
158 int ttl = PCI_FIND_CAP_TTL; in pci_find_own_next_cap() local
160 return pci_find_own_next_cap_ttl(config, pos, cap, &ttl); in pci_find_own_next_cap()
/linux-4.4.14/net/openvswitch/
Dactions.c381 new_ttl = OVS_MASKED(nh->ttl, new_ttl, mask); in set_ip_ttl()
383 csum_replace2(&nh->check, htons(nh->ttl << 8), htons(new_ttl << 8)); in set_ip_ttl()
384 nh->ttl = new_ttl; in set_ip_ttl()
428 flow_key->ip.ttl = nh->ttl; in set_ipv4()
505 flow_key->ip.ttl = nh->hop_limit; in set_ipv6()
Dflow.h82 u8 ttl; /* IP TTL/hop limit. */ member
Dflow_netlink.c551 bool ttl = false, ipv4 = false, ipv6 = false; in ip_tun_from_nlattr() local
605 SW_FLOW_KEY_PUT(match, tun_key.ttl, in ip_tun_from_nlattr()
607 ttl = true; in ip_tun_from_nlattr()
691 if (!ttl) { in ip_tun_from_nlattr()
750 if (nla_put_u8(skb, OVS_TUNNEL_KEY_ATTR_TTL, output->ttl)) in __ip_tun_to_nlattr()
973 SW_FLOW_KEY_PUT(match, ip.ttl, in ovs_key_from_nlattrs()
1006 SW_FLOW_KEY_PUT(match, ip.ttl, in ovs_key_from_nlattrs()
1506 ipv4_key->ipv4_ttl = output->ip.ttl; in __ovs_nla_put_key()
1522 ipv6_key->ipv6_hlimit = output->ip.ttl; in __ovs_nla_put_key()
Dflow.c270 key->ip.ttl = nh->hop_limit; in parse_ipv6hdr()
520 key->ip.ttl = nh->ttl; in key_extract()
/linux-4.4.14/include/uapi/linux/
Dip.h99 __u8 ttl; member
/linux-4.4.14/drivers/char/agp/
Dparisc-agp.c294 int ttl = 48; in lba_find_capability() local
300 while (ttl-- && pos >= 0x40) { in lba_find_capability()
Dhp-agp.c188 int ttl = 48; in hp_zx1_lba_find_capability() local
194 while (ttl-- && pos >= 0x40) { in hp_zx1_lba_find_capability()
/linux-4.4.14/drivers/w1/
Dw1.h93 int ttl; member
Dw1.c770 sl->ttl = dev->slave_ttl; in w1_attach_slave_device()
1072 if (!test_bit(W1_SLAVE_ACTIVE, &sl->flags) && !--sl->ttl) { in w1_search_process_cb()
1078 sl->ttl = dev->slave_ttl; in w1_search_process_cb()
/linux-4.4.14/arch/powerpc/platforms/pseries/
Deeh_pseries.c166 int ttl = (4096 - 256) / 8; in pseries_eeh_find_ecap() local
175 while (ttl-- > 0) { in pseries_eeh_find_ecap()
/linux-4.4.14/drivers/ata/
Dsata_fsl.c231 u32 ttl; member
432 pp->cmdslot[tag].ttl = cpu_to_le32(data_xfer_len & ~0x03); in sata_fsl_setup_cmd_hdr_entry()
438 pp->cmdslot[tag].ttl, pp->cmdslot[tag].desc_info); in sata_fsl_setup_cmd_hdr_entry()
443 u32 *ttl, dma_addr_t cmd_desc_paddr, in sata_fsl_fill_sg() argument
512 *ttl = ttl_dwords; in sata_fsl_fill_sg()
/linux-4.4.14/drivers/pci/
Dpci.c160 u8 pos, int cap, int *ttl) in __pci_find_next_cap_ttl() argument
167 while ((*ttl)--) { in __pci_find_next_cap_ttl()
186 int ttl = PCI_FIND_CAP_TTL; in __pci_find_next_cap() local
188 return __pci_find_next_cap_ttl(bus, devfn, pos, cap, &ttl); in __pci_find_next_cap()
291 int ttl; in pci_find_next_ext_capability() local
295 ttl = (PCI_CFG_SPACE_EXP_SIZE - PCI_CFG_SPACE_SIZE) / 8; in pci_find_next_ext_capability()
313 while (ttl-- > 0) { in pci_find_next_ext_capability()
351 int rc, ttl = PCI_FIND_CAP_TTL; in __pci_find_next_ht_cap() local
360 PCI_CAP_ID_HT, &ttl); in __pci_find_next_ht_cap()
371 PCI_CAP_ID_HT, &ttl); in __pci_find_next_ht_cap()
Dquirks.c2287 int pos, ttl = PCI_FIND_CAP_TTL; in msi_ht_cap_enabled() local
2290 while (pos && ttl--) { in msi_ht_cap_enabled()
2346 int pos, ttl = PCI_FIND_CAP_TTL; in ht_enable_msi_mapping() local
2349 while (pos && ttl--) { in ht_enable_msi_mapping()
2425 int pos, ttl = PCI_FIND_CAP_TTL; in ht_check_msi_mapping() local
2430 while (pos && ttl--) { in ht_check_msi_mapping()
2550 int pos, ttl = PCI_FIND_CAP_TTL; in ht_disable_msi_mapping() local
2553 while (pos && ttl--) { in ht_disable_msi_mapping()
/linux-4.4.14/drivers/net/slip/
Dslhc.c350 || ip->ttl != cs->cs_ip.ttl in slhc_compress()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c132 ipv4->ttl = cqe->lro_min_ttl; in mlx5e_lro_update_hdr()
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dcnic_if.h280 u8 ttl; member
Dcnic_defs.h348 u8 ttl; member
354 u8 ttl; member
4329 u8 ttl; member
4335 u8 ttl; member
Dcnic.c3490 l4kwqe3->ttl = csk->ttl; in cnic_cm_conn_req()
3617 csk1->ttl = DEF_TTL; in cnic_cm_create()
/linux-4.4.14/drivers/gpio/
DMakefile46 obj-$(CONFIG_GPIO_JANZ_TTL) += gpio-janz-ttl.o
/linux-4.4.14/fs/ceph/
Ddir.c1033 unsigned long ttl; in dentry_lease_is_valid() local
1044 ttl = s->s_cap_ttl; in dentry_lease_is_valid()
1049 time_before(jiffies, ttl)) { in dentry_lease_is_valid()
Dinode.c935 long unsigned ttl = from_time + (duration * HZ) / 1000; in update_dentry_lease() local
945 dentry, duration, ttl); in update_dentry_lease()
955 time_before(ttl, dentry->d_time)) in update_dentry_lease()
969 dentry->d_time = ttl; in update_dentry_lease()
Dcaps.c644 unsigned long ttl; in __cap_is_valid() local
649 ttl = cap->session->s_cap_ttl; in __cap_is_valid()
652 if (cap->cap_gen < gen || time_after_eq(jiffies, ttl)) { in __cap_is_valid()
/linux-4.4.14/net/bridge/netfilter/
Dnft_reject_bridge.c68 niph->ttl = sysctl_ip_default_ttl; in nft_reject_br_send_v4_tcp_reset()
/linux-4.4.14/Documentation/networking/timestamping/
Dtxtimestamp.c346 iph->ttl = 2; in do_test()
/linux-4.4.14/net/atm/
Dmpc.c531 if (iph->ttl <= 1) { in send_via_shortcut()
533 mpc->dev->name, iph->ttl); in send_via_shortcut()
537 iph->ttl--; in send_via_shortcut()
/linux-4.4.14/arch/powerpc/platforms/powernv/
Deeh-powernv.c323 int pos = 256, ttl = (4096 - 256) / 8; in pnv_eeh_find_ecap() local
332 while (ttl-- > 0) { in pnv_eeh_find_ecap()
/linux-4.4.14/drivers/net/wireless/libertas/
Dhost.h951 u8 ttl; member
/linux-4.4.14/drivers/staging/rtl8188eu/core/
Drtw_ieee80211.c203 inline u8 *rtw_set_ie_mesh_ch_switch_parm(u8 *buf, u32 *buf_len, u8 ttl, in rtw_set_ie_mesh_ch_switch_parm() argument
208 ie_data[0] = ttl; in rtw_set_ie_mesh_ch_switch_parm()
/linux-4.4.14/drivers/staging/comedi/
DKconfig153 Advantech PCL-730 iso - 16 in/16 out ttl - 16 in/16 out
154 ICP ISO-730 iso - 16 in/16 out ttl - 16 in/16 out
155 ADlink ACL-7130 iso - 16 in/16 out ttl - 16 in/16 out
156 Advantech PCM-3730 iso - 8 in/8 out ttl - 16 in/16 out
/linux-4.4.14/net/core/
Dnetpoll.c460 iph->ttl = 64; in netpoll_send_udp()
Dpktgen.c2884 iph->ttl = 32; in fill_packet_ipv4()
/linux-4.4.14/drivers/net/ppp/
Dpptp.c277 iph->ttl = ip4_dst_hoplimit(&rt->dst); in pptp_xmit()
/linux-4.4.14/drivers/net/ethernet/freescale/
Ducc_geth.h474 u32 ttl; /* temporary variable handled by QE */ member
/linux-4.4.14/tools/testing/selftests/net/
Dpsock_tpacket.c175 ip->ttl = 64; in create_payload()
/linux-4.4.14/drivers/staging/rtl8188eu/include/
Dieee80211.h1110 u8 *rtw_set_ie_mesh_ch_switch_parm(u8 *buf, u32 *buf_len, u8 ttl,
/linux-4.4.14/net/dccp/
Dipv4.c417 newinet->mc_ttl = ip_hdr(skb)->ttl; in dccp_v4_request_recv_sock()
/linux-4.4.14/Documentation/networking/
Dbonding.txt2548 64 bytes from 10.0.4.2: icmp_seq=1 ttl=64 time=13.7 ms
2549 64 bytes from 10.0.4.2: icmp_seq=1 ttl=64 time=13.8 ms (DUP!)
2550 64 bytes from 10.0.4.2: icmp_seq=1 ttl=64 time=13.8 ms (DUP!)
2551 64 bytes from 10.0.4.2: icmp_seq=1 ttl=64 time=13.8 ms (DUP!)
2552 64 bytes from 10.0.4.2: icmp_seq=1 ttl=64 time=13.8 ms (DUP!)
2553 64 bytes from 10.0.4.2: icmp_seq=2 ttl=64 time=0.216 ms
2554 64 bytes from 10.0.4.2: icmp_seq=3 ttl=64 time=0.267 ms
2555 64 bytes from 10.0.4.2: icmp_seq=4 ttl=64 time=0.222 ms
/linux-4.4.14/include/linux/
Dieee80211.h634 u8 ttl; member
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dd3.c414 pkt->ip.ttl = 128; in iwl_mvm_build_tcp_packet()
/linux-4.4.14/net/bridge/
Dbr_multicast.c400 iph->ttl = 1; in br_ip4_multicast_alloc_query()
/linux-4.4.14/drivers/infiniband/hw/nes/
Dnes_cm.c482 iph->ttl = 0x40; in form_cm_frame()
/linux-4.4.14/drivers/scsi/
Dscsi_transport_iscsi.c343 iscsi_iface_net_attr(ipv4_iface, ttl, ISCSI_NET_PARAM_IPV4_TTL);
/linux-4.4.14/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt1176 address,multicast port,ttl