Home
last modified time | relevance | path

Searched refs:rtm_type (Results 1 – 22 of 22) sorted by relevance

/dragonfly/usr.sbin/rtsold/
H A Drtsock.c108 "rtmsg type %d, len=%lu", rtm->rtm_type, in rtsock_input()
113 if (rtm->rtm_type != rtsock_dispatch[idx].type) in rtsock_input()
117 "rtmsg type %d too short!", rtm->rtm_type); in rtsock_input()
/dragonfly/sbin/routed/
H A Dtable.c687 w.w_rtm.rtm_type = action; in rtioctl()
888 rtm_type_name(rtm->rtm_type)); in rtm_add()
892 rtm_type_name(rtm->rtm_type), in rtm_add()
975 rtm_type_name(rtm->rtm_type)); in rtm_lose()
1158 if (m.r.rtm.rtm_type <= RTM_CHANGE in read_rt()
1168 if (m.r.rtm.rtm_type == RTM_IFINFO in read_rt()
1169 || m.r.rtm.rtm_type == RTM_NEWADDR in read_rt()
1176 rtm_type_name(m.r.rtm.rtm_type), in read_rt()
1181 rtm_type_name(m.r.rtm.rtm_type), in read_rt()
1201 if (m.r.rtm.rtm_type <= RTM_CHANGE) in read_rt()
[all …]
/dragonfly/libexec/bootpd/
H A Drtmsg.c233 rtm->rtm_type = cmd; in rtmsg()
243 } while (l > 0 && (rtm->rtm_type != cmd || rtm->rtm_seq != seq || rtm->rtm_pid != getpid())); in rtmsg()
/dragonfly/sys/net/
H A Drtsock.c196 offsetof(struct rt_msghdr, rtm_type) + sizeof(rtm->rtm_type)) in rts_filter()
202 !(rop->rocb_msgfilter & ROUTE_FILTER(rtm->rtm_type))) in rts_filter()
205 if (rop->rocb_missfilterlen != 0 && rtm->rtm_type == RTM_MISS) { in rts_filter()
622 msglen = rt_msgsize(rtm->rtm_type, rtinfo); in _fillrtmsg()
630 rt_msg_buffer(rtm->rtm_type, rtinfo, rtm, msglen); in _fillrtmsg()
736 if (rtm->rtm_type != RTM_GET && in route_output()
742 rtm->rtm_type != RTM_GET ? in route_output()
748 switch (rtm->rtm_type) { in route_output()
1101 rtm->rtm_type = type; in rt_msg_buffer()
1177 rtm->rtm_type = type; in rt_msg_mbuf()
H A Droute.h214 u_char rtm_type; /* message type */ member
/dragonfly/contrib/dhcpcd/src/
H A Dif-bsd.c703 rtm->rtm_type = cmd; in if_route()
863 if (rtm->rtm_type != RTM_MISS && !(rtm->rtm_addrs & RTA_GATEWAY)) { in if_copyrt()
909 if (rt->rt_ifp == NULL && rtm->rtm_type == RTM_MISS) in if_copyrt()
1278 (rt.rt_flags & RTF_HOST || rtm->rtm_type == RTM_MISS) && in if_rtm()
1279 !(rtm->rtm_type == RTM_ADD && !(rt.rt_dflags & RTDF_GATELINK))) in if_rtm()
1283 reachable = (rtm->rtm_type == RTM_ADD || in if_rtm()
1284 rtm->rtm_type == RTM_CHANGE) && in if_rtm()
1290 if (rtm->rtm_type != RTM_MISS && if_realroute(rtm)) in if_rtm()
1291 rt_recvrt(rtm->rtm_type, &rt, rtm->rtm_pid); in if_rtm()
1511 switch(rtm->rtm_type) { in if_dispatch()
/dragonfly/lib/libc/net/
H A Dgetifaddrs.c132 switch (rtm->rtm_type) { in getifaddrs()
210 switch (rtm->rtm_type) { in getifaddrs()
/dragonfly/sbin/route/
H A Droute.c296 rtm->rtm_type = RTM_DELETE; in flushroutes()
1310 rtm.rtm_type = cmd; in rtmsg()
1463 if (msgtypes[rtm->rtm_type] != NULL) in print_rtmsg()
1464 printf("%s: ", msgtypes[rtm->rtm_type]); in print_rtmsg()
1466 printf("#%d: ", rtm->rtm_type); in print_rtmsg()
1468 switch (rtm->rtm_type) { in print_rtmsg()
/dragonfly/usr.sbin/rtadvd/
H A Dif.c187 if (FILTER_MATCH(rtm->rtm_type, filter) == 0) in get_next_msg()
190 switch (rtm->rtm_type) { in get_next_msg()
H A Drtadvd.c483 "(type = %d, len = %d)", __func__, rtm->rtm_type, n); in rtmsg_input()
514 type = ((struct rt_msghdr *)next)->rtm_type; in rtmsg_input()
/dragonfly/bin/hostname/
H A Dhostname.c197 switch (rtm->rtm_type) { in main()
/dragonfly/usr.sbin/ppp/
H A Droute.c752 rtmes.m_rtm.rtm_type = cmd; in rt_Set()
820 rtmes.m_rtm.rtm_type = cmd = RTM_CHANGE; in rt_Set()
871 rtmes.m_rtm.rtm_type = RTM_CHANGE; in rt_Update()
H A Darp.c121 arpmsg.hdr.rtm_type = add ? RTM_ADD : RTM_DELETE; in arp_ProxySub()
/dragonfly/usr.sbin/rarpd/
H A Drarpd.c688 rt->rtm_type = RTM_GET; in update_arptab()
731 rt->rtm_type = RTM_ADD; in update_arptab()
/dragonfly/usr.sbin/route6d/
H A Droute6d.c1511 switch (((struct rt_msghdr *)p)->rtm_type) { in rtrecv()
1567 switch (((struct rt_msghdr *)p)->rtm_type) { in rtrecv()
1609 switch (((struct rt_msghdr *)p)->rtm_type) { in rtrecv()
2224 if (rtm->rtm_type == (f)) \ in rttypes()
2596 rtm->rtm_type = RTM_ADD; in addroute()
2661 rtm->rtm_type = RTM_DELETE; in delroute()
2720 rtm->rtm_type = RTM_GET;
/dragonfly/tools/tools/net80211/wlanwatch/
H A Dwlanwatch.c279 switch (rtm->rtm_type) { in print_rtmsg()
/dragonfly/tools/tools/net80211/wlanwds/
H A Dwlanwds.c307 switch (rtm->rtm_type) { in handle_rtmsg()
/dragonfly/usr.sbin/arp/
H A Darp.c671 rtm->rtm_type = cmd; in rtmsg()
/dragonfly/contrib/wpa_supplicant/src/drivers/
H A Ddriver_bsd.c799 switch (rtm->rtm_type) { in bsd_wireless_event_receive()
1239 switch (rtm->rtm_type) { in wpa_driver_bsd_event_receive()
/dragonfly/usr.sbin/ndp/
H A Dndp.c892 rtm->rtm_type = cmd; in rtmsg()
/dragonfly/sbin/dhclient/
H A Ddhclient.c181 switch (rtm->rtm_type) { in routehandler()
/dragonfly/sbin/ifconfig/
H A Difieee80211.c3544 } while (rtm->rtm_type != RTM_IEEE80211 || in scan_and_wait()