Home
last modified time | relevance | path

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

/f-stack/lib/
H A Dff_route.c536 if (rtm->rtm_type != RTM_GET) { in fill_addrinfo()
831 rtm->rtm_type = type; in rtsock_msg_buffer()
975 rtsock_msg_buffer(rtm->rtm_type, info, NULL, &len); in update_rtm_from_rc()
999 rtsock_msg_buffer(rtm->rtm_type, info, &w, &len); in update_rtm_from_rc()
1111 switch (rtm->rtm_type) { in ff_rtioctl()
1114 if (rtm->rtm_type == RTM_ADD) { in ff_rtioctl()
1118 error = rib_action(fibnum, rtm->rtm_type, &info, &rc); in ff_rtioctl()
1345 switch (rtm->rtm_type) {
1410 rtm->rtm_type == RTM_GET) {
1520 rtsock_msg_buffer(rtm->rtm_type, &info, NULL, &len);
[all …]
/f-stack/tools/compat/
H A Dgetifmaddrs.c92 switch (rtm->rtm_type) { in getifmaddrs()
129 switch (rtm->rtm_type) { in getifmaddrs()
H A Dgetifaddrs.c143 switch (rtm->rtm_type) { in getifaddrs()
226 switch (rtm->rtm_type) { in getifaddrs()
/f-stack/tools/route/
H A Droute.c550 rtm->rtm_type = RTM_DELETE; in flushroutes_fib()
1596 rtm.rtm_type = cmd;
1647 (rtm.rtm_type != RTM_GET || rtm.rtm_seq != rtm_seq ||
1724 if (rtm->rtm_type < nitems(msgtypes))
1725 (void)printf("%s: ", msgtypes[rtm->rtm_type]);
1727 (void)printf("unknown type %d: ", rtm->rtm_type);
1737 switch (rtm->rtm_type) {
1793 if (rtm->rtm_type <= RTM_RESOLVE) {
1799 printf("type: %u, len: %zu\n", rtm->rtm_type, msglen);
/f-stack/freebsd/net/
H A Drtsock.c651 if (rtm->rtm_type != RTM_GET) { in fill_addrinfo()
930 rtsock_msg_buffer(rtm->rtm_type, info, NULL, &len); in update_rtm_from_rc()
950 rtsock_msg_buffer(rtm->rtm_type, info, &w, &len); in update_rtm_from_rc()
1072 switch (rtm->rtm_type) { in route_output()
1075 if (rtm->rtm_type == RTM_ADD) { in route_output()
1079 error = rib_action(fibnum, rtm->rtm_type, &info, &rc); in route_output()
1626 rtm->rtm_type = type; in rtsock_msg_mbuf()
1753 rtm->rtm_type = type; in rtsock_msg_buffer()
H A Droute.h256 u_char rtm_type; /* message type */ member
H A Dif_llatbl.c717 switch (rtm->rtm_type) { in lla_rt_output()
/f-stack/tools/compat/include/net/
H A Droute.h254 u_char rtm_type; /* message type */ member
/f-stack/tools/arp/
H A Darp.c825 rtm->rtm_type = cmd; in rtmsg()
835 } while (l > 0 && (rtm->rtm_type != cmd || rtm->rtm_seq != seq || in rtmsg()
/f-stack/tools/ndp/
H A Dndp.c974 rtm->rtm_type = cmd; in rtmsg()
984 } while (l > 0 && (rtm->rtm_type != cmd || rtm->rtm_seq != seq || in rtmsg()
/f-stack/freebsd/net/route/
H A Dnhgrp_ctl.c728 rtm->rtm_type = RTM_GET; in dump_nhgrp_entry()
H A Dnhop_ctl.c823 arpc.rtm.rtm_type = RTM_GET; in dump_nhop_entry()
/f-stack/freebsd/netinet/
H A Din.c1633 arpc.rtm.rtm_type = RTM_GET; in in_lltable_dump_entry()
/f-stack/freebsd/netinet6/
H A Din6.c2422 ndpc.rtm.rtm_type = RTM_GET; in in6_lltable_dump_entry()
/f-stack/tools/ifconfig/
H A Difieee80211.c3820 } while (rtm->rtm_type != RTM_IEEE80211 || in scan_and_wait()