Home
last modified time | relevance | path

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

/net/ipv6/
Dexthdrs.c678 int hops; in ipv6_push_rthdr() local
685 hops = ihdr->rt_hdr.hdrlen >> 1; in ipv6_push_rthdr()
687 if (hops > 1) in ipv6_push_rthdr()
689 (hops - 1) * sizeof(struct in6_addr)); in ipv6_push_rthdr()
691 ipv6_addr_copy(phdr->addr + (hops - 1), *addr_p); in ipv6_push_rthdr()
/net/decnet/
Ddn_neigh.c262 lp->visit_ct = cb->hops & 0x3f; in dn_long_output()
303 sp->forward = cb->hops & 0x3f; in dn_short_output()
345 sp->forward = cb->hops & 0x3f; in dn_phase3_output()
Ddn_route.c522 cb->hops = *ptr++; /* Visit Count */ in dn_route_rx_long()
548 cb->hops = *ptr & 0x3f; in dn_route_rx_short()
708 cb->hops = 0; in dn_output()
745 if (++cb->hops > 30) in dn_forward()
/net/ipv4/
Dipconfig.c540 u8 hops; /* Used only by gateways */ member