Lines Matching defs:rthdr
1 /* $KAME: rthdr.c,v 1.19 2003/06/06 10:48:51 itojun Exp $ */
75 struct ip6_rthdr *rthdr;
77 rthdr = (struct ip6_rthdr *)CMSG_DATA(ch);
91 bzero(rthdr, sizeof(struct ip6_rthdr0));
92 rthdr->ip6r_type = IPV6_RTHDR_TYPE_0;
106 struct ip6_rthdr *rthdr;
108 rthdr = (struct ip6_rthdr *)CMSG_DATA(cmsg);
110 switch (rthdr->ip6r_type) {
113 struct ip6_rthdr0 *rt0 = (struct ip6_rthdr0 *)rthdr;
150 struct ip6_rthdr *rthdr;
152 rthdr = (struct ip6_rthdr *)CMSG_DATA(cmsg);
154 switch (rthdr->ip6r_type) {
157 struct ip6_rthdr0 *rt0 = (struct ip6_rthdr0 *)rthdr;
199 struct ip6_rthdr *rthdr;
201 rthdr = (struct ip6_rthdr *)CMSG_DATA(cmsg);
203 switch (rthdr->ip6r_type) {
206 struct ip6_rthdr0 *rt0 = (struct ip6_rthdr0 *)rthdr;
224 struct ip6_rthdr *rthdr;
226 rthdr = (struct ip6_rthdr *)CMSG_DATA(cmsg);
228 switch (rthdr->ip6r_type) {
231 struct ip6_rthdr0 *rt0 = (struct ip6_rthdr0 *)rthdr;
256 struct ip6_rthdr *rthdr;
258 rthdr = (struct ip6_rthdr *)CMSG_DATA(cmsg);
260 switch (rthdr->ip6r_type) {
263 struct ip6_rthdr0 *rt0 = (struct ip6_rthdr0 *)rthdr;