Home
last modified time | relevance | path

Searched refs:rthdr0 (Results 1 – 2 of 2) sorted by relevance

/glibc-2.36/inet/
Dinet6_rth.c91 struct ip6_rthdr0 *rthdr0; in inet6_rth_add() local
93 rthdr0 = (struct ip6_rthdr0 *) rthdr; in inet6_rth_add()
94 if (rthdr0->ip6r0_len * 8 / sizeof (struct in6_addr) in inet6_rth_add()
95 - rthdr0->ip6r0_segleft < 1) in inet6_rth_add()
98 memcpy (&rthdr0->ip6r0_addr[rthdr0->ip6r0_segleft++], in inet6_rth_add()
184 struct ip6_rthdr0 *rthdr0; in inet6_rth_getaddr() local
186 rthdr0 = (struct ip6_rthdr0 *) rthdr; in inet6_rth_getaddr()
188 if (index >= rthdr0->ip6r0_len * 8 / sizeof (struct in6_addr)) in inet6_rth_getaddr()
191 return &rthdr0->ip6r0_addr[index]; in inet6_rth_getaddr()
Dtst-inet6_rth.c72 struct ip6_rthdr0 rthdr0; in do_test() member
80 if (buf2.rthdr0.ip6r0_segleft != nseg) in do_test()