Lines Matching refs:rtm
98 struct rt_msghdr *rtm; in rtsock_input() local
103 offsetof(struct rt_msghdr, rtm_msglen) + sizeof(rtm->rtm_msglen); in rtsock_input()
109 rtm = (struct rt_msghdr *)(void *)next; in rtsock_input()
112 len = rtm->rtm_msglen; in rtsock_input()
118 "rtmsg type %d, len=%lu", rtm->rtm_type, in rtsock_input()
123 if (rtm->rtm_type != rtsock_dispatch[idx].type) in rtsock_input()
125 if (rtm->rtm_msglen < rtsock_dispatch[idx].minlen) { in rtsock_input()
127 "rtmsg type %d too short!", rtm->rtm_type); in rtsock_input()
131 ret = (*rtsock_dispatch[idx].func)(s, rtm, lim); in rtsock_input()
140 rtsock_input_ifannounce(int s __unused, struct rt_msghdr *rtm, char *lim) in rtsock_input_ifannounce() argument
145 ifan = (struct if_announcemsghdr *)rtm; in rtsock_input_ifannounce()