Lines Matching defs:rthdr
1 /* $KAME: rthdr.c,v 1.19 2003/06/06 10:48:51 itojun Exp $ */
71 struct ip6_rthdr *rthdr;
73 rthdr = (struct ip6_rthdr *)CMSG_DATA(ch);
87 bzero(rthdr, sizeof(struct ip6_rthdr0));
88 rthdr->ip6r_type = IPV6_RTHDR_TYPE_0;
99 struct ip6_rthdr *rthdr;
101 rthdr = (struct ip6_rthdr *)CMSG_DATA(cmsg);
103 switch (rthdr->ip6r_type) {
106 struct ip6_rthdr0 *rt0 = (struct ip6_rthdr0 *)rthdr;
141 struct ip6_rthdr *rthdr;
143 rthdr = (struct ip6_rthdr *)CMSG_DATA(cmsg);
145 switch (rthdr->ip6r_type) {
148 struct ip6_rthdr0 *rt0 = (struct ip6_rthdr0 *)rthdr;
187 struct ip6_rthdr *rthdr;
189 rthdr = (struct ip6_rthdr *)CMSG_DATA(cmsg);
191 switch (rthdr->ip6r_type) {
194 struct ip6_rthdr0 *rt0 = (struct ip6_rthdr0 *)rthdr;
210 struct ip6_rthdr *rthdr;
212 rthdr = (struct ip6_rthdr *)CMSG_DATA(cmsg);
214 switch (rthdr->ip6r_type) {
217 struct ip6_rthdr0 *rt0 = (struct ip6_rthdr0 *)rthdr;
240 struct ip6_rthdr *rthdr;
242 rthdr = (struct ip6_rthdr *)CMSG_DATA(cmsg);
244 switch (rthdr->ip6r_type) {
247 struct ip6_rthdr0 *rt0 = (struct ip6_rthdr0 *)rthdr;