Lines Matching refs:rtm
88 struct rt_msghdr *rtm; in rtsock_input() local
93 offsetof(struct rt_msghdr, rtm_msglen) + sizeof(rtm->rtm_msglen); in rtsock_input()
99 rtm = (struct rt_msghdr *)next; in rtsock_input()
102 len = rtm->rtm_msglen; in rtsock_input()
108 "rtmsg type %d, len=%lu", rtm->rtm_type, in rtsock_input()
113 if (rtm->rtm_type != rtsock_dispatch[idx].type) in rtsock_input()
115 if (rtm->rtm_msglen < rtsock_dispatch[idx].minlen) { in rtsock_input()
117 "rtmsg type %d too short!", rtm->rtm_type); in rtsock_input()
121 ret = (*rtsock_dispatch[idx].func)(s, rtm, lim); in rtsock_input()
131 rtsock_input_ifannounce(int s __unused, struct rt_msghdr *rtm, char *lim) in rtsock_input_ifannounce() argument
136 ifan = (struct if_announcemsghdr *)rtm; in rtsock_input_ifannounce()