Searched refs:ttl (Results 1 - 129 of 129) sorted by relevance

/linux-4.4.14/net/netfilter/
H A Dxt_hl.c31 const u8 ttl = ip_hdr(skb)->ttl; ttl_mt() local
35 return ttl == info->ttl; ttl_mt()
37 return ttl != info->ttl; ttl_mt()
39 return ttl < info->ttl; ttl_mt()
41 return ttl > info->ttl; ttl_mt()
68 .name = "ttl",
H A Dxt_HL.c42 new_ttl = info->ttl; ttl_tg()
45 new_ttl = iph->ttl + info->ttl; ttl_tg()
50 new_ttl = iph->ttl - info->ttl; ttl_tg()
55 new_ttl = iph->ttl; ttl_tg()
59 if (new_ttl != iph->ttl) { ttl_tg()
60 csum_replace2(&iph->check, htons(iph->ttl << 8), ttl_tg()
62 iph->ttl = new_ttl; ttl_tg()
112 if (info->mode != IPT_TTL_SET && info->ttl == 0) ttl_tg_check()
H A Dxt_recent.c74 u_int8_t ttl; member in struct:recent_entry
130 u_int8_t ttl) recent_entry_lookup()
143 (ttl == e->ttl || ttl == 0 || e->ttl == 0)) recent_entry_lookup()
177 u_int16_t family, u_int8_t ttl) recent_entry_init()
193 e->ttl = ttl; recent_entry_init()
246 u_int8_t ttl; recent_mt() local
257 ttl = iph->ttl; recent_mt()
266 ttl = iph->hop_limit; recent_mt()
271 ttl++; recent_mt()
279 (info->check_set & XT_RECENT_TTL) ? ttl : 0); recent_mt()
283 e = recent_entry_init(t, &addr_mask, par->family, ttl); recent_mt()
316 e->ttl = ttl; recent_mt()
531 seq_printf(seq, "src=%pI4 ttl: %u last_seen: %lu oldest_pkt: %u", recent_seq_show()
532 &e->addr.ip, e->ttl, e->stamps[i], e->index); recent_seq_show()
534 seq_printf(seq, "src=%pI6 ttl: %u last_seen: %lu oldest_pkt: %u", recent_seq_show()
535 &e->addr.in6, e->ttl, e->stamps[i], e->index); recent_seq_show()
128 recent_entry_lookup(const struct recent_table *table, const union nf_inet_addr *addrp, u_int16_t family, u_int8_t ttl) recent_entry_lookup() argument
176 recent_entry_init(struct recent_table *t, const union nf_inet_addr *addr, u_int16_t family, u_int8_t ttl) recent_entry_init() argument
H A Dxt_osf.c163 if (info->ttl == XT_OSF_TTL_TRUE) xt_osf_ttl()
164 return ip->ttl == f_ttl; xt_osf_ttl()
165 if (info->ttl == XT_OSF_TTL_NOCHECK) xt_osf_ttl()
167 else if (ip->ttl <= f_ttl) xt_osf_ttl()
175 ret = (ip->ttl == f_ttl); for_ifa()
185 return ip->ttl == f_ttl;
238 if (totlen != f->ss || !xt_osf_ttl(skb, info, f->ttl)) xt_osf_match_packet()
336 f->ttl - ip->ttl); xt_osf_match_packet()
/linux-4.4.14/include/uapi/linux/netfilter_ipv4/
H A Dipt_TTL.h19 __u8 ttl; member in struct:ipt_TTL_info
H A Dipt_ttl.h19 __u8 ttl; member in struct:ipt_ttl_info
/linux-4.4.14/arch/um/drivers/
H A Dumcast.h17 int ttl; member in struct:umcast_data
H A Dumcast_kern.c23 int ttl; member in struct:umcast_init
39 dpri->ttl = init->ttl; umcast_init()
47 "TTL:%u\n", dpri->addr, dpri->lport, dpri->ttl); umcast_init()
79 .ttl = 1 }); mcast_setup()
99 init->ttl = simple_strtoul(ttl_str, &last, 10); mcast_setup()
101 printk(KERN_ERR "mcast_setup - Bad ttl : '%s'\n", mcast_setup()
111 init->lport, init->ttl); mcast_setup()
H A Dumcast_user.c95 /* set ttl according to config */ umcast_open()
96 if (setsockopt(fd, SOL_IP, IP_MULTICAST_TTL, &pri->ttl, umcast_open()
97 sizeof(pri->ttl)) < 0) { umcast_open()
/linux-4.4.14/include/uapi/linux/netfilter_ipv6/
H A Dip6t_hl.h3 * Based on HW's ttl module */
/linux-4.4.14/include/net/netfilter/ipv4/
H A Dnf_reject.h15 __u8 protocol, int ttl);
/linux-4.4.14/net/mpls/
H A Dinternal.h10 u8 ttl; member in struct:mpls_entry_decoded
99 static inline struct mpls_shim_hdr mpls_entry_encode(u32 label, unsigned ttl, unsigned tc, bool bos) mpls_entry_encode() argument
106 (ttl << MPLS_LS_TTL_SHIFT)); mpls_entry_encode()
116 result.ttl = (entry & MPLS_LS_TTL_MASK) >> MPLS_LS_TTL_SHIFT; mpls_entry_decode()
H A Dmpls_iptunnel.c54 unsigned int ttl; mpls_output() local
56 /* Obtain the ttl */ mpls_output()
58 ttl = ip_hdr(skb)->ttl; mpls_output()
61 ttl = ipv6_hdr(skb)->hop_limit; mpls_output()
104 ttl, 0, bos); mpls_output()
H A Daf_mpls.c203 htons(hdr4->ttl << 8), mpls_egress()
204 htons(dec.ttl << 8)); mpls_egress()
205 hdr4->ttl = dec.ttl; mpls_egress()
212 hdr6->hop_limit = dec.ttl; mpls_egress()
281 /* Verify ttl is valid */ mpls_forward()
282 if (dec.ttl <= 1) mpls_forward()
284 dec.ttl -= 1; mpls_forward()
317 dec.ttl, 0, bos); mpls_forward()
1033 * and ttl and tc are both clear. nla_get_labels()
1035 if ((dec.bos != bos) || dec.ttl || dec.tc) nla_get_labels()
/linux-4.4.14/net/mac80211/
H A Dmesh_hwmp.c105 u8 hop_count, u8 ttl, mesh_path_sel_frame_tx()
161 *pos++ = ttl; mesh_path_sel_frame_tx()
225 * @ttl: allowed remaining hops
237 u8 ttl, const u8 *target, u32 target_sn, mesh_path_error_tx()
275 /* ttl */ mesh_path_error_tx()
276 *pos++ = ttl; mesh_path_error_tx()
532 u8 target_flags, ttl, flags; hwmp_preq_frame_process() local
600 ttl = ifmsh->mshcfg.element_ttl; hwmp_preq_frame_process()
601 if (ttl != 0) { hwmp_preq_frame_process()
605 target_sn, mgmt->sa, 0, ttl, hwmp_preq_frame_process()
617 ttl = PREQ_IE_TTL(preq_elem); hwmp_preq_frame_process()
619 if (ttl <= 1) { hwmp_preq_frame_process()
624 --ttl; hwmp_preq_frame_process()
637 target_sn, da, hopcount, ttl, lifetime, hwmp_preq_frame_process()
663 u8 ttl, hopcount, flags; hwmp_prep_frame_process() local
678 ttl = PREP_IE_TTL(prep_elem); hwmp_prep_frame_process()
679 if (ttl <= 1) { hwmp_prep_frame_process()
696 --ttl; hwmp_prep_frame_process()
706 ttl, lifetime, metric, 0, sdata); hwmp_prep_frame_process()
724 u8 ttl; hwmp_perr_frame_process() local
730 ttl = PERR_IE_TTL(perr_elem); hwmp_perr_frame_process()
731 if (ttl <= 1) { hwmp_perr_frame_process()
735 ttl--; hwmp_perr_frame_process()
759 mesh_path_error_tx(sdata, ttl, target_addr, hwmp_perr_frame_process()
777 u8 ttl, flags, hopcount; hwmp_rann_frame_process() local
782 ttl = rann->rann_ttl; hwmp_rann_frame_process()
829 !(mpath->flags & MESH_PATH_FIXED) && (ttl != 0)) { hwmp_rann_frame_process()
847 if (ttl <= 1) { hwmp_rann_frame_process()
852 ttl--; hwmp_rann_frame_process()
857 hopcount, ttl, interval, hwmp_rann_frame_process()
991 u8 ttl, target_flags = 0; mesh_path_start_discovery() local
1042 ttl = sdata->u.mesh.mshcfg.element_ttl; mesh_path_start_discovery()
1043 if (ttl == 0) { mesh_path_start_discovery()
1058 ttl, lifetime, 0, ifmsh->preq_id++, sdata); mesh_path_start_discovery()
101 mesh_path_sel_frame_tx(enum mpath_frame_type action, u8 flags, const u8 *orig_addr, u32 orig_sn, u8 target_flags, const u8 *target, u32 target_sn, const u8 *da, u8 hop_count, u8 ttl, u32 lifetime, u32 metric, u32 preq_id, struct ieee80211_sub_if_data *sdata) mesh_path_sel_frame_tx() argument
236 mesh_path_error_tx(struct ieee80211_sub_if_data *sdata, u8 ttl, const u8 *target, u32 target_sn, u16 target_rcode, const u8 *ra) mesh_path_error_tx() argument
H A Dspectmgmt.c75 csa_ie->ttl = elems->mesh_chansw_params_ie->mesh_ttl; ieee80211_parse_ch_switch_ie()
H A Dmesh.h310 u8 ttl, const u8 *target, u32 target_sn,
H A Dmesh.c619 meshhdr->ttl = sdata->u.mesh.mshcfg.dot11MeshTTL; ieee80211_new_mesh_header()
997 ifmsh->chsw_ttl = csa_ie.ttl - 1; ieee80211_mesh_process_chnswitch()
H A Dieee80211_i.h1383 u8 ttl; member in struct:ieee80211_csa_ie
1737 * @csa_ie: parsed 802.11 csa elements on count, mode, chandef and mesh ttl.
H A Drx.c2285 if (!mesh_hdr->ttl) ieee80211_rx_h_mesh_fwding()
2330 if (!--mesh_hdr->ttl) { ieee80211_rx_h_mesh_fwding()
/linux-4.4.14/net/ipv4/
H A Dxfrm4_state.c65 XFRM_MODE_SKB_CB(skb)->ttl = iph->ttl; xfrm4_extract_header()
H A Dip_tunnel_core.c53 __u8 tos, __u8 ttl, __be16 df, bool xnet) iptunnel_xmit()
79 iph->ttl = ttl; iptunnel_xmit()
263 tun_info->key.ttl = nla_get_u8(tb[LWTUNNEL_IP_TTL]); ip_tun_build_state()
288 nla_put_u8(skb, LWTUNNEL_IP_TTL, tun_info->key.ttl) || ip_tun_fill_encap_info()
358 tun_info->key.ttl = nla_get_u8(tb[LWTUNNEL_IP6_HOPLIMIT]); ip6_tun_build_state()
383 nla_put_u8(skb, LWTUNNEL_IP6_TC, tun_info->key.ttl) || ip6_tun_fill_encap_info()
51 iptunnel_xmit(struct sock *sk, struct rtable *rt, struct sk_buff *skb, __be32 src, __be32 dst, __u8 proto, __u8 tos, __u8 ttl, __be16 df, bool xnet) iptunnel_xmit() argument
H A Dah4.c134 top_iph->ttl = iph->ttl; ah_output_done()
193 iph->ttl = top_iph->ttl; ah_output()
210 top_iph->ttl = 0; ah_output()
248 top_iph->ttl = iph->ttl; ah_output()
379 iph->ttl = 0; ah_input()
H A Dudp_tunnel.c78 __be32 src, __be32 dst, __u8 tos, __u8 ttl, udp_tunnel_xmit_skb()
97 tos, ttl, df, xnet); udp_tunnel_xmit_skb()
77 udp_tunnel_xmit_skb(struct rtable *rt, struct sock *sk, struct sk_buff *skb, __be32 src, __be32 dst, __u8 tos, __u8 ttl, __be16 df, __be16 src_port, __be16 dst_port, bool xnet, bool nocheck) udp_tunnel_xmit_skb() argument
H A Dxfrm4_mode_beet.c32 iph->ttl = XFRM_MODE_SKB_CB(skb)->ttl; xfrm4_beet_make_header()
H A Dip_output.c124 int ttl = inet->uc_ttl; ip_select_ttl() local
126 if (ttl < 0) ip_select_ttl()
127 ttl = ip4_dst_hoplimit(dst); ip_select_ttl()
128 return ttl; ip_select_ttl()
150 iph->ttl = ip_select_ttl(inet, &rt->dst); ip_build_and_send_pkt()
328 /* Multicasts with ttl 0 must not go beyond the host */ ip_mc_output()
330 if (ip_hdr(skb)->ttl == 0) { ip_mc_output()
440 iph->ttl = ip_select_ttl(inet, &rt->dst); ip_queue_xmit()
1147 cork->ttl = ipc->ttl; ip_setup_cork()
1361 __u8 ttl; __ip_make_skb() local
1400 if (cork->ttl != 0) __ip_make_skb()
1401 ttl = cork->ttl; __ip_make_skb()
1403 ttl = inet->mc_ttl; __ip_make_skb()
1405 ttl = ip_select_ttl(inet, &rt->dst); __ip_make_skb()
1412 iph->ttl = ttl; __ip_make_skb()
1560 ipc.ttl = 0; ip_send_unicast_reply()
H A Dip_forward.c110 if (ip_hdr(skb)->ttl <= 1) ip_forward()
135 /* Decrease ttl after skb cow done */ ip_forward()
H A Dxfrm4_mode_tunnel.c62 top_iph->ttl = ip4_dst_hoplimit(dst->child); xfrm4_mode_tunnel_output()
H A Dip_tunnel.c655 u8 tos, ttl; ip_tunnel_xmit() local
771 ttl = tnl_params->ttl; ip_tunnel_xmit()
772 if (ttl == 0) { ip_tunnel_xmit()
774 ttl = inner_iph->ttl; ip_tunnel_xmit()
777 ttl = ((const struct ipv6hdr *)inner_iph)->hop_limit; ip_tunnel_xmit()
780 ttl = ip4_dst_hoplimit(&rt->dst); ip_tunnel_xmit()
800 tos, ttl, df, !net_eq(tunnel->net, dev_net(dev))); ip_tunnel_xmit()
832 t->parms.iph.ttl = p->iph.ttl; ip_tunnel_update()
871 if (p->iph.ttl) ip_tunnel_ioctl()
H A Dinetpeer.c372 __u32 delta, ttl; inet_peer_gc() local
376 ttl = 0; /* be aggressive */ inet_peer_gc()
378 ttl = inet_peer_maxttl inet_peer_gc()
388 if (delta >= ttl && inet_peer_gc()
H A Dipip.c168 if (t->parms.iph.ttl == 0 && type == ICMP_TIME_EXCEEDED) ipip_err()
332 parms->iph.ttl = nla_get_u8(data[IFLA_IPTUN_TTL]); ipip_netlink_parms()
333 if (parms->iph.ttl) ipip_netlink_parms()
453 nla_put_u8(skb, IFLA_IPTUN_TTL, parm->iph.ttl) || ipip_fill_info()
H A Dip_gre.c70 to keep skb->encapsulation counter (sort of local ttl),
84 - Routing protocols, using packets with ttl=1 (OSPF, RIP2),
98 taking into account fragmentation. TO be short, ttl is not solution at all.
315 if (t->parms.iph.ttl == 0 && type == ICMP_TIME_EXCEEDED) ipgre_err()
572 key->tos, key->ttl, df, false); gre_fb_xmit()
719 ip tunnel add Universe mode gre remote 224.66.66.66 local <Your_real_addr> ttl 255
992 parms->iph.ttl = nla_get_u8(data[IFLA_GRE_TTL]); ipgre_netlink_parms()
1153 nla_put_u8(skb, IFLA_GRE_TTL, p->iph.ttl) || ipgre_fill_info()
H A Dip_sockglue.c64 int ttl = ip_hdr(skb)->ttl; ip_cmsg_recv_ttl() local
65 put_cmsg(msg, SOL_IP, IP_TTL, sizeof(int), &ttl); ip_cmsg_recv_ttl()
275 ipc->ttl = val; for_each_cmsghdr()
H A Dipmr.c1660 iph->ttl = old_iph->ttl; ip_encap()
1878 ip_hdr(skb)->ttl > ip_mr_forward()
1894 ip_hdr(skb)->ttl > cache->mfc_un.res.ttls[ct]) { ip_mr_forward()
H A Dicmp.c416 ipc.ttl = 0; icmp_reply()
701 ipc.ttl = 0; icmp_send()
H A Draw.c24 * Alan Cox : Use ttl/tos
544 ipc.ttl = 0; raw_sendmsg()
H A Dtcp_ipv4.c405 if (unlikely(iph->ttl < inet_sk(sk)->min_ttl)) { tcp_v4_err()
1290 newinet->mc_ttl = ip_hdr(skb)->ttl; tcp_v4_syn_recv_sock()
1622 if (unlikely(iph->ttl < inet_sk(sk)->min_ttl)) { tcp_v4_rcv()
H A Daf_inet.c1349 (iph->ttl ^ iph2->ttl) | inet_gro_receive()
H A Digmp.c59 * Malcolm Beattie : ttl comparison wrong in igmp_rcv made
370 pip->ttl = 1; igmpv3_newpack()
724 iph->ttl = 1; igmp_send_report()
H A Dping.c742 ipc.ttl = 0; ping_v4_sendmsg()
H A Droute.c2191 They bind socket to loopback, set ttl to zero __ip_route_output_key_hash()
2196 cannot know, that ttl is zero, so that packet __ip_route_output_key_hash()
H A Dipconfig.c832 h->ttl = 64; ic_bootp_send_if()
H A Dudp.c911 ipc.ttl = 0; udp_sendmsg()
/linux-4.4.14/fs/nfs/
H A Ddns_resolve.c170 long ttl; nfs_dns_show() local
173 seq_puts(m, "# ip address hostname ttl\n"); nfs_dns_show()
177 ttl = item->h.expiry_time - seconds_since_boot(); nfs_dns_show()
178 if (ttl < 0) nfs_dns_show()
179 ttl = 0; nfs_dns_show()
188 seq_printf(m, "%15s %ld\n", item->hostname, ttl); nfs_dns_show()
223 unsigned int ttl; nfs_dns_parse() local
246 if (get_uint(&buf, &ttl) < 0) nfs_dns_parse()
248 if (ttl == 0) nfs_dns_parse()
250 key.h.expiry_time = ttl + seconds_since_boot(); nfs_dns_parse()
/linux-4.4.14/net/batman-adv/
H A Dpacket.h211 * @ttl: time to live for this packet, part of the genereal header
218 u8 ttl; member in struct:batadv_ogm_packet
237 * @ttl: time to live for this packet, part of the genereal header
251 u8 ttl; member in struct:batadv_icmp_header
263 * @ttl: time to live for this packet, part of the genereal header
274 u8 ttl; member in struct:batadv_icmp_packet
289 * @ttl: time to live for this packet, part of the genereal header
301 u8 ttl; member in struct:batadv_icmp_packet_rr
329 * @ttl: time to live for this packet, part of the genereal header
336 u8 ttl; member in struct:batadv_unicast_packet
364 * @ttl: time to live for this packet, part of the genereal header
375 u8 ttl; member in struct:batadv_frag_packet
395 * @ttl: time to live for this packet, part of the genereal header
403 u8 ttl; member in struct:batadv_bcast_packet
416 * @ttl: time to live for this packet, part of the genereal header
422 * @second_ttl: ttl of second packet
433 u8 ttl; member in struct:batadv_coded_packet
454 * @ttl: time to live for this packet, part of the genereal header
464 u8 ttl; member in struct:batadv_unicast_tvlv_packet
H A Drouting.c253 icmph->ttl = BATADV_TTL; batadv_recv_my_icmp_packet()
284 pr_debug("Warning - can't forward icmp packet from %pM to %pM: ttl exceeded\n", batadv_recv_icmp_ttl_exceeded()
307 icmp_packet->ttl = BATADV_TTL; batadv_recv_icmp_ttl_exceeded()
377 if (icmph->ttl < 2) batadv_recv_icmp_packet()
391 /* decrement ttl */ batadv_recv_icmp_packet()
392 icmph->ttl--; batadv_recv_icmp_packet()
592 if (unicast_packet->ttl < 2) { batadv_route_unicast_packet()
593 pr_debug("Warning - can't forward unicast packet from %pM to %pM: ttl exceeded\n", batadv_route_unicast_packet()
608 /* decrement ttl */ batadv_route_unicast_packet()
610 unicast_packet->ttl--; batadv_route_unicast_packet()
1057 if (bcast_packet->ttl < 2) batadv_recv_bcast_packet()
H A Dbat_iv_ogm.c331 batadv_ogm_packet->ttl = 2; batadv_iv_ogm_iface_enable()
365 batadv_ogm_packet->ttl = BATADV_TTL; batadv_iv_ogm_primary_iface_set()
453 batadv_ogm_packet->tq, batadv_ogm_packet->ttl, batadv_iv_ogm_send_to_if()
580 batadv_ogm_packet->ttl != 1 && batadv_iv_ogm_can_aggregate()
595 new_bat_ogm_packet->ttl == 1 && batadv_iv_ogm_can_aggregate()
814 if (batadv_ogm_packet->ttl <= 1) { batadv_iv_ogm_forward()
815 batadv_dbg(BATADV_DBG_BATMAN, bat_priv, "ttl exceeded\n"); batadv_iv_ogm_forward()
834 batadv_ogm_packet->ttl--; batadv_iv_ogm_forward()
842 "Forwarding packet: tq: %i, ttl: %i\n", batadv_iv_ogm_forward()
843 batadv_ogm_packet->tq, batadv_ogm_packet->ttl); batadv_iv_ogm_forward()
1061 orig_ifinfo->last_ttl = batadv_ogm_packet->ttl; batadv_iv_ogm_orig_update()
1062 neigh_ifinfo->last_ttl = batadv_ogm_packet->ttl; batadv_iv_ogm_orig_update()
1485 * seqno and similar ttl as the non-duplicate batadv_iv_ogm_process_per_outif()
1492 similar_ttl = (orig_ifinfo->last_ttl - 3) <= ogm_packet->ttl; batadv_iv_ogm_process_per_outif()
1512 if ((ogm_packet->ttl <= 2) && batadv_iv_ogm_process_per_outif()
1615 ogm_packet->tq, ogm_packet->ttl, batadv_iv_ogm_process()
H A Dnetwork-coding.c760 if (last_ttl != ogm_packet->ttl + 1) batadv_can_nc_with_orig()
1140 coded_packet->ttl = packet1->ttl; batadv_nc_code_packets()
1153 coded_packet->second_ttl = packet2->ttl; batadv_nc_code_packets()
1641 u8 *orig_dest, ttl, ttvn; batadv_nc_skb_decode_packet() local
1677 ttl = coded_packet_tmp.second_ttl; batadv_nc_skb_decode_packet()
1681 ttl = coded_packet_tmp.ttl; batadv_nc_skb_decode_packet()
1708 unicast_packet->ttl = ttl; batadv_nc_skb_decode_packet()
H A Dsend.c184 /* set unicast ttl */ batadv_send_skb_push_fill_unicast()
185 unicast_packet->ttl = BATADV_TTL; batadv_send_skb_push_fill_unicast()
473 bcast_packet->ttl--; batadv_add_bcast_packet_to_list()
H A Dfragmentation.c378 packet->ttl--; batadv_frag_skb_fwd()
470 frag_header.ttl = BATADV_TTL; batadv_frag_send_packet()
H A Dtypes.h126 * @last_ttl: ttl of last received packet
352 * @last_ttl: last received ttl from this neigh node
391 * @last_ttl: last received ttl from this neigh node
H A Dmain.c1168 unicast_tvlv_packet->ttl = BATADV_TTL; batadv_tvlv_unicast_send()
H A Dsoft-interface.c320 bcast_packet->ttl = BATADV_TTL; batadv_interface_tx()
/linux-4.4.14/drivers/net/usb/
H A Dnet1080.c267 #define TTL_THIS(ttl) (0x00ff & ttl)
268 #define TTL_OTHER(ttl) (0x00ff & (ttl >> 8))
271 static inline void nc_dump_ttl(struct usbnet *dev, u16 ttl) nc_dump_ttl() argument
273 netif_dbg(dev, link, dev->net, "net1080 %s-%s ttl 0x%x this = %d, other = %d\n", nc_dump_ttl()
275 ttl, TTL_THIS(ttl), TTL_OTHER(ttl)); nc_dump_ttl()
282 u16 usbctl, status, ttl; net1080_reset() local
310 ttl = vp; net1080_reset()
311 // nc_dump_ttl(dev, ttl); net1080_reset()
314 MK_TTL(NC_READ_TTL_MS, TTL_OTHER(ttl)) ); net1080_reset()
/linux-4.4.14/drivers/net/
H A Dgeneve.c67 u8 ttl; /* TTL override */ member in struct:geneve_dev
821 __u8 tos, ttl; geneve_xmit_skb() local
863 ttl = key->ttl; geneve_xmit_skb()
873 ttl = geneve->ttl; geneve_xmit_skb()
874 if (!ttl && IN_MULTICAST(ntohl(fl4.daddr))) geneve_xmit_skb()
875 ttl = 1; geneve_xmit_skb()
876 ttl = ttl ? : ip4_dst_hoplimit(&rt->dst); geneve_xmit_skb()
880 tos, ttl, df, sport, geneve->dst_port, geneve_xmit_skb()
909 __u8 prio, ttl; geneve6_xmit_skb() local
949 ttl = key->ttl; geneve6_xmit_skb()
958 ttl = geneve->ttl; geneve6_xmit_skb()
959 if (!ttl && ipv6_addr_is_multicast(&fl6.daddr)) geneve6_xmit_skb()
960 ttl = 1; geneve6_xmit_skb()
961 ttl = ttl ? : ip6_dst_hoplimit(dst); geneve6_xmit_skb()
964 &fl6.saddr, &fl6.daddr, prio, ttl, geneve6_xmit_skb()
1159 __u32 vni, __u8 ttl, __u8 tos, __be16 dst_port, geneve_configure()
1170 (remote->sa.sa_family != AF_UNSPEC || vni || tos || ttl)) geneve_configure()
1187 geneve->ttl = ttl; geneve_configure()
1225 __u8 ttl = 0, tos = 0; geneve_newlink() local
1258 ttl = nla_get_u8(data[IFLA_GENEVE_TTL]); geneve_newlink()
1269 return geneve_configure(net, dev, &remote, vni, ttl, tos, dst_port, geneve_newlink()
1313 if (nla_put_u8(skb, IFLA_GENEVE_TTL, geneve->ttl) || geneve_fill_info()
1157 geneve_configure(struct net *net, struct net_device *dev, union geneve_addr *remote, __u32 vni, __u8 ttl, __u8 tos, __be16 dst_port, bool metadata) geneve_configure() argument
H A Dvxlan.c1687 struct in6_addr *daddr, __u8 prio, __u8 ttl, vxlan6_xmit_skb()
1762 ttl, src_port, dst_port, vxlan6_xmit_skb()
1772 __be32 src, __be32 dst, __u8 tos, __u8 ttl, __be16 df, vxlan_xmit_skb()
1841 ttl, df, src_port, dst_port, xnet, vxlan_xmit_skb()
1934 __u8 tos, ttl; vxlan_xmit_one() local
1971 ttl = vxlan->cfg.ttl; vxlan_xmit_one()
1972 if (!ttl && vxlan_addr_multicast(dst)) vxlan_xmit_one()
1973 ttl = 1; vxlan_xmit_one()
1983 ttl = info->key.ttl; vxlan_xmit_one()
2046 ttl = ttl ? : ip4_dst_hoplimit(&rt->dst); vxlan_xmit_one()
2048 dst->sin.sin_addr.s_addr, tos, ttl, df, vxlan_xmit_one()
2110 ttl = ttl ? : ip6_dst_hoplimit(ndst); vxlan_xmit_one()
2112 0, ttl, src_port, dst_port, htonl(vni << 8), md, vxlan_xmit_one()
2945 conf.ttl = nla_get_u8(data[IFLA_VXLAN_TTL]); vxlan_newlink()
3113 if (nla_put_u8(skb, IFLA_VXLAN_TTL, vxlan->cfg.ttl) || vxlan_fill_info()
1684 vxlan6_xmit_skb(struct dst_entry *dst, struct sock *sk, struct sk_buff *skb, struct net_device *dev, struct in6_addr *saddr, struct in6_addr *daddr, __u8 prio, __u8 ttl, __be16 src_port, __be16 dst_port, __be32 vni, struct vxlan_metadata *md, bool xnet, u32 vxflags) vxlan6_xmit_skb() argument
1771 vxlan_xmit_skb(struct rtable *rt, struct sock *sk, struct sk_buff *skb, __be32 src, __be32 dst, __u8 tos, __u8 ttl, __be16 df, __be16 src_port, __be16 dst_port, __be32 vni, struct vxlan_metadata *md, bool xnet, u32 vxflags) vxlan_xmit_skb() argument
/linux-4.4.14/drivers/net/wireless/cw1200/
H A Dqueue.h46 unsigned long ttl; member in struct:cw1200_queue
75 unsigned long ttl);
H A Dqueue.c101 if (jiffies - item->queue_timestamp < queue->ttl) __cw1200_queue_gc()
125 unsigned long tmo = item->queue_timestamp + queue->ttl; __cw1200_queue_gc()
169 unsigned long ttl) cw1200_queue_init()
177 queue->ttl = ttl; cw1200_queue_init()
165 cw1200_queue_init(struct cw1200_queue *queue, struct cw1200_queue_stats *stats, u8 queue_id, size_t capacity, unsigned long ttl) cw1200_queue_init() argument
H A Dtxrx.c1388 long ttl; cw1200_link_id_gc_work() local
1424 ttl = priv->link_id_db[i].timestamp - now + cw1200_link_id_gc_work()
1426 if (ttl <= 0) { cw1200_link_id_gc_work()
1438 next_gc = min_t(unsigned long, next_gc, ttl); cw1200_link_id_gc_work()
/linux-4.4.14/net/ipv6/
H A Dip6_udp_tunnel.c76 __u8 prio, __u8 ttl, __be16 src_port, udp_tunnel6_xmit_skb()
104 ip6h->hop_limit = ttl; udp_tunnel6_xmit_skb()
72 udp_tunnel6_xmit_skb(struct dst_entry *dst, struct sock *sk, struct sk_buff *skb, struct net_device *dev, struct in6_addr *saddr, struct in6_addr *daddr, __u8 prio, __u8 ttl, __be16 src_port, __be16 dst_port, bool nocheck) udp_tunnel6_xmit_skb() argument
H A Dsit.c581 if (t->parms.iph.ttl == 0 && type == ICMP_TIME_EXCEEDED) ipip6_err()
822 u8 ttl; ipip6_tunnel_xmit() local
974 ttl = tiph->ttl; ipip6_tunnel_xmit()
975 if (ttl == 0) ipip6_tunnel_xmit()
976 ttl = iph6->hop_limit; ipip6_tunnel_xmit()
987 protocol, tos, ttl, df, ipip6_tunnel_xmit()
1093 t->parms.iph.ttl = p->iph.ttl; ipip6_tunnel_update()
1202 if (p.iph.ttl) ipip6_tunnel_ioctl()
1407 iph->ttl = 64; ipip6_fb_tunnel_init()
1437 parms->iph.ttl = 64; ipip6_netlink_parms()
1452 parms->iph.ttl = nla_get_u8(data[IFLA_IPTUN_TTL]); ipip6_netlink_parms()
1453 if (parms->iph.ttl) ipip6_netlink_parms()
1672 nla_put_u8(skb, IFLA_IPTUN_TTL, parm->iph.ttl) || ipip6_fill_info()
H A Dxfrm6_mode_beet.c33 iph->hop_limit = XFRM_MODE_SKB_CB(skb)->ttl; xfrm6_beet_make_header()
H A Dip6_flowlabel.c322 static unsigned long check_linger(unsigned long ttl) check_linger() argument
324 if (ttl < FL_MIN_LINGER) check_linger()
326 if (ttl > FL_MAX_LINGER && !capable(CAP_NET_ADMIN)) check_linger()
328 return ttl*HZ; check_linger()
H A Dxfrm6_state.c164 XFRM_MODE_SKB_CB(skb)->ttl = iph->hop_limit; xfrm6_extract_header()
H A Dip6_output.c425 * check and decrement ttl ip6_forward()
H A Daddrconf.c2586 p.iph.ttl = 64; addrconf_set_dstaddr()
/linux-4.4.14/net/ipv4/netfilter/
H A Dnf_reject_ipv4.c47 __u8 protocol, int ttl) nf_reject_iphdr_put()
62 niph->ttl = ttl; nf_reject_iphdr_put()
45 nf_reject_iphdr_put(struct sk_buff *nskb, const struct sk_buff *oldskb, __u8 protocol, int ttl) nf_reject_iphdr_put() argument
H A Dnf_dup_ipv4.c90 --iph->ttl; nf_dup_ipv4()
H A Dnf_log_ipv4.c65 ih->tos & IPTOS_PREC_MASK, ih->ttl, ntohs(ih->id)); dump_ipv4_packet()
H A Dipt_SYNPROXY.c32 iph->ttl = sysctl_ip_default_ttl; synproxy_build_ip()
/linux-4.4.14/include/net/
H A Ddst_metadata.h127 iph->saddr, iph->daddr, iph->tos, iph->ttl, ip_tun_rx_dst()
155 info->key.ttl = ip6h->hop_limit; ipv6_tun_rx_dst()
H A Dudp_tunnel.h82 __be32 src, __be32 dst, __u8 tos, __u8 ttl,
91 __u8 prio, __u8 ttl, __be16 src_port,
H A Dip_tunnels.h49 u8 ttl; /* TTL for IPv4, HL for IPv6 */ member in struct:ip_tunnel_key
184 u8 tos, u8 ttl, ip_tunnel_key_init()
194 key->ttl = ttl; ip_tunnel_key_init()
279 u8 tos, u8 ttl, __be16 df, bool xnet);
182 ip_tunnel_key_init(struct ip_tunnel_key *key, __be32 saddr, __be32 daddr, u8 tos, u8 ttl, __be16 tp_src, __be16 tp_dst, __be64 tun_id, __be16 tun_flags) ip_tunnel_key_init() argument
H A Dvxlan.h144 __u8 ttl; member in struct:vxlan_config
H A Dinet_sock.h124 __u8 ttl; member in struct:inet_cork
H A Dip.h63 __u8 ttl; member in struct:ipcm_cookie
277 return --iph->ttl; ip_decrease_ttl()
H A Dxfrm.h666 u8 ttl; member in struct:xfrm_mode_skb_cb
/linux-4.4.14/include/uapi/linux/netfilter/
H A Dxt_osf.h44 __u32 ttl; member in struct:xt_osf_info
69 __u8 ttl, df; member in struct:xt_osf_user_finger
/linux-4.4.14/arch/powerpc/platforms/ps3/
H A Dgelic_udbg.c76 u8 ttl; member in struct:iphdr
200 h_ip->ttl = 10; gelic_debug_init()
/linux-4.4.14/drivers/gpio/
H A Dgpio-janz-ttl.c24 #define DRV_NAME "janz-ttl"
216 MODULE_ALIAS("platform:janz-ttl");
/linux-4.4.14/net/tipc/
H A Dudp_media.c155 int ttl, err = 0; tipc_udp_send_msg() local
185 ttl = ip4_dst_hoplimit(&rt->dst); tipc_udp_send_msg()
188 dst->ipv4.s_addr, 0, ttl, 0, tipc_udp_send_msg()
208 ttl = ip6_dst_hoplimit(ndst); tipc_udp_send_msg()
211 &dst->ipv6, 0, ttl, src->udp_port, tipc_udp_send_msg()
/linux-4.4.14/net/netfilter/ipvs/
H A Dip_vs_xmit.c876 * opportunity to figure out what the payload_len, dsfield, ttl, and df
883 __u32 *payload_len, __u8 *dsfield, __u8 *ttl, ip_vs_prepare_tunneled_skb()
913 *ttl = old_ipv6h->hop_limit; ip_vs_prepare_tunneled_skb()
928 *ttl = old_iph->ttl; ip_vs_prepare_tunneled_skb()
984 __u8 ttl = 0; ip_vs_tunnel_xmit() local
1018 &ttl, dfp); ip_vs_tunnel_xmit()
1044 iph->ttl = ttl; ip_vs_tunnel_xmit()
1080 __u8 ttl = 0; ip_vs_tunnel_xmit_v6() local
1111 &dsfield, &ttl, NULL); ip_vs_tunnel_xmit_v6()
1137 iph->hop_limit = ttl; ip_vs_tunnel_xmit_v6()
881 ip_vs_prepare_tunneled_skb(struct sk_buff *skb, int skb_af, unsigned int max_headroom, __u8 *next_protocol, __u32 *payload_len, __u8 *dsfield, __u8 *ttl, __be16 *df) ip_vs_prepare_tunneled_skb() argument
H A Dip_vs_sync.c1319 static void set_mcast_ttl(struct sock *sk, u_char ttl) set_mcast_ttl() argument
1323 /* setsockopt(sock, SOL_IP, IP_MULTICAST_TTL, &ttl, sizeof(ttl)); */ set_mcast_ttl()
1325 inet->mc_ttl = ttl; set_mcast_ttl()
1331 np->mcast_hops = ttl; set_mcast_ttl()
H A Dip_vs_core.c896 * Currently handles error types - unreachable, quench, ttl exceeded.
1384 * Currently handles error types - unreachable, quench, ttl exceeded.
/linux-4.4.14/include/uapi/linux/
H A Dip.h99 __u8 ttl; member in struct:iphdr
H A Dmroute.h61 unsigned char vifc_threshold; /* ttl limit */
H A Dmroute6.h73 unsigned char vifc_threshold; /* ttl limit */
/linux-4.4.14/drivers/char/agp/
H A Dparisc-agp.c294 int ttl = 48; lba_find_capability() local
300 while (ttl-- && pos >= 0x40) { lba_find_capability()
H A Dhp-agp.c188 int ttl = 48; hp_zx1_lba_find_capability() local
194 while (ttl-- && pos >= 0x40) { hp_zx1_lba_find_capability()
/linux-4.4.14/drivers/misc/
H A Dspear13xx_pcie_gadget.c136 u32 pos, int cap, int *ttl) pci_find_own_next_cap_ttl()
140 while ((*ttl)--) { pci_find_own_next_cap_ttl()
158 int ttl = PCI_FIND_CAP_TTL; pci_find_own_next_cap() local
160 return pci_find_own_next_cap_ttl(config, pos, cap, &ttl); pci_find_own_next_cap()
135 pci_find_own_next_cap_ttl(struct spear_pcie_gadget_config *config, u32 pos, int cap, int *ttl) pci_find_own_next_cap_ttl() argument
/linux-4.4.14/drivers/ata/
H A Dsata_fsl.c231 u32 ttl; member in struct:cmdhdr_tbl_entry
432 pp->cmdslot[tag].ttl = cpu_to_le32(data_xfer_len & ~0x03); sata_fsl_setup_cmd_hdr_entry()
435 VPRINTK("cda=0x%x, prde_fis_len=0x%x, ttl=0x%x, di=0x%x\n", sata_fsl_setup_cmd_hdr_entry()
438 pp->cmdslot[tag].ttl, pp->cmdslot[tag].desc_info); sata_fsl_setup_cmd_hdr_entry()
443 u32 *ttl, dma_addr_t cmd_desc_paddr, sata_fsl_fill_sg()
495 VPRINTK("sg_fill, ttl=%d, dba=0x%x, ddc=0x%x\n", sata_fsl_fill_sg()
512 *ttl = ttl_dwords; sata_fsl_fill_sg()
560 VPRINTK("SATA FSL : xx_qc_prep, di = 0x%x, ttl = %d, num_prde = %d\n", sata_fsl_qc_prep()
442 sata_fsl_fill_sg(struct ata_queued_cmd *qc, void *cmd_desc, u32 *ttl, dma_addr_t cmd_desc_paddr, int data_snoop) sata_fsl_fill_sg() argument
/linux-4.4.14/drivers/w1/
H A Dw1.h79 * @ttl: decrement per search this slave isn't found, deatch at 0
93 int ttl; member in struct:w1_slave
H A Dw1.c770 sl->ttl = dev->slave_ttl; w1_attach_slave_device()
1072 if (!test_bit(W1_SLAVE_ACTIVE, &sl->flags) && !--sl->ttl) { w1_search_process_cb()
1078 sl->ttl = dev->slave_ttl; w1_search_process_cb()
/linux-4.4.14/net/openvswitch/
H A Dactions.c381 new_ttl = OVS_MASKED(nh->ttl, new_ttl, mask); set_ip_ttl()
383 csum_replace2(&nh->check, htons(nh->ttl << 8), htons(new_ttl << 8)); set_ip_ttl()
384 nh->ttl = new_ttl; set_ip_ttl()
428 flow_key->ip.ttl = nh->ttl; set_ipv4()
505 flow_key->ip.ttl = nh->hop_limit; set_ipv6()
H A Dflow_netlink.c551 bool ttl = false, ipv4 = false, ipv6 = false; ip_tun_from_nlattr() local
605 SW_FLOW_KEY_PUT(match, tun_key.ttl, nla_for_each_nested()
607 ttl = true; nla_for_each_nested()
691 if (!ttl) {
750 if (nla_put_u8(skb, OVS_TUNNEL_KEY_ATTR_TTL, output->ttl)) __ip_tun_to_nlattr()
973 SW_FLOW_KEY_PUT(match, ip.ttl, ovs_key_from_nlattrs()
1006 SW_FLOW_KEY_PUT(match, ip.ttl, ovs_key_from_nlattrs()
1506 ipv4_key->ipv4_ttl = output->ip.ttl; __ovs_nla_put_key()
1522 ipv6_key->ipv6_hlimit = output->ip.ttl; __ovs_nla_put_key()
H A Dflow.c270 key->ip.ttl = nh->hop_limit; parse_ipv6hdr()
520 key->ip.ttl = nh->ttl; key_extract()
H A Dflow.h82 u8 ttl; /* IP TTL/hop limit. */ member in struct:sw_flow_key::__anon15033::__anon15035
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c132 ipv4->ttl = cqe->lro_min_ttl; mlx5e_lro_update_hdr()
/linux-4.4.14/drivers/net/ethernet/broadcom/
H A Dcnic_if.h280 u8 ttl; member in struct:cnic_sock
H A Dcnic_defs.h348 u8 ttl; member in struct:l4_kwq_connect_req3
354 u8 ttl; member in struct:l4_kwq_connect_req3
4329 u8 ttl; member in struct:xstorm_ip_v4_context_section
4335 u8 ttl; member in struct:xstorm_ip_v4_context_section
H A Dcnic.c3490 l4kwqe3->ttl = csk->ttl; cnic_cm_conn_req()
3617 csk1->ttl = DEF_TTL; cnic_cm_create()
/linux-4.4.14/net/atm/
H A Dmpc.c530 /* MPOA spec A.1.4, MPOA client must decrement IP ttl at least by one */ send_via_shortcut()
531 if (iph->ttl <= 1) { send_via_shortcut()
532 ddprintk("(%s) IP ttl = %u, using LANE\n", send_via_shortcut()
533 mpc->dev->name, iph->ttl); send_via_shortcut()
537 iph->ttl--; send_via_shortcut()
/linux-4.4.14/drivers/net/slip/
H A Dslhc.c350 || ip->ttl != cs->cs_ip.ttl slhc_compress()
/linux-4.4.14/arch/powerpc/platforms/pseries/
H A Deeh_pseries.c166 int ttl = (4096 - 256) / 8; pseries_eeh_find_ecap() local
175 while (ttl-- > 0) { pseries_eeh_find_ecap()
/linux-4.4.14/net/bridge/netfilter/
H A Dnft_reject_bridge.c68 niph->ttl = sysctl_ip_default_ttl; nft_reject_br_send_v4_tcp_reset()
/linux-4.4.14/fs/ceph/
H A Ddir.c1033 unsigned long ttl; dentry_lease_is_valid() local
1044 ttl = s->s_cap_ttl; dentry_lease_is_valid()
1049 time_before(jiffies, ttl)) { dentry_lease_is_valid()
H A Dinode.c935 long unsigned ttl = from_time + (duration * HZ) / 1000; update_dentry_lease() local
944 dout("update_dentry_lease %p duration %lu ms ttl %lu\n", update_dentry_lease()
945 dentry, duration, ttl); update_dentry_lease()
955 time_before(ttl, dentry->d_time)) update_dentry_lease()
969 dentry->d_time = ttl; update_dentry_lease()
H A Dmds_client.c1337 * Note new cap ttl, and any transition from stale -> not stale (fresh?).
1361 dout("renewed_caps mds%d ttl now %lu, was %s, now %s\n", renewed_caps()
2645 /* FIXME: this ttl calculation is generous */ handle_session()
H A Dcaps.c644 unsigned long ttl; __cap_is_valid() local
649 ttl = cap->session->s_cap_ttl; __cap_is_valid()
652 if (cap->cap_gen < gen || time_after_eq(jiffies, ttl)) { __cap_is_valid()
/linux-4.4.14/drivers/pci/
H A Dpci.c160 u8 pos, int cap, int *ttl) __pci_find_next_cap_ttl()
167 while ((*ttl)--) { __pci_find_next_cap_ttl()
186 int ttl = PCI_FIND_CAP_TTL; __pci_find_next_cap() local
188 return __pci_find_next_cap_ttl(bus, devfn, pos, cap, &ttl); __pci_find_next_cap()
291 int ttl; pci_find_next_ext_capability() local
295 ttl = (PCI_CFG_SPACE_EXP_SIZE - PCI_CFG_SPACE_SIZE) / 8; pci_find_next_ext_capability()
313 while (ttl-- > 0) { pci_find_next_ext_capability()
351 int rc, ttl = PCI_FIND_CAP_TTL; __pci_find_next_ht_cap() local
360 PCI_CAP_ID_HT, &ttl); __pci_find_next_ht_cap()
371 PCI_CAP_ID_HT, &ttl); __pci_find_next_ht_cap()
159 __pci_find_next_cap_ttl(struct pci_bus *bus, unsigned int devfn, u8 pos, int cap, int *ttl) __pci_find_next_cap_ttl() argument
H A Dquirks.c2287 int pos, ttl = PCI_FIND_CAP_TTL; msi_ht_cap_enabled() local
2290 while (pos && ttl--) { msi_ht_cap_enabled()
2346 int pos, ttl = PCI_FIND_CAP_TTL; ht_enable_msi_mapping() local
2349 while (pos && ttl--) { ht_enable_msi_mapping()
2425 int pos, ttl = PCI_FIND_CAP_TTL; ht_check_msi_mapping() local
2430 while (pos && ttl--) { ht_check_msi_mapping()
2550 int pos, ttl = PCI_FIND_CAP_TTL; ht_disable_msi_mapping() local
2553 while (pos && ttl--) { ht_disable_msi_mapping()
/linux-4.4.14/Documentation/networking/timestamping/
H A Dtxtimestamp.c346 iph->ttl = 2; do_test()
/linux-4.4.14/drivers/staging/rtl8188eu/core/
H A Drtw_ieee80211.c203 inline u8 *rtw_set_ie_mesh_ch_switch_parm(u8 *buf, u32 *buf_len, u8 ttl, rtw_set_ie_mesh_ch_switch_parm() argument
208 ie_data[0] = ttl; rtw_set_ie_mesh_ch_switch_parm()
/linux-4.4.14/drivers/net/wireless/libertas/
H A Dhost.h951 u8 ttl; member in struct:cmd_ds_fwt_access
/linux-4.4.14/drivers/net/ppp/
H A Dpptp.c277 iph->ttl = ip4_dst_hoplimit(&rt->dst); pptp_xmit()
/linux-4.4.14/net/core/
H A Dnetpoll.c460 iph->ttl = 64; netpoll_send_udp()
H A Dpktgen.c2884 iph->ttl = 32; fill_packet_ipv4()
3433 skb->tc_verd = 0; /* reset reclass/redir ttl */ pktgen_xmit()
3694 * ip header protocol/ttl/id field, here creat a phony one. pktgen_add_device()
/linux-4.4.14/net/sched/
H A Dact_api.c420 goto repeat; /* we need a ttl - JHS */ list_for_each_entry()
/linux-4.4.14/tools/testing/selftests/net/
H A Dpsock_tpacket.c175 ip->ttl = 64; create_payload()
/linux-4.4.14/arch/powerpc/platforms/powernv/
H A Deeh-powernv.c323 int pos = 256, ttl = (4096 - 256) / 8; pnv_eeh_find_ecap() local
332 while (ttl-- > 0) { pnv_eeh_find_ecap()
/linux-4.4.14/drivers/staging/rtl8188eu/include/
H A Dieee80211.h1110 u8 *rtw_set_ie_mesh_ch_switch_parm(u8 *buf, u32 *buf_len, u8 ttl,
/linux-4.4.14/drivers/net/ethernet/freescale/
H A Ducc_geth.h474 u32 ttl; /* temporary variable handled by QE */ member in struct:ucc_geth_scheduler
/linux-4.4.14/net/dccp/
H A Dipv4.c417 newinet->mc_ttl = ip_hdr(skb)->ttl; dccp_v4_request_recv_sock()
/linux-4.4.14/net/bridge/
H A Dbr_multicast.c400 iph->ttl = 1; br_ip4_multicast_alloc_query()
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
H A Dd3.c414 pkt->ip.ttl = 128; iwl_mvm_build_tcp_packet()
/linux-4.4.14/include/linux/
H A Dieee80211.h634 u8 ttl; member in struct:ieee80211s_hdr
/linux-4.4.14/drivers/scsi/
H A Dscsi_transport_iscsi.c343 iscsi_iface_net_attr(ipv4_iface, ttl, ISCSI_NET_PARAM_IPV4_TTL);
/linux-4.4.14/drivers/infiniband/hw/nes/
H A Dnes_cm.c482 iph->ttl = 0x40; form_cm_frame()
/linux-4.4.14/net/sctp/
H A Dsocket.c1885 * it with a default ttl from the assoc here. sctp_sendmsg()

Completed in 5664 milliseconds