Home
last modified time | relevance | path

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

/linux-4.1.27/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()
Dxt_TEE.c124 --iph->ttl; in tee_tg4()
/linux-4.1.27/net/batman-adv/
Dpacket.h215 uint8_t ttl; member
248 uint8_t ttl; member
271 uint8_t ttl; member
298 uint8_t ttl; member
333 uint8_t ttl; member
372 uint8_t ttl; member
400 uint8_t ttl; member
430 uint8_t ttl; member
461 uint8_t ttl; member
Dbat_iv_ogm.c327 batadv_ogm_packet->ttl = 2; in batadv_iv_ogm_iface_enable()
364 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()
575 (batadv_ogm_packet->ttl != 1) && in batadv_iv_ogm_can_aggregate()
590 (new_bat_ogm_packet->ttl == 1) && in batadv_iv_ogm_can_aggregate()
812 if (batadv_ogm_packet->ttl <= 1) { in batadv_iv_ogm_forward()
832 batadv_ogm_packet->ttl--; in batadv_iv_ogm_forward()
841 batadv_ogm_packet->tq, batadv_ogm_packet->ttl); in batadv_iv_ogm_forward()
1057 orig_ifinfo->last_ttl = batadv_ogm_packet->ttl; in batadv_iv_ogm_orig_update()
1058 neigh_ifinfo->last_ttl = batadv_ogm_packet->ttl; in batadv_iv_ogm_orig_update()
[all …]
Drouting.c228 icmph->ttl = BATADV_TTL; in batadv_recv_my_icmp_packet()
282 icmp_packet->ttl = BATADV_TTL; in batadv_recv_icmp_ttl_exceeded()
352 if (icmph->ttl < 2) in batadv_recv_icmp_packet()
367 icmph->ttl--; in batadv_recv_icmp_packet()
567 if (unicast_packet->ttl < 2) { in batadv_route_unicast_packet()
585 unicast_packet->ttl--; in batadv_route_unicast_packet()
1021 if (bcast_packet->ttl < 2) in batadv_recv_bcast_packet()
Dnetwork-coding.c734 if (last_ttl != ogm_packet->ttl + 1) in batadv_can_nc_with_orig()
1113 coded_packet->ttl = packet1->ttl; in batadv_nc_code_packets()
1126 coded_packet->second_ttl = packet2->ttl; in batadv_nc_code_packets()
1615 uint8_t *orig_dest, ttl, ttvn; in batadv_nc_skb_decode_packet() local
1651 ttl = coded_packet_tmp.second_ttl; in batadv_nc_skb_decode_packet()
1655 ttl = coded_packet_tmp.ttl; in batadv_nc_skb_decode_packet()
1682 unicast_packet->ttl = ttl; in batadv_nc_skb_decode_packet()
Dfragmentation.c359 packet->ttl--; in batadv_frag_skb_fwd()
451 frag_header.ttl = BATADV_TTL; in batadv_frag_send_packet()
Dsend.c167 unicast_packet->ttl = BATADV_TTL; in batadv_send_skb_push_fill_unicast()
455 bcast_packet->ttl--; in batadv_add_bcast_packet_to_list()
Dsoft-interface.c290 bcast_packet->ttl = BATADV_TTL; in batadv_interface_tx()
Dmain.c1149 unicast_tvlv_packet->ttl = BATADV_TTL; in batadv_tvlv_unicast_send()
/linux-4.1.27/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.1.27/net/mac80211/
Dmesh_hwmp.c108 u8 hop_count, u8 ttl, in mesh_path_sel_frame_tx() argument
164 *pos++ = ttl; in mesh_path_sel_frame_tx()
240 u8 ttl, const u8 *target, u32 target_sn, in mesh_path_error_tx() argument
279 *pos++ = ttl; in mesh_path_error_tx()
519 u8 target_flags, ttl, flags; in hwmp_preq_frame_process() local
590 ttl = ifmsh->mshcfg.element_ttl; in hwmp_preq_frame_process()
591 if (ttl != 0) { in hwmp_preq_frame_process()
595 target_sn, mgmt->sa, 0, ttl, in hwmp_preq_frame_process()
606 ttl = PREQ_IE_TTL(preq_elem); in hwmp_preq_frame_process()
608 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.h306 u8 ttl, const u8 *target, u32 target_sn,
Dmesh.c556 meshhdr->ttl = sdata->u.mesh.mshcfg.dot11MeshTTL; in ieee80211_new_mesh_header()
930 ifmsh->chsw_ttl = csa_ie.ttl - 1; in ieee80211_mesh_process_chnswitch()
Dieee80211_i.h1391 u8 ttl; member
Drx.c2263 if (!mesh_hdr->ttl) in ieee80211_rx_h_mesh_fwding()
2307 if (!--mesh_hdr->ttl) { in ieee80211_rx_h_mesh_fwding()
/linux-4.1.27/net/mpls/
Dinternal.h10 u8 ttl; member
29 static inline struct mpls_shim_hdr mpls_entry_encode(u32 label, unsigned ttl, unsigned tc, bool bos) in mpls_entry_encode() argument
36 (ttl << MPLS_LS_TTL_SHIFT)); in mpls_entry_encode()
46 result.ttl = (entry & MPLS_LS_TTL_MASK) >> MPLS_LS_TTL_SHIFT; in mpls_entry_decode()
Daf_mpls.c121 htons(hdr4->ttl << 8), in mpls_egress()
122 htons(dec.ttl << 8)); in mpls_egress()
123 hdr4->ttl = dec.ttl; in mpls_egress()
128 hdr6->hop_limit = dec.ttl; in mpls_egress()
190 if (dec.ttl <= 1) in mpls_forward()
192 dec.ttl -= 1; in mpls_forward()
224 hdr[i] = mpls_entry_encode(rt->rt_label[i], dec.ttl, 0, bos); in mpls_forward()
657 if ((dec.bos != bos) || dec.ttl || dec.tc) in nla_get_labels()
/linux-4.1.27/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.1.27/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.1.27/net/openvswitch/
Dflow.h71 u8 tos, u8 ttl, in __ovs_flow_tun_info_init() argument
83 tun_info->tunnel.ipv4_ttl = ttl; in __ovs_flow_tun_info_init()
112 iph->tos, iph->ttl, in ovs_flow_tun_info_init()
146 u8 ttl; /* IP TTL/hop limit. */ member
Dactions.c361 new_ttl = MASKED(nh->ttl, new_ttl, mask); in set_ip_ttl()
363 csum_replace2(&nh->check, htons(nh->ttl << 8), htons(new_ttl << 8)); in set_ip_ttl()
364 nh->ttl = new_ttl; in set_ip_ttl()
408 flow_key->ip.ttl = nh->ttl; in set_ipv4()
484 flow_key->ip.ttl = nh->hop_limit; in set_ipv6()
Dflow.c268 key->ip.ttl = nh->hop_limit; in parse_ipv6hdr()
513 key->ip.ttl = nh->ttl; in key_extract()
Dflow_netlink.c509 bool ttl = false; in ipv4_tun_from_nlattr() local
551 ttl = true; in ipv4_tun_from_nlattr()
617 if (!ttl) { in ipv4_tun_from_nlattr()
844 SW_FLOW_KEY_PUT(match, ip.ttl, in ovs_key_from_nlattrs()
877 SW_FLOW_KEY_PUT(match, ip.ttl, in ovs_key_from_nlattrs()
1365 ipv4_key->ipv4_ttl = output->ip.ttl; in __ovs_nla_put_key()
1381 ipv6_key->ipv6_hlimit = output->ip.ttl; in __ovs_nla_put_key()
/linux-4.1.27/include/uapi/linux/netfilter/
Dxt_osf.h44 __u32 ttl; member
69 __u8 ttl, df; member
/linux-4.1.27/net/ipv4/
Dip_output.c123 int ttl = inet->uc_ttl; in ip_select_ttl() local
125 if (ttl < 0) in ip_select_ttl()
126 ttl = ip4_dst_hoplimit(dst); in ip_select_ttl()
127 return ttl; in ip_select_ttl()
152 iph->ttl = ip_select_ttl(inet, &rt->dst); in ip_build_and_send_pkt()
322 if (ip_hdr(skb)->ttl == 0) { in ip_mc_output()
429 iph->ttl = ip_select_ttl(inet, &rt->dst); in ip_queue_xmit()
1119 cork->ttl = ipc->ttl; in ip_setup_cork()
1337 __u8 ttl; in __ip_make_skb() local
1376 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()
377 iph->ttl = 0; in ah_input()
Dip_tunnel_core.c51 __u8 tos, __u8 ttl, __be16 df, bool xnet) in iptunnel_xmit() argument
76 iph->ttl = ttl; in iptunnel_xmit()
Dip_tunnel.c644 u8 tos, ttl; in ip_tunnel_xmit() local
759 ttl = tnl_params->ttl; in ip_tunnel_xmit()
760 if (ttl == 0) { in ip_tunnel_xmit()
762 ttl = inner_iph->ttl; in ip_tunnel_xmit()
765 ttl = ((const struct ipv6hdr *)inner_iph)->hop_limit; in ip_tunnel_xmit()
768 ttl = ip4_dst_hoplimit(&rt->dst); in ip_tunnel_xmit()
788 tos, ttl, df, !net_eq(tunnel->net, dev_net(dev))); in ip_tunnel_xmit()
820 t->parms.iph.ttl = p->iph.ttl; in ip_tunnel_update()
859 if (p->iph.ttl) in ip_tunnel_ioctl()
Dxfrm4_state.c65 XFRM_MODE_SKB_CB(skb)->ttl = iph->ttl; in xfrm4_extract_header()
Dipip.c168 if (t->parms.iph.ttl == 0 && type == ICMP_TIME_EXCEEDED) in ipip_err()
255 if (p.iph.ttl) in ipip_tunnel_ioctl()
334 parms->iph.ttl = nla_get_u8(data[IFLA_IPTUN_TTL]); in ipip_netlink_parms()
335 if (parms->iph.ttl) in ipip_netlink_parms()
455 nla_put_u8(skb, IFLA_IPTUN_TTL, parm->iph.ttl) || in ipip_fill_info()
Dudp_tunnel.c79 __be32 src, __be32 dst, __u8 tos, __u8 ttl, in udp_tunnel_xmit_skb() argument
96 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()
Dinetpeer.c388 __u32 delta, ttl; in inet_peer_gc() local
392 ttl = 0; /* be aggressive */ in inet_peer_gc()
394 ttl = inet_peer_maxttl in inet_peer_gc()
404 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.c104 if (ip_hdr(skb)->ttl <= 1) in ip_forward()
Dgeneve.c108 __u8 ttl, __be16 df, __be16 src_port, __be16 dst_port, in geneve_xmit_skb() argument
140 tos, ttl, df, src_port, dst_port, xnet, in geneve_xmit_skb()
Dip_gre.c192 if (t->parms.iph.ttl == 0 && type == ICMP_TIME_EXCEEDED) in ipgre_err()
631 parms->iph.ttl = nla_get_u8(data[IFLA_GRE_TTL]); in ipgre_netlink_parms()
783 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.c414 ipc.ttl = 0; in icmp_reply()
677 ipc.ttl = 0; in icmp_send()
Dipmr.c1669 iph->ttl = old_iph->ttl; in ip_encap()
1886 ip_hdr(skb)->ttl > in ip_mr_forward()
1902 ip_hdr(skb)->ttl > cache->mfc_un.res.ttls[ct]) { in ip_mr_forward()
Daf_inet.c1354 (iph->ttl ^ iph2->ttl) | in inet_gro_receive()
Dtcp_ipv4.c402 if (unlikely(iph->ttl < inet_sk(sk)->min_ttl)) { in tcp_v4_err()
1281 newinet->mc_ttl = ip_hdr(skb)->ttl; in tcp_v4_syn_recv_sock()
1605 if (unlikely(iph->ttl < inet_sk(sk)->min_ttl)) { in tcp_v4_rcv()
Draw.c540 ipc.ttl = 0; in raw_sendmsg()
Dipconfig.c818 h->ttl = 64; in ic_bootp_send_if()
Dping.c741 ipc.ttl = 0; in ping_v4_sendmsg()
Digmp.c368 pip->ttl = 1; in igmpv3_newpack()
713 iph->ttl = 1; in igmp_send_report()
Dudp.c908 ipc.ttl = 0; in udp_sendmsg()
/linux-4.1.27/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_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()
DKconfig207 tristate '"ttl" match support'
/linux-4.1.27/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.1.27/net/tipc/
Dudp_media.c153 int ttl, err = 0; in tipc_udp_send_msg() local
179 ttl = ip4_dst_hoplimit(&rt->dst); in tipc_udp_send_msg()
182 dst->ipv4.s_addr, 0, ttl, 0, in tipc_udp_send_msg()
201 ttl = ip6_dst_hoplimit(ndst); in tipc_udp_send_msg()
204 &dst->ipv6, 0, ttl, src->udp_port, in tipc_udp_send_msg()
/linux-4.1.27/net/ipv6/
Dip6_udp_tunnel.c69 __u8 prio, __u8 ttl, __be16 src_port, in udp_tunnel6_xmit_skb() argument
97 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.c2517 p.iph.ttl = 64; in addrconf_set_dstaddr()
/linux-4.1.27/include/net/
Dudp_tunnel.h81 __be32 src, __be32 dst, __u8 tos, __u8 ttl,
90 __u8 prio, __u8 ttl, __be16 src_port,
Dgeneve.h91 __u8 ttl, __be16 df, __be16 src_port, __be16 dst_port,
Dvxlan.h149 __be32 src, __be32 dst, __u8 tos, __u8 ttl, __be16 df,
Dinet_sock.h124 __u8 ttl; member
Dip_tunnels.h200 __u8 tos, __u8 ttl, __be16 df, bool xnet);
Dip.h62 __u8 ttl; member
271 return --iph->ttl; in ip_decrease_ttl()
Dxfrm.h663 u8 ttl; member
/linux-4.1.27/net/netfilter/ipvs/
Dip_vs_xmit.c865 __u32 *payload_len, __u8 *dsfield, __u8 *ttl, in ip_vs_prepare_tunneled_skb() argument
895 *ttl = old_ipv6h->hop_limit; in ip_vs_prepare_tunneled_skb()
910 *ttl = old_iph->ttl; in ip_vs_prepare_tunneled_skb()
966 __u8 ttl = 0; in ip_vs_tunnel_xmit() local
1000 &ttl, dfp); in ip_vs_tunnel_xmit()
1026 iph->ttl = ttl; in ip_vs_tunnel_xmit()
1062 __u8 ttl = 0; in ip_vs_tunnel_xmit_v6() local
1092 &dsfield, &ttl, NULL); in ip_vs_tunnel_xmit_v6()
1118 iph->hop_limit = ttl; in ip_vs_tunnel_xmit_v6()
Dip_vs_sync.c1312 static void set_mcast_ttl(struct sock *sk, u_char ttl) in set_mcast_ttl() argument
1318 inet->mc_ttl = ttl; in set_mcast_ttl()
/linux-4.1.27/include/uapi/linux/netfilter_ipv4/
Dipt_ttl.h19 __u8 ttl; member
Dipt_TTL.h19 __u8 ttl; member
/linux-4.1.27/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.1.27/include/net/netfilter/ipv4/
Dnf_reject.h15 __u8 protocol, int ttl);
/linux-4.1.27/arch/powerpc/platforms/ps3/
Dgelic_udbg.c76 u8 ttl; member
200 h_ip->ttl = 10; in gelic_debug_init()
/linux-4.1.27/drivers/net/
Dvxlan.c127 __u8 ttl; member
1674 struct in6_addr *daddr, __u8 prio, __u8 ttl, in vxlan6_xmit_skb() argument
1749 ttl, src_port, dst_port, in vxlan6_xmit_skb()
1759 __be32 src, __be32 dst, __u8 tos, __u8 ttl, __be16 df, in vxlan_xmit_skb() argument
1828 ttl, df, src_port, dst_port, xnet, in vxlan_xmit_skb()
1891 __u8 tos, ttl; in vxlan_xmit_one() local
1909 ttl = vxlan->ttl; in vxlan_xmit_one()
1910 if (!ttl && vxlan_addr_multicast(dst)) in vxlan_xmit_one()
1911 ttl = 1; in vxlan_xmit_one()
1958 ttl = ttl ? : ip4_dst_hoplimit(&rt->dst); in vxlan_xmit_one()
[all …]
/linux-4.1.27/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.1.27/include/uapi/linux/
Dip.h99 __u8 ttl; member
/linux-4.1.27/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.1.27/drivers/w1/
Dw1.h93 int ttl; member
Dw1.c756 sl->ttl = dev->slave_ttl; in w1_attach_slave_device()
1058 if (!test_bit(W1_SLAVE_ACTIVE, &sl->flags) && !--sl->ttl) { in w1_search_process_cb()
1064 sl->ttl = dev->slave_ttl; in w1_search_process_cb()
/linux-4.1.27/drivers/pci/
Dpci.c146 u8 pos, int cap, int *ttl) in __pci_find_next_cap_ttl() argument
153 while ((*ttl)--) { in __pci_find_next_cap_ttl()
172 int ttl = PCI_FIND_CAP_TTL; in __pci_find_next_cap() local
174 return __pci_find_next_cap_ttl(bus, devfn, pos, cap, &ttl); in __pci_find_next_cap()
279 int ttl; in pci_find_next_ext_capability() local
283 ttl = (PCI_CFG_SPACE_EXP_SIZE - PCI_CFG_SPACE_SIZE) / 8; in pci_find_next_ext_capability()
301 while (ttl-- > 0) { in pci_find_next_ext_capability()
339 int rc, ttl = PCI_FIND_CAP_TTL; in __pci_find_next_ht_cap() local
348 PCI_CAP_ID_HT, &ttl); in __pci_find_next_ht_cap()
359 PCI_CAP_ID_HT, &ttl); in __pci_find_next_ht_cap()
Dquirks.c2290 int pos, ttl = 48; in msi_ht_cap_enabled() local
2293 while (pos && ttl--) { in msi_ht_cap_enabled()
2349 int pos, ttl = 48; in ht_enable_msi_mapping() local
2352 while (pos && ttl--) { in ht_enable_msi_mapping()
2428 int pos, ttl = 48; in ht_check_msi_mapping() local
2433 while (pos && ttl--) { in ht_check_msi_mapping()
2553 int pos, ttl = 48; in ht_disable_msi_mapping() local
2556 while (pos && ttl--) { in ht_disable_msi_mapping()
/linux-4.1.27/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.1.27/drivers/ata/
Dsata_fsl.c230 u32 ttl; member
431 pp->cmdslot[tag].ttl = cpu_to_le32(data_xfer_len & ~0x03); in sata_fsl_setup_cmd_hdr_entry()
437 pp->cmdslot[tag].ttl, pp->cmdslot[tag].desc_info); in sata_fsl_setup_cmd_hdr_entry()
442 u32 *ttl, dma_addr_t cmd_desc_paddr, in sata_fsl_fill_sg() argument
511 *ttl = ttl_dwords; in sata_fsl_fill_sg()
/linux-4.1.27/drivers/net/slip/
Dslhc.c350 || ip->ttl != cs->cs_ip.ttl in slhc_compress()
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dcnic_if.h264 u8 ttl; member
Dcnic_defs.h348 u8 ttl; member
354 u8 ttl; member
4329 u8 ttl; member
4335 u8 ttl; member
Dcnic.c3479 l4kwqe3->ttl = csk->ttl; in cnic_cm_conn_req()
3606 csk1->ttl = DEF_TTL; in cnic_cm_create()
/linux-4.1.27/drivers/gpio/
DMakefile41 obj-$(CONFIG_GPIO_JANZ_TTL) += gpio-janz-ttl.o
/linux-4.1.27/fs/ceph/
Ddir.c1024 unsigned long ttl; in dentry_lease_is_valid() local
1035 ttl = s->s_cap_ttl; in dentry_lease_is_valid()
1040 time_before(jiffies, ttl)) { in dentry_lease_is_valid()
Dinode.c930 long unsigned ttl = from_time + (duration * HZ) / 1000; in update_dentry_lease() local
940 dentry, duration, ttl); in update_dentry_lease()
950 time_before(ttl, dentry->d_time)) in update_dentry_lease()
964 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.1.27/net/bridge/netfilter/
Dnft_reject_bridge.c68 niph->ttl = sysctl_ip_default_ttl; in nft_reject_br_send_v4_tcp_reset()
/linux-4.1.27/Documentation/networking/timestamping/
Dtxtimestamp.c346 iph->ttl = 2; in do_test()
/linux-4.1.27/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.1.27/arch/powerpc/platforms/powernv/
Deeh-powernv.c337 int pos = 256, ttl = (4096 - 256) / 8; in pnv_eeh_find_ecap() local
346 while (ttl-- > 0) { in pnv_eeh_find_ecap()
/linux-4.1.27/drivers/net/wireless/libertas/
Dhost.h951 u8 ttl; member
/linux-4.1.27/drivers/staging/rtl8188eu/core/
Drtw_ieee80211.c201 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
206 ie_data[0] = ttl; in rtw_set_ie_mesh_ch_switch_parm()
/linux-4.1.27/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.1.27/drivers/net/ethernet/freescale/
Ducc_geth.h474 u32 ttl; /* temporary variable handled by QE */ member
/linux-4.1.27/tools/testing/selftests/net/
Dpsock_tpacket.c175 ip->ttl = 64; in create_payload()
/linux-4.1.27/net/core/
Dnetpoll.c453 iph->ttl = 64; in netpoll_send_udp()
Ddev.c3532 u32 ttl = G_TC_RTTL(skb->tc_verd); in ing_filter() local
3536 if (unlikely(MAX_RED_LOOP < ttl++)) { in ing_filter()
3542 skb->tc_verd = SET_TC_RTTL(skb->tc_verd, ttl); in ing_filter()
Dpktgen.c2833 iph->ttl = 32; in fill_packet_ipv4()
/linux-4.1.27/drivers/net/ppp/
Dpptp.c278 iph->ttl = ip4_dst_hoplimit(&rt->dst); in pptp_xmit()
/linux-4.1.27/drivers/staging/rtl8188eu/include/
Dieee80211.h1191 u8 *rtw_set_ie_mesh_ch_switch_parm(u8 *buf, u32 *buf_len, u8 ttl,
/linux-4.1.27/net/dccp/
Dipv4.c416 newinet->mc_ttl = ip_hdr(skb)->ttl; in dccp_v4_request_recv_sock()
/linux-4.1.27/Documentation/networking/
Dbonding.txt2464 64 bytes from 10.0.4.2: icmp_seq=1 ttl=64 time=13.7 ms
2465 64 bytes from 10.0.4.2: icmp_seq=1 ttl=64 time=13.8 ms (DUP!)
2466 64 bytes from 10.0.4.2: icmp_seq=1 ttl=64 time=13.8 ms (DUP!)
2467 64 bytes from 10.0.4.2: icmp_seq=1 ttl=64 time=13.8 ms (DUP!)
2468 64 bytes from 10.0.4.2: icmp_seq=1 ttl=64 time=13.8 ms (DUP!)
2469 64 bytes from 10.0.4.2: icmp_seq=2 ttl=64 time=0.216 ms
2470 64 bytes from 10.0.4.2: icmp_seq=3 ttl=64 time=0.267 ms
2471 64 bytes from 10.0.4.2: icmp_seq=4 ttl=64 time=0.222 ms
/linux-4.1.27/include/linux/
Dieee80211.h634 u8 ttl; member
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Dd3.c420 pkt->ip.ttl = 128; in iwl_mvm_build_tcp_packet()
/linux-4.1.27/net/bridge/
Dbr_multicast.c386 iph->ttl = 1; in br_ip4_multicast_alloc_query()
/linux-4.1.27/drivers/infiniband/hw/nes/
Dnes_cm.c482 iph->ttl = 0x40; in form_cm_frame()
/linux-4.1.27/drivers/scsi/
Dscsi_transport_iscsi.c341 iscsi_iface_net_attr(ipv4_iface, ttl, ISCSI_NET_PARAM_IPV4_TTL);
/linux-4.1.27/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt1176 address,multicast port,ttl