Searched refs:hop_limit (Results 1 – 20 of 20) sorted by relevance
29 return (ip6h->hop_limit == info->hop_limit); in match()32 return (!(ip6h->hop_limit == info->hop_limit)); in match()35 return (ip6h->hop_limit < info->hop_limit); in match()38 return (ip6h->hop_limit > info->hop_limit); in match()
140 u_int8_t hop_limit; in ip6t_local_hook() local157 hop_limit = (*pskb)->nh.ipv6h->hop_limit; in ip6t_local_hook()168 || (*pskb)->nh.ipv6h->hop_limit != hop_limit)) { in ip6t_local_hook()
81 ipv6h->hop_limit, in dump_packet()
125 if (skb->nh.ipv6h->hop_limit == 0) { in ip6_output()232 hlimit = np->hop_limit; in ip6_xmit()238 hdr->hop_limit = hlimit; in ip6_xmit()283 hdr->hop_limit = np->hop_limit; in ip6_nd_hdr()302 hdr->hop_limit = hlimit; in ip6_bld_1()584 hlimit = np->hop_limit; in ip6_build_xmit()762 if (hdr->hop_limit <= 1) { in ip6_forward()818 hdr->hop_limit--; in ip6_forward()
1000 in6_dev->cnf.hop_limit = ra_msg->icmph.icmp6_hop_limit; in ndisc_router_discovery()1317 if (skb->nh.ipv6h->hop_limit != 255) { in ndisc_rcv()1321 skb->nh.ipv6h->hop_limit); in ndisc_rcv()1398 sk->net_pinfo.af_inet6.hop_limit = 255; in ndisc_init()
325 np->hop_limit = val; in ipv6_setsockopt()655 val = np->hop_limit; in ipv6_getsockopt()
302 if (skb->nh.ipv6h->hop_limit <= 1) { in ipv6_routing_header()308 skb->nh.ipv6h->hop_limit--; in ipv6_routing_header()
219 int hlim = skb->nh.ipv6h->hop_limit; in datagram_recv_ctl()
174 sk->net_pinfo.af_inet6.hop_limit = -1; in inet6_create()
1281 newsk->net_pinfo.af_inet6.mcast_hops = skb->nh.ipv6h->hop_limit; in tcp_v6_syn_recv_sock()1373 np->mcast_hops = skb->nh.ipv6h->hop_limit; in tcp_v6_syn_recv_sock()1546 sk->net_pinfo.af_inet6.mcast_hops = opt_skb->nh.ipv6h->hop_limit; in tcp_v6_do_rcv()
595 iph->ttl = iph6->hop_limit; in ipip6_tunnel_xmit()
701 int hoplimit = ipv6_devconf.hop_limit; in ipv6_get_hoplimit()706 hoplimit = idev->cnf.hop_limit; in ipv6_get_hoplimit()
1989 array[DEVCONF_HOPLIMIT] = cnf->hop_limit; in ipv6_store_devconf()2173 &ipv6_devconf.hop_limit, sizeof(int), 0644, NULL,
2248 sk->net_pinfo.af_inet6.hop_limit = 1; in igmp6_init()
97 __u8 hop_limit; member108 __s32 hop_limit; member
41 __u8 hop_limit; member69 #define icmp6_hop_limit icmp6_dataun.u_nd_ra.hop_limit
18 u_int8_t hop_limit; member
155 int hop_limit; member
846 iph->ttl = ((struct ipv6hdr*)old_iph)->hop_limit; in ipgre_tunnel_xmit()
683 hop_limit - INTEGER