/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/ |
H A D | Ip4Common.c | 22 @param[in] IpIf The interface that IpAddr received from
35 IN IP4_INTERFACE *IpIf
38 if (IpAddr == IpIf->Ip) {
41 } else if (IpAddr == IpIf->SubnetBrdcast) {
44 } else if (IpAddr == IpIf->NetBrdcast) {
77 IP4_INTERFACE *IpIf;
local 91 IpIf = NET_LIST_USER_STRUCT (Entry, IP4_INTERFACE, Link);
97 if (!IpIf->Configured || IP4_IS_BROADCAST (Ip4GetNetCast (Src, IpIf))) {
101 if ((Class = Ip4GetNetCast (Dst, IpIf)) > Typ 143 IP4_INTERFACE *IpIf; local 173 IP4_INTERFACE *IpIf; local 205 IP4_INTERFACE *IpIf; local [all...] |
H A D | Ip4Output.c | 111 IP4_INTERFACE *IpIf;
local 120 IpIf = Ip4FindNet (IpSb, Dst);
122 if ((IpIf != NULL) && (IpIf->Ip != IP4_ALLZERO_ADDRESS)) {
123 return IpIf;
129 IpIf = Ip4FindInterface (IpSb, Src);
131 if ((IpIf != NULL) && (IpIf->Ip != IP4_ALLZERO_ADDRESS)) {
132 return IpIf;
142 IpIf 227 IP4_INTERFACE *IpIf; local 480 Ip4CancelPacket( IN IP4_INTERFACE *IpIf, IN NET_BUF *Packet, IN EFI_STATUS IoStatus ) argument [all...] |
H A D | Ip4Impl.c | 479 IP4_INTERFACE *IpIf;
local 496 IpIf = NET_LIST_USER_STRUCT (Entry, IP4_INTERFACE, Link);
497 IpIf->PromiscRecv = FALSE;
499 NET_LIST_FOR_EACH (ProtoEntry, &IpIf->IpInstances) {
503 IpIf->PromiscRecv = TRUE;
644 IP4_INTERFACE *IpIf;
local 697 IpIf = Ip4FindStationAddress (IpSb, Ip, Netmask);
699 if (IpIf != NULL) {
700 NET_GET_REF (IpIf);
703 IpIf 1332 IP4_INTERFACE *IpIf; local 1446 Ip4TxTokenValid( IN EFI_IP4_COMPLETION_TOKEN *Token, IN IP4_INTERFACE *IpIf, IN BOOLEAN RawData ) argument 1703 IP4_INTERFACE *IpIf; local [all...] |
H A D | Ip4Output.h | 86 @param IpIf The interface from which the Packet is sent
93 IN IP4_INTERFACE *IpIf,
|
H A D | Ip4Icmp.c | 106 IP4_INTERFACE *IpIf;
local 115 IpIf = Ip4FindInterface (IpSb, NTOHL (Icmp->IpHead.Src));
123 if ((IpIf == NULL) || !IP4_NET_EQUAL (Gateway, IpIf->Ip, IpIf->SubnetMask)) {
131 NET_LIST_FOR_EACH (Entry, &IpIf->IpInstances) {
|
H A D | Ip4Config2Impl.c | 103 IP4_INTERFACE *IpIf;
local 129 IpIf = Ip4CreateInterface (IpSb->Mnp, IpSb->Controller, IpSb->Image);
130 if (IpIf == NULL) {
136 Ip4FreeInterface (IpIf, NULL);
140 IpSb->DefaultInterface = IpIf;
141 InsertHeadList (&IpSb->Interfaces, &IpIf->Link);
143 Ip4ReceiveFrame (IpIf, NULL, Ip4AccpetFrame, IpSb);
484 IP4_INTERFACE *IpIf;
local 491 IpIf = IpSb->DefaultInterface;
492 ASSERT (IpIf ! [all...] |
H A D | Ip4Input.c | 1355 @param[in] IpIf The interface to enqueue the packet to.
1367 IN IP4_INTERFACE *IpIf
1401 if (IpIf->Ip == IP4_ALLZERO_ADDRESS) {
1405 LocalType = Ip4GetNetCast (Head->Dst, IpIf);
1407 if ((LocalType == 0) && IpIf->PromiscRecv) {
1428 NET_LIST_FOR_EACH (Entry, &IpIf->IpInstances) {
1453 @param[in] IpIf The IP4 interface to deliver the packet.
1461 IN IP4_INTERFACE *IpIf
1467 NET_LIST_FOR_EACH (Entry, &IpIf->IpInstances) {
1506 IP4_INTERFACE *IpIf;
local [all...] |
H A D | Ip4Common.h | 82 @param[in] IpIf The interface that IpAddr received from
95 IN IP4_INTERFACE *IpIf
|
H A D | Ip4Driver.c | 627 IP4_INTERFACE *IpIf;
local 687 IpIf = Ip4CreateInterface (IpSb->Mnp, IpSb->Controller, IpSb->Image);
688 if (IpIf == NULL) {
693 Ip4FreeInterface (IpIf, NULL);
697 IpSb->DefaultInterface = IpIf;
698 InsertHeadList (&IpSb->Interfaces, &IpIf->Link);
700 Ip4ReceiveFrame (IpIf, NULL, Ip4AccpetFrame, IpSb);
|
H A D | Ip4Input.h | 173 @param[in] IpIf The interface to enqueue the packet to.
185 IN IP4_INTERFACE *IpIf
|
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/ |
H A D | Ip6Output.c | 42 IP6_INTERFACE *IpIf;
local 68 IpIf = NET_LIST_USER_STRUCT (Entry, IP6_INTERFACE, Link);
70 NET_LIST_FOR_EACH (Entry2, &IpIf->AddressList) {
300 IP6_INTERFACE *IpIf;
local 311 Exist = Ip6IsOneOfSetAddress (IpSb, Source, &IpIf, NULL);
314 return IpIf;
325 Ip6IsOneOfSetAddress (IpSb, &SelectedSource, &IpIf, NULL);
328 return IpIf;
494 IP6_INTERFACE *IpIf;
local 560 IpIf 1083 Ip6CancelPacket( IN IP6_INTERFACE *IpIf, IN NET_BUF *Packet, IN EFI_STATUS IoStatus ) argument [all...] |
H A D | Ip6Output.h | 129 @param[in] IpIf The interface from which the Packet is sent.
136 IN IP6_INTERFACE *IpIf,
|
H A D | Ip6Common.c | 317 @param[in, out] IpIf Points to an IP6 interface.
323 IN OUT IP6_INTERFACE *IpIf,
327 InsertHeadList (&IpIf->AddressList, &AddrInfo->Link);
328 IpIf->AddressCount++;
518 IP6_INTERFACE *IpIf;
local 537 IpIf = NET_LIST_USER_STRUCT_S (Entry, IP6_INTERFACE, Link, IP6_INTERFACE_SIGNATURE);
539 NET_LIST_FOR_EACH (Entry2, &IpIf->AddressList) {
544 *Interface = IpIf;
322 Ip6AddAddr( IN OUT IP6_INTERFACE *IpIf, IN IP6_ADDRESS_INFO *AddrInfo ) argument
|
H A D | Ip6Nd.c | 284 IP6_INTERFACE *IpIf;
local 308 IpIf = NET_LIST_USER_STRUCT_S (Entry, IP6_INTERFACE, Link, IP6_INTERFACE_SIGNATURE);
310 Ip6RemoveAddr (IpSb, &IpIf->AddressList, &IpIf->AddressCount, &PrefixEntry->Prefix, PrefixEntry->PrefixLength);
807 @param[in] IpIf Points to the IP6_INTERFACE.
814 IN IP6_INTERFACE *IpIf,
826 IpSb = IpIf->Service;
838 IpIf->Configured = TRUE;
894 Ip6AddAddr (IpIf, AddrInfo);
908 IpIf 812 Ip6OnDADFinished( IN BOOLEAN IsDadPassed, IN IP6_INTERFACE *IpIf, IN IP6_DAD_ENTRY *DadEntry ) argument 969 Ip6InitDADProcess( IN IP6_INTERFACE *IpIf, IN IP6_ADDRESS_INFO *AddressInfo, IN IP6_DAD_CALLBACK Callback OPTIONAL, IN VOID *Context OPTIONAL ) argument 1060 IP6_INTERFACE *IpIf; local 1114 IP6_INTERFACE *IpIf; local 1478 IP6_INTERFACE *IpIf; local 1711 IP6_INTERFACE *IpIf; local 2767 IP6_INTERFACE *IpIf; local [all...] |
H A D | Ip6Impl.c | 61 IP6_INTERFACE *IpIf;
local 73 IpIf = IpInstance->Interface;
135 if (IpIf->Configured || NetIp6IsUnspecifiedAddr (&Config->DestinationAddress)) {
354 IP6_INTERFACE *IpIf;
local 414 AddrOk = Ip6IsOneOfSetAddress (IpSb, &Source, &IpIf, &AddressInfo);
429 NET_GET_REF (IpIf);
430 IpInstance->Interface = IpIf;
431 InsertTailList (&IpIf->IpInstances, &IpInstance->AddrLink);
516 IP6_INTERFACE *IpIf;
local 533 IpIf [all...] |
H A D | Ip6Input.c | 1570 @param[in] IpIf The interface to enqueue the packet to.
1580 IN IP6_INTERFACE *IpIf
1597 if (IpIf->PromiscRecv) {
1614 NET_LIST_FOR_EACH (Entry, &IpIf->IpInstances) {
1631 @param[in] IpIf The IP6 interface to deliver the packet.
1637 IN IP6_INTERFACE *IpIf
1643 NET_LIST_FOR_EACH (Entry, &IpIf->IpInstances) {
1676 IP6_INTERFACE *IpIf;
local 1686 IpIf = NET_LIST_USER_STRUCT (Entry, IP6_INTERFACE, Link);
1688 if (IpIf [all...] |
H A D | Ip6Common.h | 240 @param[in, out] IpIf Points to an IP6 interface.
246 IN OUT IP6_INTERFACE *IpIf,
|
H A D | Ip6ConfigImpl.c | 53 IP6_INTERFACE *IpIf;
local 100 IpIf = NET_LIST_USER_STRUCT_S (Entry, IP6_INTERFACE, Link, IP6_INTERFACE_SIGNATURE);
102 NET_LIST_FOR_EACH_SAFE (Entry2, Next, &IpIf->DelayJoinList) {
110 NET_LIST_FOR_EACH_SAFE (Entry2, Next, &IpIf->DupAddrDetectList) {
117 Ip6OnDADFinished (FALSE, IpIf, DadEntry);
915 IP6_INTERFACE *IpIf;
local 967 IpIf = NET_LIST_USER_STRUCT_S (Entry, IP6_INTERFACE, Link, IP6_INTERFACE_SIGNATURE);
969 NET_LIST_FOR_EACH (Entry2, &IpIf->AddressList) {
1109 IpIf = IpSb->DefaultInterface;
1122 &IpIf 1654 IP6_INTERFACE *IpIf; local [all...] |
H A D | Ip6Nd.h | 255 @param[in] IpIf Points to the IP6_INTERFACE.
262 IN IP6_INTERFACE *IpIf,
269 @param[in] IpIf Points to the IP6_INTERFACE.
285 IN IP6_INTERFACE *IpIf,
|