Home
last modified time | relevance | path

Searched refs:rt_msghdr (Results 1 – 25 of 25) sorted by relevance

/dragonfly/usr.sbin/rtsold/
H A Drtsock.c60 static int rtsock_input_ifannounce(int, struct rt_msghdr *, char *);
66 int (*func)(int, struct rt_msghdr *, char *);
88 struct rt_msghdr *rtm; in rtsock_input()
93 offsetof(struct rt_msghdr, rtm_msglen) + sizeof(rtm->rtm_msglen); in rtsock_input()
99 rtm = (struct rt_msghdr *)next; in rtsock_input()
131 rtsock_input_ifannounce(int s __unused, struct rt_msghdr *rtm, char *lim) in rtsock_input_ifannounce()
/dragonfly/usr.sbin/arp/
H A Darp.c71 struct sockaddr_inarp *sin, struct rt_msghdr *rtm));
73 struct sockaddr_inarp *addr, struct rt_msghdr *rtm);
75 struct sockaddr_inarp *addr, struct rt_msghdr *rtm);
100 struct rt_msghdr m_rtm;
275 struct rt_msghdr *rtm = &(m_rtmsg.m_rtm); in set()
402 struct rt_msghdr *rtm = &m_rtmsg.m_rtm; in delete()
474 struct sockaddr_inarp *sin, struct rt_msghdr *rtm)) in search()
480 struct rt_msghdr *rtm; in search()
504 rtm = (struct rt_msghdr *)next; in search()
525 struct sockaddr_inarp *addr, struct rt_msghdr *rtm) in print_entry()
[all …]
/dragonfly/usr.sbin/rtadvd/
H A Dif.c164 struct rt_msghdr *rtm; in get_next_msg()
169 for (rtm = (struct rt_msghdr *)buf; in get_next_msg()
170 rtm < (struct rt_msghdr *)lim; in get_next_msg()
171 rtm = (struct rt_msghdr *)(((char *)rtm) + rtm->rtm_msglen)) { in get_next_msg()
179 if (((struct rt_msghdr *)buf)->rtm_version != RTM_VERSION) { in get_next_msg()
258 struct rt_msghdr *rtm = (struct rt_msghdr *)buf; in get_addr()
270 struct rt_msghdr *rtm = (struct rt_msghdr *)buf; in get_rtm_ifindex()
282 struct rt_msghdr *rtm = (struct rt_msghdr *)buf; in get_prefixlen()
H A Drtadvd.c468 struct rt_msghdr *rtm; in rtmsg_input()
481 rtm = (struct rt_msghdr *)msg; in rtmsg_input()
514 type = ((struct rt_msghdr *)next)->rtm_type; in rtmsg_input()
/dragonfly/sys/net/
H A Drtsock.c180 const struct rt_msghdr *rtm; in rts_filter()
640 struct rt_msghdr *bak_rtm;
641 struct rt_msghdr *new_rtm;
845 struct rt_msghdr *rtm = arg; in route_output_add_callback()
909 struct rt_msghdr *rtm = arg; in route_output_change_callback()
1095 struct rt_msghdr *rtm; in rt_msg_buffer()
1132 struct rt_msghdr *rtm; in rt_msg_mbuf()
1191 struct rt_msghdr *rtm; in rt_missmsg()
1209 struct rt_msghdr *rtm; in rt_dstmsg()
1284 struct rt_msghdr *rtm; in rt_rtmsg()
[all …]
H A Droute.h211 struct rt_msghdr { struct
/dragonfly/usr.sbin/ppp/
H A Droute.h34 struct rt_msghdr;
70 extern void route_ParseHdr(struct rt_msghdr *, struct sockaddr *[RTAX_MAX]);
H A Droute.c311 route_ParseHdr(struct rt_msghdr *rtm, struct sockaddr *sa[RTAX_MAX]) in route_ParseHdr()
331 struct rt_msghdr *rtm; in route_Show()
360 rtm = (struct rt_msghdr *)cp; in route_Show()
383 struct rt_msghdr *rtm; in route_IfDelete()
429 rtm = (struct rt_msghdr *)cp; in route_IfDelete()
475 struct rt_msghdr *rtm; in route_UpdateMTU()
509 rtm = (struct rt_msghdr *)cp; in route_UpdateMTU()
695 struct rt_msghdr m_rtm;
H A Darp.c93 struct rt_msghdr hdr;
/dragonfly/usr.sbin/route6d/
H A Droute6d.c1480 struct rt_msghdr *rtm; in rtrecv()
1524 rtm = (struct rt_msghdr *)p; in rtrecv()
2220 rttypes(struct rt_msghdr *rtm) in rttypes()
2256 rtflags(struct rt_msghdr *rtm) in rtflags()
2365 struct rt_msghdr *rtm; in krtread()
2404 rtm = (struct rt_msghdr *)p; in krtread()
2577 struct rt_msghdr *rtm; in addroute()
2595 rtm = (struct rt_msghdr *)buf; in addroute()
2646 struct rt_msghdr *rtm; in delroute()
2660 rtm = (struct rt_msghdr *)buf; in delroute()
[all …]
/dragonfly/sbin/route/
H A Dshow.c91 static void p_rtentry(struct rt_msghdr *);
103 struct rt_msghdr *rtm; in show()
166 rtm = (struct rt_msghdr *)next; in show()
196 p_rtentry(struct rt_msghdr *rtm) in p_rtentry()
H A Droute.c112 static void print_getmsg(struct rt_msghdr *, int);
113 static void print_rtmsg(struct rt_msghdr *, int);
114 static void pmsg_common(struct rt_msghdr *);
231 struct rt_msghdr *rtm; in flushroutes()
283 rtm = (struct rt_msghdr *)next; in flushroutes()
1227 struct rt_msghdr *rtm; in interfaces()
1243 rtm = (struct rt_msghdr *)next; in interfaces()
1271 print_rtmsg((struct rt_msghdr *)msg, n); in monitor()
1276 struct rt_msghdr m_rtm;
1585 print_getmsg(struct rt_msghdr *rtm, int msglen) in print_getmsg()
[all …]
/dragonfly/libexec/bootpd/
H A Drtmsg.c110 struct rt_msghdr m_rtm;
122 struct rt_msghdr *rtm = &(m_rtmsg.m_rtm); in bsd_arp_set()
189 struct rt_msghdr *rtm = &m_rtmsg.m_rtm; in rtmsg()
/dragonfly/lib/libc/net/
H A Dgetifaddrs.c84 struct rt_msghdr *rtm; in getifaddrs()
129 rtm = (struct rt_msghdr *)(void *)next; in getifaddrs()
207 rtm = (struct rt_msghdr *)(void *)next; in getifaddrs()
/dragonfly/tools/tools/net80211/wlanwatch/
H A Dwlanwatch.c71 static void print_rtmsg(struct rt_msghdr *rtm, int msglen);
86 print_rtmsg((struct rt_msghdr *)msg, n); in main()
267 print_rtmsg(struct rt_msghdr *rtm, int msglen) in print_rtmsg()
/dragonfly/tools/tools/net80211/wlanwds/
H A Dwlanwds.c88 static void handle_rtmsg(struct rt_msghdr *rtm, ssize_t msglen);
163 handle_rtmsg((struct rt_msghdr *)msg, n); in main()
298 handle_rtmsg(struct rt_msghdr *rtm, ssize_t msglen) in handle_rtmsg()
/dragonfly/bin/hostname/
H A Dhostname.c114 struct rt_msghdr *rtm; in main()
194 rtm = (struct rt_msghdr *)(void *)next; in main()
/dragonfly/contrib/dhcpcd/src/
H A Dif-bsd.c118 struct rt_msghdr hdr;
686 struct rt_msghdr *rtm = &rtmsg.hdr; in if_route()
832 if_realroute(const struct rt_msghdr *rtm) in if_realroute()
855 if_copyrt(struct dhcpcd_ctx *ctx, struct rt *rt, const struct rt_msghdr *rtm) in if_copyrt()
938 struct rt_msghdr *rtm; in if_initrt()
1246 if_rtm(struct dhcpcd_ctx *ctx, const struct rt_msghdr *rtm) in if_rtm()
1505 if_dispatch(struct dhcpcd_ctx *ctx, const struct rt_msghdr *rtm) in if_dispatch()
1609 __CTASSERT(offsetof(struct rt_msghdr, rtm_msglen) == 0);
/dragonfly/usr.sbin/ndp/
H A Dndp.c370 struct rt_msghdr m_rtm;
382 struct rt_msghdr *rtm = &(m_rtmsg.m_rtm); in set()
498 struct rt_msghdr *rtm = &m_rtmsg.m_rtm; in delete()
577 struct rt_msghdr *rtm; in dump()
616 rtm = (struct rt_msghdr *)next; in dump()
851 struct rt_msghdr *rtm = &m_rtmsg.m_rtm; in rtmsg()
/dragonfly/usr.bin/netstat/
H A Droute.c114 static void np_rtentry (struct rt_msghdr *);
523 struct rt_msghdr *rtm; in ntreestuff()
549 rtm = (struct rt_msghdr *)next; in ntreestuff()
555 np_rtentry(struct rt_msghdr *rtm) in np_rtentry()
/dragonfly/sbin/routed/
H A Dtable.c674 struct rt_msghdr w_rtm; in rtioctl()
865 rtm_add(struct rt_msghdr *rtm, in rtm_add()
969 rtm_lose(struct rt_msghdr *rtm, in rtm_lose()
1027 struct rt_msghdr *rtm; in flush_kern()
1068 rtm = (struct rt_msghdr *)next; in flush_kern()
1133 struct rt_msghdr rtm; in read_rt()
/dragonfly/contrib/wpa_supplicant/src/drivers/
H A Ddriver_bsd.c778 struct rt_msghdr *rtm; in bsd_wireless_event_receive()
793 rtm = (struct rt_msghdr *) global->event_buf; in bsd_wireless_event_receive()
1217 struct rt_msghdr *rtm; in wpa_driver_bsd_event_receive()
1232 rtm = (struct rt_msghdr *) global->event_buf; in wpa_driver_bsd_event_receive()
/dragonfly/usr.sbin/rarpd/
H A Drarpd.c654 struct rt_msghdr rthdr;
664 struct rt_msghdr *rt; in update_arptab()
/dragonfly/sbin/dhclient/
H A Ddhclient.c162 struct rt_msghdr *rtm; in routehandler()
176 rtm = (struct rt_msghdr *)msg; in routehandler()
/dragonfly/sbin/ifconfig/
H A Difieee80211.c3533 struct rt_msghdr *rtm; in scan_and_wait()
3540 rtm = (struct rt_msghdr *) buf; in scan_and_wait()