Home | History | Annotate | Download | only in pending

Lines Matching full:rtm_family

1469   int hlen = ((msg->rtm_family == AF_INET) ? 32
1470 : ((msg->rtm_family == AF_INET6) ? 128 : -1));
1475 if (msg->rtm_family == AF_INET6) {
1493 if (gfilter.rdst.family && (msg->rtm_family != gfilter.rdst.family ||
1495 if (gfilter.mdst.family && (msg->rtm_family != gfilter.mdst.family
1497 if (gfilter.rsrc.family && (msg->rtm_family != gfilter.rsrc.family
1499 if (gfilter.msrc.family && (msg->rtm_family != gfilter.msrc.family
1509 inetval = (char *)inet_ntop(msg->rtm_family, RTA_DATA(attr[RTA_DST]),
1523 inetval = (char *)inet_ntop(msg->rtm_family, RTA_DATA(attr[RTA_SRC]),
1536 inetval = (char *)inet_ntop(msg->rtm_family, RTA_DATA(attr[RTA_GATEWAY]),
1544 if (strcmp((char *)inet_ntop(msg->rtm_family, gfilter.rvia.addr,
1557 inetval = (char *)inet_ntop(msg->rtm_family, RTA_DATA(attr[RTA_PREFSRC]),
1563 if (msg->rtm_family == AF_INET6) {
1606 if (msg->rtm_family == AF_INET6
1682 request.msg.rtm_family = AF_UNSPEC;
1694 parse_prefix(addr, &netmask, &len, *argv, request.msg.rtm_family);
1695 if (len) request.msg.rtm_family = ((len == 4) ? AF_INET : AF_INET6);
1696 netmask = (request.msg.rtm_family == AF_INET6) ? 128 : 32;
1879 request.msg.rtm_family = family;
1914 req.msg.rtm_family = AF_UNSPEC;
1931 parse_prefix(addr, &netmask, &len, *argv, req.msg.rtm_family);
1932 if (len) req.msg.rtm_family = ((len == 4) ? AF_INET : AF_INET6);
1937 parse_prefix(addr, &netmask, &len, *argv, req.msg.rtm_family);
1938 if (len) req.msg.rtm_family = ((len == 4) ? AF_INET : AF_INET6);
1983 parse_prefix(addr, &netmask, &len, *argv, req.msg.rtm_family);
1984 if (len) req.msg.rtm_family = ((len == 4) ? AF_INET : AF_INET6);
2015 if (req.msg.rtm_family == AF_UNSPEC) req.msg.rtm_family = AF_INET;
2092 request.msg.rtm_family = TT.addressfamily;
2107 parse_prefix(addr, &netmask, &len, *argv, request.msg.rtm_family);
2210 if (!request.msg.rtm_family) request.msg.rtm_family = AF_INET;
2223 int hlen = ((msg->rtm_family == AF_INET) ? 32
2224 : ((msg->rtm_family == AF_INET6) ? 128 : -1));
2239 printf("%s", (msg->rtm_family == AF_INET || msg->rtm_family == AF_INET6)
2240 ? inet_ntop(msg->rtm_family, RTA_DATA(attr[RTA_SRC]),
2248 printf("to %s", (msg->rtm_family == AF_INET || msg->rtm_family == AF_INET6)
2249 ? inet_ntop(msg->rtm_family, RTA_DATA(attr[RTA_DST]),
2277 else printf("map-to %s ", inet_ntop(msg->rtm_family,