/linux-4.4.14/net/netfilter/ |
H A D | xt_hl.c | 31 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 D | xt_HL.c | 42 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 D | xt_recent.c | 74 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 D | xt_osf.c | 163 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 D | ipt_TTL.h | 19 __u8 ttl; member in struct:ipt_TTL_info
|
H A D | ipt_ttl.h | 19 __u8 ttl; member in struct:ipt_ttl_info
|
/linux-4.4.14/arch/um/drivers/ |
H A D | umcast.h | 17 int ttl; member in struct:umcast_data
|
H A D | umcast_kern.c | 23 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 D | umcast_user.c | 95 /* 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 D | ip6t_hl.h | 3 * Based on HW's ttl module */
|
/linux-4.4.14/include/net/netfilter/ipv4/ |
H A D | nf_reject.h | 15 __u8 protocol, int ttl);
|
/linux-4.4.14/net/mpls/ |
H A D | internal.h | 10 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 D | mpls_iptunnel.c | 54 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 D | af_mpls.c | 203 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 D | mesh_hwmp.c | 105 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 D | spectmgmt.c | 75 csa_ie->ttl = elems->mesh_chansw_params_ie->mesh_ttl; ieee80211_parse_ch_switch_ie()
|
H A D | mesh.h | 310 u8 ttl, const u8 *target, u32 target_sn,
|
H A D | mesh.c | 619 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 D | ieee80211_i.h | 1383 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 D | rx.c | 2285 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 D | xfrm4_state.c | 65 XFRM_MODE_SKB_CB(skb)->ttl = iph->ttl; xfrm4_extract_header()
|
H A D | ip_tunnel_core.c | 53 __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 D | ah4.c | 134 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 D | udp_tunnel.c | 78 __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 D | xfrm4_mode_beet.c | 32 iph->ttl = XFRM_MODE_SKB_CB(skb)->ttl; xfrm4_beet_make_header()
|
H A D | ip_output.c | 124 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 D | ip_forward.c | 110 if (ip_hdr(skb)->ttl <= 1) ip_forward() 135 /* Decrease ttl after skb cow done */ ip_forward()
|
H A D | xfrm4_mode_tunnel.c | 62 top_iph->ttl = ip4_dst_hoplimit(dst->child); xfrm4_mode_tunnel_output()
|
H A D | ip_tunnel.c | 655 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 D | inetpeer.c | 372 __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 D | ipip.c | 168 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 D | ip_gre.c | 70 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 D | ip_sockglue.c | 64 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 D | ipmr.c | 1660 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 D | icmp.c | 416 ipc.ttl = 0; icmp_reply() 701 ipc.ttl = 0; icmp_send()
|
H A D | raw.c | 24 * Alan Cox : Use ttl/tos 544 ipc.ttl = 0; raw_sendmsg()
|
H A D | tcp_ipv4.c | 405 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 D | af_inet.c | 1349 (iph->ttl ^ iph2->ttl) | inet_gro_receive()
|
H A D | igmp.c | 59 * Malcolm Beattie : ttl comparison wrong in igmp_rcv made 370 pip->ttl = 1; igmpv3_newpack() 724 iph->ttl = 1; igmp_send_report()
|
H A D | ping.c | 742 ipc.ttl = 0; ping_v4_sendmsg()
|
H A D | route.c | 2191 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 D | ipconfig.c | 832 h->ttl = 64; ic_bootp_send_if()
|
H A D | udp.c | 911 ipc.ttl = 0; udp_sendmsg()
|
/linux-4.4.14/fs/nfs/ |
H A D | dns_resolve.c | 170 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 D | packet.h | 211 * @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 D | routing.c | 253 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 D | bat_iv_ogm.c | 331 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 D | network-coding.c | 760 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 D | send.c | 184 /* 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 D | fragmentation.c | 378 packet->ttl--; batadv_frag_skb_fwd() 470 frag_header.ttl = BATADV_TTL; batadv_frag_send_packet()
|
H A D | types.h | 126 * @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 D | main.c | 1168 unicast_tvlv_packet->ttl = BATADV_TTL; batadv_tvlv_unicast_send()
|
H A D | soft-interface.c | 320 bcast_packet->ttl = BATADV_TTL; batadv_interface_tx()
|
/linux-4.4.14/drivers/net/usb/ |
H A D | net1080.c | 267 #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 D | geneve.c | 67 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 D | vxlan.c | 1687 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 D | queue.h | 46 unsigned long ttl; member in struct:cw1200_queue 75 unsigned long ttl);
|
H A D | queue.c | 101 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 D | txrx.c | 1388 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 D | ip6_udp_tunnel.c | 76 __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 D | sit.c | 581 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 D | xfrm6_mode_beet.c | 33 iph->hop_limit = XFRM_MODE_SKB_CB(skb)->ttl; xfrm6_beet_make_header()
|
H A D | ip6_flowlabel.c | 322 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 D | xfrm6_state.c | 164 XFRM_MODE_SKB_CB(skb)->ttl = iph->hop_limit; xfrm6_extract_header()
|
H A D | ip6_output.c | 425 * check and decrement ttl ip6_forward()
|
H A D | addrconf.c | 2586 p.iph.ttl = 64; addrconf_set_dstaddr()
|
/linux-4.4.14/net/ipv4/netfilter/ |
H A D | nf_reject_ipv4.c | 47 __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 D | nf_dup_ipv4.c | 90 --iph->ttl; nf_dup_ipv4()
|
H A D | nf_log_ipv4.c | 65 ih->tos & IPTOS_PREC_MASK, ih->ttl, ntohs(ih->id)); dump_ipv4_packet()
|
H A D | ipt_SYNPROXY.c | 32 iph->ttl = sysctl_ip_default_ttl; synproxy_build_ip()
|
/linux-4.4.14/include/net/ |
H A D | dst_metadata.h | 127 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 D | udp_tunnel.h | 82 __be32 src, __be32 dst, __u8 tos, __u8 ttl, 91 __u8 prio, __u8 ttl, __be16 src_port,
|
H A D | ip_tunnels.h | 49 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 D | vxlan.h | 144 __u8 ttl; member in struct:vxlan_config
|
H A D | inet_sock.h | 124 __u8 ttl; member in struct:inet_cork
|
H A D | ip.h | 63 __u8 ttl; member in struct:ipcm_cookie 277 return --iph->ttl; ip_decrease_ttl()
|
H A D | xfrm.h | 666 u8 ttl; member in struct:xfrm_mode_skb_cb
|
/linux-4.4.14/include/uapi/linux/netfilter/ |
H A D | xt_osf.h | 44 __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 D | gelic_udbg.c | 76 u8 ttl; member in struct:iphdr 200 h_ip->ttl = 10; gelic_debug_init()
|
/linux-4.4.14/drivers/gpio/ |
H A D | gpio-janz-ttl.c | 24 #define DRV_NAME "janz-ttl" 216 MODULE_ALIAS("platform:janz-ttl");
|
/linux-4.4.14/net/tipc/ |
H A D | udp_media.c | 155 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 D | ip_vs_xmit.c | 876 * 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 D | ip_vs_sync.c | 1319 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 D | ip_vs_core.c | 896 * 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 D | ip.h | 99 __u8 ttl; member in struct:iphdr
|
H A D | mroute.h | 61 unsigned char vifc_threshold; /* ttl limit */
|
H A D | mroute6.h | 73 unsigned char vifc_threshold; /* ttl limit */
|
/linux-4.4.14/drivers/char/agp/ |
H A D | parisc-agp.c | 294 int ttl = 48; lba_find_capability() local 300 while (ttl-- && pos >= 0x40) { lba_find_capability()
|
H A D | hp-agp.c | 188 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 D | spear13xx_pcie_gadget.c | 136 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 D | sata_fsl.c | 231 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 D | w1.h | 79 * @ttl: decrement per search this slave isn't found, deatch at 0 93 int ttl; member in struct:w1_slave
|
H A D | w1.c | 770 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 D | actions.c | 381 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 D | flow_netlink.c | 551 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 D | flow.c | 270 key->ip.ttl = nh->hop_limit; parse_ipv6hdr() 520 key->ip.ttl = nh->ttl; key_extract()
|
H A D | flow.h | 82 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 D | en_rx.c | 132 ipv4->ttl = cqe->lro_min_ttl; mlx5e_lro_update_hdr()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/ |
H A D | cnic_if.h | 280 u8 ttl; member in struct:cnic_sock
|
H A D | cnic_defs.h | 348 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 D | cnic.c | 3490 l4kwqe3->ttl = csk->ttl; cnic_cm_conn_req() 3617 csk1->ttl = DEF_TTL; cnic_cm_create()
|
/linux-4.4.14/net/atm/ |
H A D | mpc.c | 530 /* 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 D | slhc.c | 350 || ip->ttl != cs->cs_ip.ttl slhc_compress()
|
/linux-4.4.14/arch/powerpc/platforms/pseries/ |
H A D | eeh_pseries.c | 166 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 D | nft_reject_bridge.c | 68 niph->ttl = sysctl_ip_default_ttl; nft_reject_br_send_v4_tcp_reset()
|
/linux-4.4.14/fs/ceph/ |
H A D | dir.c | 1033 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 D | inode.c | 935 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 D | mds_client.c | 1337 * 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 D | caps.c | 644 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 D | pci.c | 160 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 D | quirks.c | 2287 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 D | txtimestamp.c | 346 iph->ttl = 2; do_test()
|
/linux-4.4.14/drivers/staging/rtl8188eu/core/ |
H A D | rtw_ieee80211.c | 203 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 D | host.h | 951 u8 ttl; member in struct:cmd_ds_fwt_access
|
/linux-4.4.14/drivers/net/ppp/ |
H A D | pptp.c | 277 iph->ttl = ip4_dst_hoplimit(&rt->dst); pptp_xmit()
|
/linux-4.4.14/net/core/ |
H A D | netpoll.c | 460 iph->ttl = 64; netpoll_send_udp()
|
H A D | pktgen.c | 2884 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 D | act_api.c | 420 goto repeat; /* we need a ttl - JHS */ list_for_each_entry()
|
/linux-4.4.14/tools/testing/selftests/net/ |
H A D | psock_tpacket.c | 175 ip->ttl = 64; create_payload()
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
H A D | eeh-powernv.c | 323 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 D | ieee80211.h | 1110 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 D | ucc_geth.h | 474 u32 ttl; /* temporary variable handled by QE */ member in struct:ucc_geth_scheduler
|
/linux-4.4.14/net/dccp/ |
H A D | ipv4.c | 417 newinet->mc_ttl = ip_hdr(skb)->ttl; dccp_v4_request_recv_sock()
|
/linux-4.4.14/net/bridge/ |
H A D | br_multicast.c | 400 iph->ttl = 1; br_ip4_multicast_alloc_query()
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/ |
H A D | d3.c | 414 pkt->ip.ttl = 128; iwl_mvm_build_tcp_packet()
|
/linux-4.4.14/include/linux/ |
H A D | ieee80211.h | 634 u8 ttl; member in struct:ieee80211s_hdr
|
/linux-4.4.14/drivers/scsi/ |
H A D | scsi_transport_iscsi.c | 343 iscsi_iface_net_attr(ipv4_iface, ttl, ISCSI_NET_PARAM_IPV4_TTL);
|
/linux-4.4.14/drivers/infiniband/hw/nes/ |
H A D | nes_cm.c | 482 iph->ttl = 0x40; form_cm_frame()
|
/linux-4.4.14/net/sctp/ |
H A D | socket.c | 1885 * it with a default ttl from the assoc here. sctp_sendmsg()
|