/linux-4.4.14/net/netfilter/ |
D | xt_hl.c | 31 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()
|
D | xt_HL.c | 42 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()
|
D | xt_recent.c | 74 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 …]
|
D | xt_osf.c | 163 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/ |
D | packet.h | 218 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
|
D | bat_iv_ogm.c | 331 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 …]
|
D | routing.c | 253 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()
|
D | network-coding.c | 760 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()
|
D | fragmentation.c | 378 packet->ttl--; in batadv_frag_skb_fwd() 470 frag_header.ttl = BATADV_TTL; in batadv_frag_send_packet()
|
D | send.c | 185 unicast_packet->ttl = BATADV_TTL; in batadv_send_skb_push_fill_unicast() 473 bcast_packet->ttl--; in batadv_add_bcast_packet_to_list()
|
D | soft-interface.c | 320 bcast_packet->ttl = BATADV_TTL; in batadv_interface_tx()
|
D | main.c | 1168 unicast_tvlv_packet->ttl = BATADV_TTL; in batadv_tvlv_unicast_send()
|
/linux-4.4.14/arch/um/drivers/ |
D | umcast_kern.c | 23 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()
|
D | umcast.h | 17 int ttl; member
|
D | umcast_user.c | 96 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/ |
D | mesh_hwmp.c | 105 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 …]
|
D | spectmgmt.c | 75 csa_ie->ttl = elems->mesh_chansw_params_ie->mesh_ttl; in ieee80211_parse_ch_switch_ie()
|
D | mesh.h | 310 u8 ttl, const u8 *target, u32 target_sn,
|
D | mesh.c | 619 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()
|
D | ieee80211_i.h | 1383 u8 ttl; member
|
D | rx.c | 2285 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/ |
D | net1080.c | 267 #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/ |
D | internal.h | 10 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()
|
D | mpls_iptunnel.c | 54 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()
|
D | af_mpls.c | 203 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/ |
D | geneve.c | 67 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 …]
|
D | vxlan.c | 1687 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/ |
D | dns_resolve.c | 170 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/ |
D | ip_tunnel_core.c | 53 __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()
|
D | ip_output.c | 124 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 …]
|
D | ah4.c | 134 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()
|
D | ip_tunnel.c | 655 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()
|
D | xfrm4_state.c | 65 XFRM_MODE_SKB_CB(skb)->ttl = iph->ttl; in xfrm4_extract_header()
|
D | udp_tunnel.c | 78 __be32 src, __be32 dst, __u8 tos, __u8 ttl, in udp_tunnel_xmit_skb() argument 97 tos, ttl, df, xnet); in udp_tunnel_xmit_skb()
|
D | xfrm4_mode_beet.c | 32 iph->ttl = XFRM_MODE_SKB_CB(skb)->ttl; in xfrm4_beet_make_header()
|
D | ipip.c | 168 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()
|
D | inetpeer.c | 372 __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()
|
D | xfrm4_mode_tunnel.c | 62 top_iph->ttl = ip4_dst_hoplimit(dst->child); in xfrm4_mode_tunnel_output()
|
D | ip_forward.c | 110 if (ip_hdr(skb)->ttl <= 1) in ip_forward()
|
D | ip_gre.c | 315 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()
|
D | ip_sockglue.c | 64 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()
|
D | icmp.c | 416 ipc.ttl = 0; in icmp_reply() 701 ipc.ttl = 0; in icmp_send()
|
D | ipmr.c | 1660 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()
|
D | tcp_ipv4.c | 405 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()
|
D | af_inet.c | 1349 (iph->ttl ^ iph2->ttl) | in inet_gro_receive()
|
D | raw.c | 544 ipc.ttl = 0; in raw_sendmsg()
|
D | ipconfig.c | 832 h->ttl = 64; in ic_bootp_send_if()
|
D | ping.c | 742 ipc.ttl = 0; in ping_v4_sendmsg()
|
D | igmp.c | 370 pip->ttl = 1; in igmpv3_newpack() 724 iph->ttl = 1; in igmp_send_report()
|
D | udp.c | 911 ipc.ttl = 0; in udp_sendmsg()
|
/linux-4.4.14/include/uapi/linux/netfilter/ |
D | xt_osf.h | 44 __u32 ttl; member 69 __u8 ttl, df; member
|
/linux-4.4.14/include/net/ |
D | ip_tunnels.h | 49 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);
|
D | udp_tunnel.h | 82 __be32 src, __be32 dst, __u8 tos, __u8 ttl, 91 __u8 prio, __u8 ttl, __be16 src_port,
|
D | dst_metadata.h | 127 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()
|
D | vxlan.h | 144 __u8 ttl; member
|
D | inet_sock.h | 124 __u8 ttl; member
|
D | ip.h | 63 __u8 ttl; member 277 return --iph->ttl; in ip_decrease_ttl()
|
D | xfrm.h | 666 u8 ttl; member
|
/linux-4.4.14/net/ipv4/netfilter/ |
D | nf_reject_ipv4.c | 47 __u8 protocol, int ttl) in nf_reject_iphdr_put() argument 62 niph->ttl = ttl; in nf_reject_iphdr_put()
|
D | nf_dup_ipv4.c | 90 --iph->ttl; in nf_dup_ipv4()
|
D | nf_log_ipv4.c | 65 ih->tos & IPTOS_PREC_MASK, ih->ttl, ntohs(ih->id)); in dump_ipv4_packet()
|
D | ipt_SYNPROXY.c | 32 iph->ttl = sysctl_ip_default_ttl; in synproxy_build_ip()
|
D | Kconfig | 222 tristate '"ttl" match support'
|
/linux-4.4.14/drivers/net/wireless/cw1200/ |
D | queue.h | 46 unsigned long ttl; member 75 unsigned long ttl);
|
D | queue.c | 101 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()
|
D | txrx.c | 1388 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/ |
D | udp_media.c | 155 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/ |
D | ip6_udp_tunnel.c | 76 __u8 prio, __u8 ttl, __be16 src_port, in udp_tunnel6_xmit_skb() argument 104 ip6h->hop_limit = ttl; in udp_tunnel6_xmit_skb()
|
D | sit.c | 581 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 …]
|
D | ip6_flowlabel.c | 322 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()
|
D | xfrm6_mode_beet.c | 33 iph->hop_limit = XFRM_MODE_SKB_CB(skb)->ttl; in xfrm6_beet_make_header()
|
D | xfrm6_state.c | 164 XFRM_MODE_SKB_CB(skb)->ttl = iph->hop_limit; in xfrm6_extract_header()
|
D | addrconf.c | 2586 p.iph.ttl = 64; in addrconf_set_dstaddr()
|
/linux-4.4.14/net/netfilter/ipvs/ |
D | ip_vs_xmit.c | 883 __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()
|
D | ip_vs_sync.c | 1319 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/ |
D | ipt_ttl.h | 19 __u8 ttl; member
|
D | ipt_TTL.h | 19 __u8 ttl; member
|
/linux-4.4.14/Documentation/filesystems/nfs/ |
D | nfs.txt | 89 "<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/ |
D | nf_reject.h | 15 __u8 protocol, int ttl);
|
/linux-4.4.14/arch/powerpc/platforms/ps3/ |
D | gelic_udbg.c | 76 u8 ttl; member 200 h_ip->ttl = 10; in gelic_debug_init()
|
/linux-4.4.14/drivers/misc/ |
D | spear13xx_pcie_gadget.c | 136 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/ |
D | actions.c | 381 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()
|
D | flow.h | 82 u8 ttl; /* IP TTL/hop limit. */ member
|
D | flow_netlink.c | 551 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()
|
D | flow.c | 270 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/ |
D | ip.h | 99 __u8 ttl; member
|
/linux-4.4.14/drivers/char/agp/ |
D | parisc-agp.c | 294 int ttl = 48; in lba_find_capability() local 300 while (ttl-- && pos >= 0x40) { in lba_find_capability()
|
D | hp-agp.c | 188 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/ |
D | w1.h | 93 int ttl; member
|
D | w1.c | 770 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/ |
D | eeh_pseries.c | 166 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/ |
D | sata_fsl.c | 231 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/ |
D | pci.c | 160 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()
|
D | quirks.c | 2287 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/ |
D | slhc.c | 350 || ip->ttl != cs->cs_ip.ttl in slhc_compress()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rx.c | 132 ipv4->ttl = cqe->lro_min_ttl; in mlx5e_lro_update_hdr()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/ |
D | cnic_if.h | 280 u8 ttl; member
|
D | cnic_defs.h | 348 u8 ttl; member 354 u8 ttl; member 4329 u8 ttl; member 4335 u8 ttl; member
|
D | cnic.c | 3490 l4kwqe3->ttl = csk->ttl; in cnic_cm_conn_req() 3617 csk1->ttl = DEF_TTL; in cnic_cm_create()
|
/linux-4.4.14/drivers/gpio/ |
D | Makefile | 46 obj-$(CONFIG_GPIO_JANZ_TTL) += gpio-janz-ttl.o
|
/linux-4.4.14/fs/ceph/ |
D | dir.c | 1033 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()
|
D | inode.c | 935 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()
|
D | caps.c | 644 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/ |
D | nft_reject_bridge.c | 68 niph->ttl = sysctl_ip_default_ttl; in nft_reject_br_send_v4_tcp_reset()
|
/linux-4.4.14/Documentation/networking/timestamping/ |
D | txtimestamp.c | 346 iph->ttl = 2; in do_test()
|
/linux-4.4.14/net/atm/ |
D | mpc.c | 531 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/ |
D | eeh-powernv.c | 323 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/ |
D | host.h | 951 u8 ttl; member
|
/linux-4.4.14/drivers/staging/rtl8188eu/core/ |
D | rtw_ieee80211.c | 203 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/ |
D | Kconfig | 153 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/ |
D | netpoll.c | 460 iph->ttl = 64; in netpoll_send_udp()
|
D | pktgen.c | 2884 iph->ttl = 32; in fill_packet_ipv4()
|
/linux-4.4.14/drivers/net/ppp/ |
D | pptp.c | 277 iph->ttl = ip4_dst_hoplimit(&rt->dst); in pptp_xmit()
|
/linux-4.4.14/drivers/net/ethernet/freescale/ |
D | ucc_geth.h | 474 u32 ttl; /* temporary variable handled by QE */ member
|
/linux-4.4.14/tools/testing/selftests/net/ |
D | psock_tpacket.c | 175 ip->ttl = 64; in create_payload()
|
/linux-4.4.14/drivers/staging/rtl8188eu/include/ |
D | ieee80211.h | 1110 u8 *rtw_set_ie_mesh_ch_switch_parm(u8 *buf, u32 *buf_len, u8 ttl,
|
/linux-4.4.14/net/dccp/ |
D | ipv4.c | 417 newinet->mc_ttl = ip_hdr(skb)->ttl; in dccp_v4_request_recv_sock()
|
/linux-4.4.14/Documentation/networking/ |
D | bonding.txt | 2548 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/ |
D | ieee80211.h | 634 u8 ttl; member
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/ |
D | d3.c | 414 pkt->ip.ttl = 128; in iwl_mvm_build_tcp_packet()
|
/linux-4.4.14/net/bridge/ |
D | br_multicast.c | 400 iph->ttl = 1; in br_ip4_multicast_alloc_query()
|
/linux-4.4.14/drivers/infiniband/hw/nes/ |
D | nes_cm.c | 482 iph->ttl = 0x40; in form_cm_frame()
|
/linux-4.4.14/drivers/scsi/ |
D | scsi_transport_iscsi.c | 343 iscsi_iface_net_attr(ipv4_iface, ttl, ISCSI_NET_PARAM_IPV4_TTL);
|
/linux-4.4.14/Documentation/virtual/uml/ |
D | UserModeLinux-HOWTO.txt | 1176 address,multicast port,ttl
|