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

  /system/netd/server/
RouteController.h 80 // |nexthop| can be NULL (to indicate a directly-connected route), "unreachable" (to indicate a
82 static int addRoute(const char* interface, const char* destination, const char* nexthop,
84 static int removeRoute(const char* interface, const char* destination, const char* nexthop,
106 const char* nexthop) WARN_UNUSED_RESULT;
RouteController.cpp 330 const char* destination, const char* nexthop) {
357 if (nexthop && !strcmp(nexthop, "unreachable")) {
360 // the table number. But it's an error to specify an interface ("dev ...") or a nexthop for
363 nexthop = NULL;
364 } else if (nexthop && !strcmp(nexthop, "throw")) {
367 nexthop = NULL;
378 // If a nexthop was specified, parse it as the same family as the prefix.
379 if (nexthop && inet_pton(family, nexthop, rawNexthop) <= 0)
    [all...]
NetworkController.h 117 // |nexthop| can be NULL (to indicate a directly-connected route), "unreachable" (to indicate a
123 const char* nexthop, bool legacy, uid_t uid) WARN_UNUSED_RESULT;
125 const char* nexthop, bool legacy, uid_t uid) WARN_UNUSED_RESULT;
143 const char* nexthop, bool add, bool legacy, uid_t uid) WARN_UNUSED_RESULT;
NetworkController.cpp 539 const char* nexthop, bool legacy, uid_t uid) {
540 return modifyRoute(netId, interface, destination, nexthop, true, legacy, uid);
544 const char* nexthop, bool legacy, uid_t uid) {
545 return modifyRoute(netId, interface, destination, nexthop, false, legacy, uid);
659 const char* nexthop, bool add, bool legacy, uid_t uid) {
687 return add ? RouteController::addRoute(interface, destination, nexthop, tableType) :
688 RouteController::removeRoute(interface, destination, nexthop, tableType);
CommandListener.cpp 1371 const char* nexthop = argc > nextArg ? argv[nextArg] : NULL; local
    [all...]
  /external/tcpdump/
print-eigrp.c 123 uint8_t nexthop[4]; member in struct:eigrp_tlv_ip_int_t
136 uint8_t nexthop[4]; member in struct:eigrp_tlv_ip_ext_t
162 uint8_t nexthop[4]; member in struct:eigrp_tlv_at_int_t
175 uint8_t nexthop[4]; member in struct:eigrp_tlv_at_ext_t
331 ND_PRINT((ndo, "\n\t IPv4 prefix: %15s/%u, nexthop: ",
334 if (EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_ip_int->nexthop) == 0)
337 ND_PRINT((ndo, "%s",ipaddr_string(ndo, &tlv_ptr.eigrp_tlv_ip_int->nexthop)));
360 ND_PRINT((ndo, "\n\t IPv4 prefix: %15s/%u, nexthop: ",
363 if (EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_ip_ext->nexthop) == 0)
366 ND_PRINT((ndo, "%s",ipaddr_string(ndo, &tlv_ptr.eigrp_tlv_ip_ext->nexthop)));
    [all...]
  /external/ltp/testcases/network/stress/ns-tools/
ns-icmp_redirector.c 71 unsigned char nexthop[4]; member in struct:ip4_gateway_info
77 struct in6_addr nexthop; member in struct:ip6_gateway_info
314 if (memcmp(gateway_p->nexthop, new_nexthop, 4)) {
315 memcpy(gateway_p->nexthop, new_nexthop, 4);
423 memcpy((unsigned char *)&(sndicmp_p->hdr.un.gateway), gw_p->nexthop, 4);
507 (&(gateway_p->nexthop), &new_nexthop,
509 gateway_p->nexthop = new_nexthop;
642 sndrd_p->defs.nd_rd_target = gw_p->nexthop;
  /kernel/tests/net/test/
iproute.py 452 def _Route(self, version, proto, command, table, dest, prefixlen, nexthop,
456 scope = RT_SCOPE_UNIVERSE if nexthop else RT_SCOPE_LINK
467 if nexthop:
468 rtmsg += self._NlAttrIPAddress(RTA_GATEWAY, family, nexthop)
477 def AddRoute(self, version, table, dest, prefixlen, nexthop, dev):
479 nexthop, dev, None, None)
481 def DelRoute(self, version, table, dest, prefixlen, nexthop, dev):
483 nexthop, dev, None, None)
multinetwork_base.py 524 nexthop = self._RouterAddress(netid, version)
526 self.iproute.AddRoute(version, table, remoteaddr, plen, nexthop, ifindex)
527 self.iproute.DelRoute(version, table, remoteaddr, plen, nexthop, ifindex)
  /external/libnl/include/netlink/route/
route.h 19 #include <netlink/route/nexthop.h>
  /prebuilts/go/darwin-x86/src/vendor/golang_org/x/net/route/
route.go 30 // nexthop address and an output interface.
  /prebuilts/go/linux-x86/src/vendor/golang_org/x/net/route/
route.go 30 // nexthop address and an output interface.
  /external/iproute2/doc/
ip-cref.tex     [all...]
  /prebuilts/go/darwin-x86/src/net/
listen_test.go 554 // nexthop containing both network and link layer
632 // nexthop containing both network and link layer
interface_test.go 289 // interface as the nexthop for multicast routing.
  /prebuilts/go/linux-x86/src/net/
listen_test.go 554 // nexthop containing both network and link layer
632 // nexthop containing both network and link layer
interface_test.go 289 // interface as the nexthop for multicast routing.
  /external/libnl/lib/route/
route_obj.c 42 #include <netlink/route/nexthop.h>
461 * separate notifications, one for every nexthop. This update
472 * or dont have a nexthop dont do anything
478 * Get the only nexthop entry from the new route. For
491 * Add the nexthop to old route
499 "nexthop %p via %s\n", old_route, cloned_nh,
508 * Only take care of nexthop deletes and not
509 * route deletes. So, if there is only one nexthop
526 "nexthop %p via %s\n", old_route,
907 * 2) At least one nexthop not directly connected -> universe scop
    [all...]

Completed in 4215 milliseconds