Lines Matching refs:Neighbor
57 IP6_NEIGHBOR_ENTRY *Neighbor; in Ip6BuildEfiNeighborCache() local
87 Neighbor = NET_LIST_USER_STRUCT (Entry, IP6_NEIGHBOR_ENTRY, Link); in Ip6BuildEfiNeighborCache()
91 EfiNeighborCache->State = Neighbor->State; in Ip6BuildEfiNeighborCache()
92 IP6_COPY_ADDRESS (&EfiNeighborCache->Neighbor, &Neighbor->Neighbor); in Ip6BuildEfiNeighborCache()
93 IP6_COPY_LINK_ADDRESS (&EfiNeighborCache->LinkAddress, &Neighbor->LinkAddress); in Ip6BuildEfiNeighborCache()
528 IP6_COPY_ADDRESS (&Entry->Neighbor, Ip6Address); in Ip6CreateNeighborEntry()
567 IP6_NEIGHBOR_ENTRY *Neighbor; in Ip6FindNeighborEntry() local
573 Neighbor = NET_LIST_USER_STRUCT (Entry, IP6_NEIGHBOR_ENTRY, Link); in Ip6FindNeighborEntry()
574 if (EFI_IP6_EQUAL (Ip6Address, &Neighbor->Neighbor)) { in Ip6FindNeighborEntry()
578 return Neighbor; in Ip6FindNeighborEntry()
659 DefaultRouter = Ip6FindDefaultRouter (IpSb, &NeighborCache->Neighbor); in Ip6FreeNeighborEntry()
1343 IP6_NEIGHBOR_ENTRY *Neighbor; in Ip6SendNeighborSolicit() local
1437 Neighbor = Ip6FindNeighborEntry (IpSb, TargetIp6Address); in Ip6SendNeighborSolicit()
1438 if (Neighbor == NULL) { in Ip6SendNeighborSolicit()
1439 Neighbor = Ip6CreateNeighborEntry (IpSb, Ip6OnArpResolved, TargetIp6Address, NULL); in Ip6SendNeighborSolicit()
1440 ASSERT (Neighbor != NULL); in Ip6SendNeighborSolicit()
1479 IP6_NEIGHBOR_ENTRY *Neighbor; in Ip6ProcessNeighborSolicit() local
1624 Neighbor = Ip6FindNeighborEntry (IpSb, &Head->SourceAddress); in Ip6ProcessNeighborSolicit()
1627 if (Neighbor == NULL) { in Ip6ProcessNeighborSolicit()
1628 Neighbor = Ip6CreateNeighborEntry (IpSb, Ip6OnArpResolved, &Head->SourceAddress, NULL); in Ip6ProcessNeighborSolicit()
1629 if (Neighbor == NULL) { in Ip6ProcessNeighborSolicit()
1635 if (CompareMem (Neighbor->LinkAddress.Addr, LinkLayerOption.EtherAddr, 6) != 0) { in Ip6ProcessNeighborSolicit()
1641 Neighbor->State = EfiNeighborStale; in Ip6ProcessNeighborSolicit()
1642 Neighbor->Ticks = (UINT32) IP6_INFINIT_LIFETIME; in Ip6ProcessNeighborSolicit()
1643 CopyMem (Neighbor->LinkAddress.Addr, LinkLayerOption.EtherAddr, 6); in Ip6ProcessNeighborSolicit()
1647 Neighbor->CallBack ((VOID *) Neighbor); in Ip6ProcessNeighborSolicit()
1705 IP6_NEIGHBOR_ENTRY *Neighbor; in Ip6ProcessNeighborAdvertise() local
1783 Neighbor = Ip6FindNeighborEntry (IpSb, &Target); in Ip6ProcessNeighborAdvertise()
1784 if (Neighbor == NULL) { in Ip6ProcessNeighborAdvertise()
1818 Compare = CompareMem (Neighbor->LinkAddress.Addr, LinkLayerOption.EtherAddr, 6); in Ip6ProcessNeighborAdvertise()
1821 if (!Neighbor->IsRouter && IsRouter) { in Ip6ProcessNeighborAdvertise()
1824 DefaultRouter->NeighborCache = Neighbor; in Ip6ProcessNeighborAdvertise()
1828 if (Neighbor->State == EfiNeighborInComplete) { in Ip6ProcessNeighborAdvertise()
1840 CopyMem (Neighbor->LinkAddress.Addr, LinkLayerOption.EtherAddr, 6); in Ip6ProcessNeighborAdvertise()
1842 Neighbor->State = EfiNeighborReachable; in Ip6ProcessNeighborAdvertise()
1843 Neighbor->Ticks = IP6_GET_TICKS (IpSb->ReachableTime); in Ip6ProcessNeighborAdvertise()
1845 Neighbor->State = EfiNeighborStale; in Ip6ProcessNeighborAdvertise()
1846 Neighbor->Ticks = (UINT32) IP6_INFINIT_LIFETIME; in Ip6ProcessNeighborAdvertise()
1850 Neighbor->CallBack ((VOID *) Neighbor); in Ip6ProcessNeighborAdvertise()
1853 Neighbor->IsRouter = IsRouter; in Ip6ProcessNeighborAdvertise()
1863 if (Neighbor->State == EfiNeighborReachable) { in Ip6ProcessNeighborAdvertise()
1864 Neighbor->State = EfiNeighborStale; in Ip6ProcessNeighborAdvertise()
1865 Neighbor->Ticks = (UINT32) IP6_INFINIT_LIFETIME; in Ip6ProcessNeighborAdvertise()
1869 CopyMem (Neighbor->LinkAddress.Addr, LinkLayerOption.EtherAddr, 6); in Ip6ProcessNeighborAdvertise()
1875 Neighbor->State = EfiNeighborReachable; in Ip6ProcessNeighborAdvertise()
1876 Neighbor->Ticks = IP6_GET_TICKS (IpSb->ReachableTime); in Ip6ProcessNeighborAdvertise()
1879 Neighbor->State = EfiNeighborStale; in Ip6ProcessNeighborAdvertise()
1880 Neighbor->Ticks = (UINT32) IP6_INFINIT_LIFETIME; in Ip6ProcessNeighborAdvertise()
1889 if (Neighbor->IsRouter && !IsRouter) { in Ip6ProcessNeighborAdvertise()
1896 Neighbor->IsRouter = IsRouter; in Ip6ProcessNeighborAdvertise()
1900 if (Neighbor->State == EfiNeighborReachable) { in Ip6ProcessNeighborAdvertise()
1901 Neighbor->CallBack ((VOID *) Neighbor); in Ip6ProcessNeighborAdvertise()
2673 IP6_NEIGHBOR_ENTRY *Neighbor; in Ip6AddNeighbor() local
2675 Neighbor = Ip6FindNeighborEntry (IpSb, TargetIp6Address); in Ip6AddNeighbor()
2676 if (Neighbor != NULL) { in Ip6AddNeighbor()
2681 IP6_COPY_LINK_ADDRESS (&Neighbor->LinkAddress, TargetLinkAddress); in Ip6AddNeighbor()
2689 Neighbor = Ip6CreateNeighborEntry (IpSb, Ip6OnArpResolved, TargetIp6Address, TargetLinkAddress); in Ip6AddNeighbor()
2690 if (Neighbor == NULL) { in Ip6AddNeighbor()
2695 Neighbor->State = EfiNeighborReachable; in Ip6AddNeighbor()
2698 Neighbor->Ticks = IP6_GET_TICKS (Timeout / TICKS_PER_MS); in Ip6AddNeighbor()
2699 Neighbor->Dynamic = TRUE; in Ip6AddNeighbor()
2701 Neighbor->Ticks = (UINT32) IP6_INFINIT_LIFETIME; in Ip6AddNeighbor()
2735 IP6_NEIGHBOR_ENTRY *Neighbor; in Ip6DelNeighbor() local
2737 Neighbor = Ip6FindNeighborEntry (IpSb, TargetIp6Address); in Ip6DelNeighbor()
2738 if (Neighbor == NULL) { in Ip6DelNeighbor()
2742 RemoveEntryList (&Neighbor->Link); in Ip6DelNeighbor()
2743 FreePool (Neighbor); in Ip6DelNeighbor()
2896 Ip6CreateSNMulticastAddr (&NeighborCache->Neighbor, &Destination); in Ip6NdFasterTimerTicking()
2897 Status = Ip6SelectSourceAddress (IpSb, &NeighborCache->Neighbor, &Source); in Ip6NdFasterTimerTicking()
2906 &NeighborCache->Neighbor, in Ip6NdFasterTimerTicking()
2987 Status = Ip6SelectSourceAddress (IpSb, &NeighborCache->Neighbor, &Source); in Ip6NdFasterTimerTicking()
2995 &NeighborCache->Neighbor, in Ip6NdFasterTimerTicking()
2996 &NeighborCache->Neighbor, in Ip6NdFasterTimerTicking()
3024 Status = Ip6SelectSourceAddress (IpSb, &NeighborCache->Neighbor, &Source); in Ip6NdFasterTimerTicking()
3032 &NeighborCache->Neighbor, in Ip6NdFasterTimerTicking()
3033 &NeighborCache->Neighbor, in Ip6NdFasterTimerTicking()