HomeSort by relevance Sort by last modified time
    Searched refs:nexthop (Results 1 - 10 of 10) sorted by null

  /system/netd/server/
RouteController.h 74 // |nexthop| can be NULL (to indicate a directly-connected route), "unreachable" (to indicate a
76 static int addRoute(const char* interface, const char* destination, const char* nexthop,
78 static int removeRoute(const char* interface, const char* destination, const char* nexthop,
NetworkController.h 80 // |nexthop| can be NULL (to indicate a directly-connected route), "unreachable" (to indicate a
86 const char* nexthop, bool legacy, uid_t uid) WARN_UNUSED_RESULT;
88 const char* nexthop, bool legacy, uid_t uid) WARN_UNUSED_RESULT;
104 const char* nexthop, bool add, bool legacy, uid_t uid) WARN_UNUSED_RESULT;
RouteController.cpp 362 const char* destination, const char* nexthop) {
389 if (nexthop && !strcmp(nexthop, "unreachable")) {
392 // the table number. But it's an error to specify an interface ("dev ...") or a nexthop for
395 nexthop = NULL;
396 } else if (nexthop && !strcmp(nexthop, "throw")) {
399 nexthop = NULL;
410 // If a nexthop was specified, parse it as the same family as the prefix.
411 if (nexthop && inet_pton(family, nexthop, rawNexthop) <= 0)
    [all...]
NetworkController.cpp 501 const char* nexthop, bool legacy, uid_t uid) {
502 return modifyRoute(netId, interface, destination, nexthop, true, legacy, uid);
506 const char* nexthop, bool legacy, uid_t uid) {
507 return modifyRoute(netId, interface, destination, nexthop, false, legacy, uid);
610 const char* nexthop, bool add, bool legacy, uid_t uid) {
638 return add ? RouteController::addRoute(interface, destination, nexthop, tableType) :
639 RouteController::removeRoute(interface, destination, nexthop, tableType);
CommandListener.cpp 1577 const char* nexthop = argc > nextArg ? argv[nextArg] : NULL; local
    [all...]
  /external/tcpdump/
print-eigrp.c 122 uint8_t nexthop[4]; member in struct:eigrp_tlv_ip_int_t
135 uint8_t nexthop[4]; member in struct:eigrp_tlv_ip_ext_t
161 uint8_t nexthop[4]; member in struct:eigrp_tlv_at_int_t
174 uint8_t nexthop[4]; member in struct:eigrp_tlv_at_ext_t
330 ND_PRINT((ndo, "\n\t IPv4 prefix: %15s/%u, nexthop: ",
333 if (EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_ip_int->nexthop) == 0)
336 ND_PRINT((ndo, "%s",ipaddr_string(ndo, &tlv_ptr.eigrp_tlv_ip_int->nexthop)));
359 ND_PRINT((ndo, "\n\t IPv4 prefix: %15s/%u, nexthop: ",
362 if (EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_ip_ext->nexthop) == 0)
365 ND_PRINT((ndo, "%s",ipaddr_string(ndo, &tlv_ptr.eigrp_tlv_ip_ext->nexthop)));
    [all...]
  /system/extras/tests/net_test/
iproute.py 455 def _Route(self, version, command, table, dest, prefixlen, nexthop, dev,
459 scope = RT_SCOPE_UNIVERSE if nexthop else RT_SCOPE_LINK
470 if nexthop:
471 rtmsg += self._NlAttrIPAddress(RTA_GATEWAY, family, nexthop)
480 def AddRoute(self, version, table, dest, prefixlen, nexthop, dev):
481 self._Route(version, RTM_NEWROUTE, table, dest, prefixlen, nexthop, dev,
484 def DelRoute(self, version, table, dest, prefixlen, nexthop, dev):
485 self._Route(version, RTM_DELROUTE, table, dest, prefixlen, nexthop, dev,
  /external/libnl/include/netlink/route/
route.h 19 #include <netlink/route/nexthop.h>
  /external/iproute2/doc/
ip-cref.tex     [all...]
  /external/libnl/lib/route/
route_obj.c 41 #include <netlink/route/nexthop.h>
811 * 2) At least one nexthop not directly connected -> universe scope
826 * Use scope uiniverse if there is at least one nexthop which
1043 * we add it as regular nexthop to maintain backwards
1047 /* Kernel supports new style nexthop configuration,
1048 * verify that it is a duplicate and discard nexthop. */

Completed in 1419 milliseconds