Lines Matching refs:rt_msghdr
216 static const char *rttypes(struct rt_msghdr *);
217 static const char *rtflags(struct rt_msghdr *);
227 static void rt_entry(struct rt_msghdr *, int);
1696 struct rt_msghdr *rtm; in rtrecv()
1731 ((struct rt_msghdr *)(void *)p)->rtm_msglen) { in rtrecv()
1732 if (((struct rt_msghdr *)(void *)p)->rtm_version != RTM_VERSION) in rtrecv()
1736 if (((struct rt_msghdr *)(void *)p)->rtm_msglen <= 0) { in rtrecv()
1738 ((struct rt_msghdr *)(void *)p)->rtm_msglen); in rtrecv()
1744 switch (((struct rt_msghdr *)(void *)p)->rtm_type) { in rtrecv()
1769 rtm = (struct rt_msghdr *)(void *)p; in rtrecv()
1804 rttypes((struct rt_msghdr *)(void *)p), addrs); in rtrecv()
1807 i < ((struct rt_msghdr *)(void *)p)->rtm_msglen; in rtrecv()
1821 switch (((struct rt_msghdr *)(void *)p)->rtm_type) { in rtrecv()
1862 switch (((struct rt_msghdr *)(void *)p)->rtm_type) { in rtrecv()
2464 rttypes(struct rt_msghdr *rtm) in rttypes()
2499 rtflags(struct rt_msghdr *rtm) in rtflags()
2600 struct rt_msghdr *rtm; in krtread()
2643 rtm = (struct rt_msghdr *)(void *)p; in krtread()
2650 rt_entry(struct rt_msghdr *rtm, int again) in rt_entry()
2817 struct rt_msghdr *rtm; in addroute()
2835 rtm = (struct rt_msghdr *)(void *)buf; in addroute()
2845 sin6 = (struct sockaddr_in6 *)(void *)&buf[sizeof(struct rt_msghdr)]; in addroute()
2889 struct rt_msghdr *rtm; in delroute()
2903 rtm = (struct rt_msghdr *)(void *)buf; in delroute()
2913 sin6 = (struct sockaddr_in6 *)(void *)&buf[sizeof(struct rt_msghdr)]; in delroute()
2958 struct rt_msghdr *rtm;
2961 rtm = (struct rt_msghdr *)(void *)buf;
2962 len = sizeof(struct rt_msghdr) + sizeof(struct sockaddr_in6);
2970 sin6 = (struct sockaddr_in6 *)(void *)&buf[sizeof(struct rt_msghdr)];
2985 rtm = (struct rt_msghdr *)(void *)buf;
2988 sin6 = (struct sockaddr_in6 *)(void *)&buf[sizeof(struct rt_msghdr)];