Searched refs:rthdr0 (Results 1 – 2 of 2) sorted by relevance
91 struct ip6_rthdr0 *rthdr0; in inet6_rth_add() local93 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() local186 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()
72 struct ip6_rthdr0 rthdr0; in do_test() member80 if (buf2.rthdr0.ip6r0_segleft != nseg) in do_test()