Home
last modified time | relevance | path

Searched refs:NextHop (Results 1 – 13 of 13) sorted by relevance

/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/
DIp6Route.c80 IP6_COPY_ADDRESS (&RtEntry->NextHop, GatewayAddress); in Ip6CreateRouteEntry()
127 IN EFI_IPv6_ADDRESS *NextHop OPTIONAL in Ip6FindRouteEntry()
134 ASSERT (Destination != NULL || NextHop != NULL); in Ip6FindRouteEntry()
147 } else if (NextHop != NULL) { in Ip6FindRouteEntry()
148 if (NetIp6IsNetEqual (NextHop, &RtEntry->NextHop, RtEntry->PrefixLength)) { in Ip6FindRouteEntry()
194 IP6_COPY_ADDRESS (&RtCacheEntry->NextHop, GateWay); in Ip6CreateRouteCacheEntry()
314 IP6_COPY_ADDRESS (&EfiTable[Count].Gateway, &RtEntry->NextHop); in Ip6BuildEfiRouteTable()
475 EFI_IP6_EQUAL (GatewayAddress, &Route->NextHop)) { in Ip6AddRoute()
536 if (GatewayAddress != NULL && !EFI_IP6_EQUAL (GatewayAddress, &Route->NextHop)) { in Ip6DelRoute()
574 EFI_IPv6_ADDRESS NextHop; in Ip6Route() local
[all …]
DIp6Route.h36 EFI_IPv6_ADDRESS NextHop; member
45 EFI_IPv6_ADDRESS NextHop; member
223 IN EFI_IPv6_ADDRESS *NextHop OPTIONAL
DIp6Output.c495 EFI_IPv6_ADDRESS NextHop; in Ip6Output() local
688 IP6_COPY_ADDRESS (&NextHop, &Head->DestinationAddress); in Ip6Output()
700 IP6_COPY_ADDRESS (&NextHop, &Head->DestinationAddress); in Ip6Output()
710 IP6_COPY_ADDRESS (&NextHop, &RouteCache->NextHop); in Ip6Output()
719 …if (!IP6_IS_MULTICAST (&NextHop) && !EFI_IP6_EQUAL (&Head->DestinationAddress, &Head->SourceAddres… in Ip6Output()
720 NeighborCache = Ip6FindNeighborEntry (IpSb, &NextHop); in Ip6Output()
722 NeighborCache = Ip6CreateNeighborEntry (IpSb, Ip6OnArpResolved, &NextHop, NULL); in Ip6Output()
912 &NextHop, in Ip6Output()
976 &NextHop, in Ip6Output()
DIp6If.c658 IN EFI_IPv6_ADDRESS *NextHop, in Ip6SendFrame() argument
686 if (IP6_IS_MULTICAST (NextHop)) { in Ip6SendFrame()
687 Status = Ip6GetMulticastMac (IpSb->Mnp, NextHop, &Token->DstMac); in Ip6SendFrame()
707 NeighborCache = Ip6FindNeighborEntry (IpSb, NextHop); in Ip6SendFrame()
DIp6If.h246 IN EFI_IPv6_ADDRESS *NextHop,
DIp6Nd.c2520 if (!EFI_IP6_EQUAL (&RouteCache->NextHop, &Head->SourceAddress)) { in Ip6ProcessRedirect()
2531 IP6_COPY_ADDRESS (&RouteCache->NextHop, Target); in Ip6ProcessRedirect()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/
DIp4Route.c49 RtEntry->NextHop = GateWay; in Ip4CreateRouteEntry()
109 RtCacheEntry->NextHop = GateWay; in Ip4CreateRouteCacheEntry()
333 if (IP4_NET_EQUAL (RtEntry->Dest, Dest, Netmask) && (RtEntry->NextHop == Gateway)) { in Ip4AddRoute()
389 if (IP4_NET_EQUAL (RtEntry->Dest, Dest, Netmask) && (RtEntry->NextHop == Gateway)) { in Ip4DelRoute()
515 IP4_ADDR NextHop; in Ip4Route() local
548 NextHop = Dest; in Ip4Route()
550 NextHop = RtEntry->NextHop; in Ip4Route()
558 RtCacheEntry = Ip4CreateRouteCacheEntry (Dest, Src, NextHop, (UINTN) RtEntry); in Ip4Route()
651 EFI_IP4 (Table[Count].GatewayAddress) = HTONL (RtEntry->NextHop); in Ip4BuildEfiRouteTable()
DIp4Route.h39 IP4_ADDR NextHop; member
58 IP4_ADDR NextHop; member
DIp4If.c978 IN IP4_ADDR NextHop, in Ip4SendFrame() argument
1003 if (NextHop == IP4_ALLONE_ADDRESS) { in Ip4SendFrame()
1007 } else if (IP4_IS_MULTICAST (NextHop)) { in Ip4SendFrame()
1009 Status = Ip4GetMulticastMac (Interface->Mnp, NextHop, &Token->DstMac); in Ip4SendFrame()
1029 NextHop = HTONL (NextHop); in Ip4SendFrame()
1030 Status = Arp->Request (Arp, &NextHop, NULL, &Token->DstMac); in Ip4SendFrame()
1048 if (ArpQue->Ip == NextHop) { in Ip4SendFrame()
1064 ArpQue = Ip4CreateArpQue (Interface, NextHop); in Ip4SendFrame()
DIp4Icmp.c146 if ((CacheEntry != NULL) && (NTOHL (Head->Src) == CacheEntry->NextHop)) { in Ip4ProcessIcmpRedirect()
147 CacheEntry->NextHop = Gateway; in Ip4ProcessIcmpRedirect()
DIp4If.h277 IN IP4_ADDR NextHop,
DIp4Output.c328 GateWay = CacheEntry->NextHop; in Ip4Output()
DIp4Config2Impl.c425 EFI_IP4 (Table[Count].GatewayAddress) = HTONL (RtEntry->NextHop); in Ip4Config2BuildDefaultRouteTable()