| /f-stack/lib/ |
| H A D | ff_route.c | 522 if (rt_xaddrs((caddr_t)(rtm + 1), len + (caddr_t)rtm, info)) in fill_addrinfo() 944 rtm = *prtm; in update_rtm_from_rc() 986 bcopy(rtm, tmp_rtm, rtm->rtm_msglen); in update_rtm_from_rc() 1011 *prtm = rtm; in update_rtm_from_rc() 1064 if (len < sizeof(*rtm) || len != rtm->rtm_msglen) in ff_rtioctl() 1073 rtm = NULL; in ff_rtioctl() 1222 bcopy((caddr_t)rtm, data, rtm->rtm_msglen); in ff_rtioctl() 1268 if (len < sizeof(*rtm) || len != rtm->rtm_msglen) 1294 if (rt_xaddrs((caddr_t)(rtm + 1), len + (caddr_t)rtm, &info)) 1533 bcopy(rtm, new_rtm, rtm->rtm_msglen); [all …]
|
| /f-stack/tools/arp/ |
| H A D | arp.c | 100 struct rt_msghdr *rtm); 357 struct rt_msghdr *rtm; in set() local 443 if (rtm == NULL) { in set() 502 struct rt_msghdr *rtm; in delete() local 516 if (rtm == NULL) { in delete() 567 struct rt_msghdr *rtm; in search() local 823 l = rtm->rtm_msglen; in rtmsg() 824 rtm->rtm_seq = ++seq; in rtmsg() 825 rtm->rtm_type = cmd; in rtmsg() 835 } while (l > 0 && (rtm->rtm_type != cmd || rtm->rtm_seq != seq || in rtmsg() [all …]
|
| /f-stack/tools/route/ |
| H A D | route.c | 499 struct rt_msghdr *rtm; in flushroutes_fib() local 539 print_rtmsg(rtm, rtm->rtm_msglen); in flushroutes_fib() 551 rtm->rtm_seq = seqno; in flushroutes_fib() 1482 struct rt_msghdr *rtm; in interfaces() local 1507 print_rtmsg(rtm, rtm->rtm_msglen); in interfaces() 1596 rtm.rtm_type = cmd; 1597 rtm.rtm_flags = flags; 1647 (rtm.rtm_type != RTM_GET || rtm.rtm_seq != rtm_seq || 1662 #undef rtm 1795 (long)rtm->rtm_pid, rtm->rtm_seq, rtm->rtm_errno); [all …]
|
| /f-stack/tools/compat/ |
| H A D | getifmaddrs.c | 64 struct rt_msghdr *rtm; in getifmaddrs() local 88 for (next = buf; next < buf + needed; next += rtm->rtm_msglen) { in getifmaddrs() 89 rtm = (struct rt_msghdr *)(void *)next; in getifmaddrs() 90 if (rtm->rtm_version != RTM_VERSION) in getifmaddrs() 92 switch (rtm->rtm_type) { in getifmaddrs() 94 ifmam = (struct ifma_msghdr *)(void *)rtm; in getifmaddrs() 124 for (next = buf; next < buf + needed; next += rtm->rtm_msglen) { in getifmaddrs() 125 rtm = (struct rt_msghdr *)(void *)next; in getifmaddrs() 126 if (rtm->rtm_version != RTM_VERSION) in getifmaddrs() 129 switch (rtm->rtm_type) { in getifmaddrs() [all …]
|
| H A D | getifaddrs.c | 94 struct rt_msghdr *rtm; in getifaddrs() local 140 rtm = (struct rt_msghdr *)(void *)next; in getifaddrs() 141 if (rtm->rtm_version != RTM_VERSION) in getifaddrs() 143 switch (rtm->rtm_type) { in getifaddrs() 145 ifm = (struct if_msghdrl *)(void *)rtm; in getifaddrs() 160 ifam = (struct ifa_msghdrl *)(void *)rtm; in getifaddrs() 223 rtm = (struct rt_msghdr *)(void *)next; in getifaddrs() 224 if (rtm->rtm_version != RTM_VERSION) in getifaddrs() 226 switch (rtm->rtm_type) { in getifaddrs() 228 ifm = (struct if_msghdrl *)(void *)rtm; in getifaddrs() [all …]
|
| /f-stack/tools/netstat/ |
| H A D | nhgrp.c | 201 struct rt_msghdr *rtm; in dump_nhgrp_sysctl() local 230 rtm = (struct rt_msghdr *)next; in dump_nhgrp_sysctl() 231 if (rtm->rtm_version != RTM_VERSION) in dump_nhgrp_sysctl() 239 nhg = (struct nhgrp_external *)(rtm + 1); in dump_nhgrp_sysctl() 241 nhg_map[nhg_count].rtm = rtm; in dump_nhgrp_sysctl() 257 struct rt_msghdr *rtm; in print_nhgrp_sysctl() local 272 rtm = nd.nh_map[i].rtm; in print_nhgrp_sysctl() 273 nhg = (struct nhgrp_external *)(rtm + 1); in print_nhgrp_sysctl() 316 struct rt_msghdr *rtm; in prepare_nh_map() local 321 rtm = nd.nh_map[i].rtm; in prepare_nh_map() [all …]
|
| H A D | nhops.c | 349 struct rt_msghdr *rtm; in dump_nhops_sysctl() local 377 for (next = buf; next < lim; next += rtm->rtm_msglen) { in dump_nhops_sysctl() 378 rtm = (struct rt_msghdr *)next; in dump_nhops_sysctl() 379 if (rtm->rtm_version != RTM_VERSION) in dump_nhops_sysctl() 387 nh = (struct nhop_external *)(rtm + 1); in dump_nhops_sysctl() 389 nh_map[nh_count].rtm = rtm; in dump_nhops_sysctl() 406 struct rt_msghdr *rtm; in print_nhops_sysctl() local 413 nh = (struct nhop_external *)(nd.nh_map[0].rtm + 1); in print_nhops_sysctl() 432 rtm = nd.nh_map[i].rtm; in print_nhops_sysctl() 433 nh = (struct nhop_external *)(rtm + 1); in print_nhops_sysctl() [all …]
|
| H A D | route.c | 250 struct rt_msghdr *rtm; in p_rtable_sysctl() local 275 rtm = (struct rt_msghdr *)next; in p_rtable_sysctl() 281 sa = (struct sockaddr *)(rtm + 1); in p_rtable_sysctl() 304 p_rtentry_sysctl("rt-entry", rtm); in p_rtable_sysctl() 324 sa = (struct sockaddr *)(rtm + 1); in p_rtentry_sysctl() 326 if (rtm->rtm_addrs & (1 << i)) { in p_rtentry_sysctl() 334 rtm->rtm_flags, wid_dst); in p_rtentry_sysctl() 339 p_flags(rtm->rtm_flags, buffer); in p_rtentry_sysctl() 344 if (rtm->rtm_rmx.rmx_mtu != 0) in p_rtentry_sysctl() 351 if (rtm->rtm_index < ifmap_size) { in p_rtentry_sysctl() [all …]
|
| H A D | common.h | 60 struct rt_msghdr *rtm; member
|
| /f-stack/freebsd/net/ |
| H A D | rtsock.c | 637 if (rt_xaddrs((caddr_t)(rtm + 1), len + (caddr_t)rtm, info)) in fill_addrinfo() 899 rtm = *prtm; in update_rtm_from_rc() 937 bcopy(rtm, tmp_rtm, rtm->rtm_msglen); in update_rtm_from_rc() 938 orig_rtm = rtm; in update_rtm_from_rc() 939 rtm = tmp_rtm; in update_rtm_from_rc() 962 *prtm = rtm; in update_rtm_from_rc() 1034 rtm = NULL; in route_output() 1162 if (rtm != NULL) { in route_output() 1200 if (rtm != NULL) in send_rtm_reply() 1209 if (rtm != NULL) { in send_rtm_reply() [all …]
|
| H A D | if_llatbl.c | 679 lla_rt_output(struct rt_msghdr *rtm, struct rt_addrinfo *info) in lla_rt_output() argument 717 switch (rtm->rtm_type) { in lla_rt_output() 721 if (rtm->rtm_rmx.rmx_expire == 0) in lla_rt_output() 733 if ((rtm->rtm_flags & RTF_ANNOUNCE)) in lla_rt_output() 735 lle->la_expire = rtm->rtm_rmx.rmx_expire; in lla_rt_output()
|
| /f-stack/tools/ndp/ |
| H A D | ndp.c | 149 if (rtm->rtm_addrs & (w)) { \ 618 rtm->rtm_flags |= RTF_LLDATA; in delete() 647 struct rt_msghdr *rtm; in dump() local 948 rtm->rtm_flags = flags; in rtmsg() 959 rtm->rtm_inits = RTV_EXPIRE; in rtmsg() 964 rtm->rtm_addrs |= RTA_DST; in rtmsg() 972 l = rtm->rtm_msglen; in rtmsg() 973 rtm->rtm_seq = ++seq; in rtmsg() 974 rtm->rtm_type = cmd; in rtmsg() 984 } while (l > 0 && (rtm->rtm_type != cmd || rtm->rtm_seq != seq || in rtmsg() [all …]
|
| /f-stack/freebsd/contrib/device-tree/Bindings/spi/ |
| H A D | spi-synquacer.txt | 12 - socionext,use-rtm: boolean, if required to use "retimed clock" for RX 25 socionext,use-rtm;
|
| /f-stack/freebsd/net/route/ |
| H A D | nhgrp_ctl.c | 703 struct rt_msghdr *rtm; in dump_nhgrp_entry() local 725 rtm = (struct rt_msghdr *)buffer; in dump_nhgrp_entry() 726 rtm->rtm_msglen = sz; in dump_nhgrp_entry() 727 rtm->rtm_version = RTM_VERSION; in dump_nhgrp_entry() 728 rtm->rtm_type = RTM_GET; in dump_nhgrp_entry() 730 nhge = (struct nhgrp_external *)(rtm + 1); in dump_nhgrp_entry()
|
| H A D | nhop_ctl.c | 807 struct rt_msghdr rtm; in dump_nhop_entry() member 821 arpc.rtm.rtm_msglen = sizeof(arpc); in dump_nhop_entry() 822 arpc.rtm.rtm_version = RTM_VERSION; in dump_nhop_entry() 823 arpc.rtm.rtm_type = RTM_GET; in dump_nhop_entry() 825 arpc.rtm.rtm_flags = nh->nh_priv->rt_flags; in dump_nhop_entry() 864 arpc.rtm.rtm_msglen += arpc.na.na_len - sizeof(struct nhop_addrs); in dump_nhop_entry()
|
| /f-stack/freebsd/netinet/ |
| H A D | in.c | 1610 struct rt_msghdr rtm; in in_lltable_dump_entry() member 1631 arpc.rtm.rtm_msglen = sizeof(arpc); in in_lltable_dump_entry() 1632 arpc.rtm.rtm_version = RTM_VERSION; in in_lltable_dump_entry() 1633 arpc.rtm.rtm_type = RTM_GET; in in_lltable_dump_entry() 1634 arpc.rtm.rtm_flags = RTF_UP; in in_lltable_dump_entry() 1635 arpc.rtm.rtm_addrs = RTA_DST | RTA_GATEWAY; in in_lltable_dump_entry() 1639 arpc.rtm.rtm_flags |= RTF_ANNOUNCE; in in_lltable_dump_entry() 1654 arpc.rtm.rtm_rmx.rmx_expire = in in_lltable_dump_entry() 1658 arpc.rtm.rtm_flags |= RTF_STATIC; in in_lltable_dump_entry() 1660 arpc.rtm.rtm_flags |= RTF_PINNED; in in_lltable_dump_entry() [all …]
|
| /f-stack/freebsd/netinet6/ |
| H A D | in6.c | 2393 struct rt_msghdr rtm; in in6_lltable_dump_entry() member 2420 ndpc.rtm.rtm_msglen = sizeof(ndpc); in in6_lltable_dump_entry() 2421 ndpc.rtm.rtm_version = RTM_VERSION; in in6_lltable_dump_entry() 2422 ndpc.rtm.rtm_type = RTM_GET; in in6_lltable_dump_entry() 2423 ndpc.rtm.rtm_flags = RTF_UP; in in6_lltable_dump_entry() 2424 ndpc.rtm.rtm_addrs = RTA_DST | RTA_GATEWAY; in in6_lltable_dump_entry() 2429 ndpc.rtm.rtm_flags |= RTF_ANNOUNCE; in in6_lltable_dump_entry() 2448 ndpc.rtm.rtm_flags |= RTF_STATIC; in in6_lltable_dump_entry() 2450 ndpc.rtm.rtm_flags |= RTF_PINNED; in in6_lltable_dump_entry() 2452 ndpc.rtm.rtm_flags |= RTF_GATEWAY; in in6_lltable_dump_entry() [all …]
|
| /f-stack/freebsd/contrib/zstd/lib/common/ |
| H A D | cpu.h | 188 B(rtm, 11)
|
| /f-stack/tools/ifconfig/ |
| H A D | ifieee80211.c | 3809 struct rt_msghdr *rtm; in scan_and_wait() local 3816 rtm = (struct rt_msghdr *) buf; in scan_and_wait() 3817 if (rtm->rtm_version != RTM_VERSION) in scan_and_wait() 3819 ifan = (struct if_announcemsghdr *) rtm; in scan_and_wait() 3820 } while (rtm->rtm_type != RTM_IEEE80211 || in scan_and_wait()
|
| /f-stack/freebsd/contrib/openzfs/module/zstd/lib/ |
| H A D | zstd.c | 12761 B(rtm, 11)
|