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

1 2

  /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
    [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) {
  /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/crypto/dist/ipsec-tools/src/racoon/
grabmyaddr.c 468 req.r.rtm_type == RTN_LOCAL;
485 if (rtm->rtm_type != RTN_LOCAL ||
737 switch (rtm->rtm_type) {
776 "unrecognized route message with rtm_type: %d\n",
777 rtm->rtm_type);
801 rtm->rtm_msglen, len, 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/external/bsd/dhcpcd/dist/src/
if-bsd.c 723 rtm->rtm_type = cmd;
880 if (rtm->rtm_type != RTM_MISS && !(rtm->rtm_addrs & RTA_GATEWAY)) {
938 if (rt->rt_ifp == NULL && rtm->rtm_type == RTM_MISS)
1317 (rt.rt_flags & RTF_HOST || rtm->rtm_type == RTM_MISS) &&
1318 !(rtm->rtm_type == RTM_ADD && !(rt.rt_dflags & RTDF_GATELINK)))
1322 reachable = (rtm->rtm_type == RTM_ADD ||
1323 rtm->rtm_type == RTM_CHANGE) &&
1329 if (rtm->rtm_type != RTM_MISS && if_realroute(rtm))
1330 rt_recvrt(rtm->rtm_type, &rt, rtm->rtm_pid);
1564 switch(rtm->rtm_type) {
    [all...]
  /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/external/bsd/ppp/usr.sbin/pppd/
sys-bsd.c 1635 rtmsg.hdr.rtm_type = cmd == 's' ? RTM_ADD : RTM_DELETE;
1696 rmsg.rtm.rtm_type = cmd == 's' ? RTM_ADD : RTM_DELETE;
1777 arpmsg.hdr.rtm_type = RTM_ADD;
1814 arpmsg.hdr.rtm_type = RTM_DELETE;
  /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/external/mpl/bind/dist/lib/isc/netmgr/
udp.c 48 #define MSGTYPE rtm_type
  /src/external/bsd/top/dist/machine/
m_netbsd.c 492 switch (rtm->rtm_type) {

Completed in 37 milliseconds

1 2