Home
last modified time | relevance | path

Searched refs:hops (Results 1 – 3 of 3) sorted by relevance

/net/ipv6/
Dexthdrs.c870 int hops; in ipv6_push_rthdr0() local
877 hops = ihdr->rt_hdr.hdrlen >> 1; in ipv6_push_rthdr0()
879 if (hops > 1) in ipv6_push_rthdr0()
881 (hops - 1) * sizeof(struct in6_addr)); in ipv6_push_rthdr0()
883 phdr->addr[hops - 1] = **addr_p; in ipv6_push_rthdr0()
895 int plen, hops; in ipv6_push_rthdr4() local
903 hops = sr_ihdr->first_segment + 1; in ipv6_push_rthdr4()
905 (hops - 1) * sizeof(struct in6_addr)); in ipv6_push_rthdr4()
910 if (sr_ihdr->hdrlen > hops * 2) { in ipv6_push_rthdr4()
913 tlvs_offset = (1 + hops * 2) << 3; in ipv6_push_rthdr4()
[all …]
/net/batman-adv/
Ddistributed-arp-table.c79 __u8 hops; member
1542 __u8 hops; in batadv_dat_check_dhcp() member
/net/ipv4/
Dipconfig.c609 u8 hops; /* Used only by gateways */ member