Home | History | Annotate | Download | only in Ip4Dxe

Lines Matching defs:IpInstance

478   IP4_PROTOCOL                  *IpInstance;

487 IpInstance = NET_LIST_USER_STRUCT_S (Entry, IP4_PROTOCOL, Link, IP4_PROTOCOL_SIGNATURE);
492 if (!NetIsInHandleBuffer (IpInstance->Handle, NumberOfChildren, ChildHandleBuffer)) {
496 return ServiceBinding->DestroyChild (ServiceBinding, IpInstance->Handle);
816 IP4_PROTOCOL *IpInstance;
826 IpInstance = AllocatePool (sizeof (IP4_PROTOCOL));
828 if (IpInstance == NULL) {
832 Ip4InitProtocol (IpSb, IpInstance);
840 &IpInstance->Ip4Proto,
848 IpInstance->Handle = *ChildHandle;
858 IpInstance->Handle,
865 &IpInstance->Ip4Proto,
877 InsertTailList (&IpSb->Children, &IpInstance->Link);
886 Ip4CleanProtocol (IpInstance);
888 FreePool (IpInstance);
922 IP4_PROTOCOL *IpInstance;
949 IpInstance = IP4_INSTANCE_FROM_PROTOCOL (Ip4);
951 if (IpInstance->Service != IpSb) {
963 if (IpInstance->State == IP4_STATE_DESTROY) {
968 State = IpInstance->State;
969 IpInstance->State = IP4_STATE_DESTROY;
981 if (IpInstance->Interface != NULL && IpInstance->Interface->Arp != NULL) {
983 IpInstance->Interface->ArpHandle,
1008 &IpInstance->Ip4Proto
1015 Status = Ip4CleanProtocol (IpInstance);
1027 RemoveEntryList (&IpInstance->Link);
1032 FreePool (IpInstance);
1036 IpInstance->State = State;