HomeSort by: relevance | last modified time | path
    Searched refs:rtm_type (Results 1 - 22 of 22) sorted by relevancy

  /src/usr.sbin/ldpd/
mpls_routes.c 321 rm.m_rtm.rtm_type = (optype == RTM_READD) ? RTM_ADD : optype;
413 rm.m_rtm.rtm_type = RTM_DELETE;
484 rm.m_rtm.rtm_type = RTM_GET;
540 if (rg->m_rtm.rtm_type != RTM_ADD &&
541 rg->m_rtm.rtm_type != RTM_DELETE &&
542 rg->m_rtm.rtm_type != RTM_CHANGE &&
543 rg->m_rtm.rtm_type != RTM_NEWADDR &&
544 rg->m_rtm.rtm_type != RTM_DELADDR)
592 if (rlen <= offsetof(struct rt_msghdr, rtm_type) ||
596 if (rg->m_rtm.rtm_type == RTM_NEWADDR |
    [all...]
  /src/sys/compat/net/
route.h 69 u_char rtm_type; /* message type */ member in struct:rt_msghdr50
  /src/usr.sbin/rtadvd/
if.c 215 if (FILTER_MATCH(rtm->rtm_type, filter) == 0) {
219 switch (rtm->rtm_type) {
414 return rtm->rtm_type;
422 return rtm->rtm_type < __arraycount(rtm_names)
423 ? rtm_names[rtm->rtm_type] : "*unknown*";
  /src/sys/net/
rtsock_shared.c 230 /* Ensure we can access rtm_type */
232 offsetof(struct rt_xmsghdr, rtm_type) + sizeof(rtm.rtm_type))
235 m_copydata(m, offsetof(struct rt_xmsghdr, rtm_type),
236 sizeof(rtm.rtm_type), &rtm.rtm_type);
237 if (rtm.rtm_type >= sizeof(rop->rocb_msgfilter) * CHAR_BIT)
241 !(rop->rocb_msgfilter & RTMSGFILTER(rtm.rtm_type)))
244 if (rop->rocb_missfilterlen != 0 && rtm.rtm_type == RTM_MISS) {
627 error = rt_msg2(rtm->rtm_type, info, NULL, NULL, &len)
1030 unsigned char *rtm_type, *cp, *ep; local in function:route_ctloutput
    [all...]
route.h 223 u_char rtm_type; /* message type */ member in struct:rt_msghdr
282 #define RO_MSGFILTER 1 /* array of which rtm_type to send to client */
if_llatbl.c 631 lla_rt_output(const u_char rtm_type, const int rtm_flags, const time_t rtm_expire,
670 switch (rtm_type) {
route.c 458 if (rtm->rtm_type == RTM_GET)
  /src/usr.bin/rump_dhcpclient/
if-bsd.c 211 rtm.hdr.rtm_type = RTM_CHANGE;
213 rtm.hdr.rtm_type = RTM_ADD;
215 rtm.hdr.rtm_type = RTM_DELETE;
  /src/sbin/routed/
table.c 705 w.w_rtm.rtm_type = action;
902 msglog("ignore %s without mask", rtm_type_name(rtm->rtm_type));
911 rtm_type_name(rtm->rtm_type));
915 rtm_type_name(rtm->rtm_type),
1000 rtm_type_name(rtm->rtm_type));
1191 if (m.r.rtm.rtm_type <= RTM_CHANGE
1201 if (m.r.rtm.rtm_type == RTM_IFINFO
1202 || m.r.rtm.rtm_type == RTM_NEWADDR
1203 || m.r.rtm.rtm_type == RTM_DELADDR) {
1205 m.r.rtm.rtm_type != RTM_DELADDR)
    [all...]
  /src/lib/libc/net/
getifaddrs.c 108 switch (rtm->rtm_type) {
188 switch (rtm->rtm_type) {
  /src/share/examples/rump/virtual_ip_router/
rumprouter.c 135 rtm.rtm_type = RTM_ADD;
  /src/tests/net/if_loop/
t_pr.c 93 rtm.rtm_type = RTM_CHANGE;
  /src/usr.sbin/ifwatchd/
ifwatchd.c 271 switch (hd->rtm_type) {
285 printf("unknown message ignored (%d)\n", hd->rtm_type);
  /src/tests/net/config/
netconfig.c 148 rtm.rtm_type = RTM_ADD;
  /src/usr.sbin/rarpd/
mkarp.c 255 rtm->rtm_type = cmd;
  /src/sbin/route/
route.c 349 rtm->rtm_type = RTM_DELETE;
1203 rtm.rtm_type = cmd;
1362 if (msgtypes[rtm->rtm_type])
1363 (void)printf("%s: ", msgtypes[rtm->rtm_type]);
1365 (void)printf("#%d: ", rtm->rtm_type);
1367 switch (rtm->rtm_type) {
  /src/usr.bin/netstat/
if.c 235 switch (rtm->rtm_type) {
1155 switch (rtm->rtm_type) {
  /src/usr.sbin/faithd/
faithd.c 834 switch (rtm->rtm_type) {
  /src/usr.sbin/route6d/
route6d.c 1493 switch (((struct rt_msghdr *)p)->rtm_type) {
1549 switch (((struct rt_msghdr *)p)->rtm_type) {
1590 switch (((struct rt_msghdr *)p)->rtm_type) {
2209 if (rtm->rtm_type == (f)) \
2577 rtm->rtm_type = RTM_ADD;
2642 rtm->rtm_type = RTM_DELETE;
  /src/usr.sbin/arp/
arp.c 745 rtm->rtm_type = cmd;
  /src/usr.sbin/ndp/
ndp.c 789 rtm->rtm_type = cmd;
  /src/sbin/ifconfig/
ieee80211.c 762 } while (rtm->rtm_type != RTM_IEEE80211 ||

Completed in 55 milliseconds