Home | History | Annotate | Download | only in Ip4Dxe

Lines Matching refs:IpSb

50   IP4_SERVICE                 *IpSb;

61 IpSb = IP4_SERVICE_FROM_IP4_CONFIG2_INSTANCE (Instance);
69 IpSb->Image,
70 IpSb->Controller
77 IpSb->Controller,
78 IpSb->Image,
93 @param[in] IpSb The IP4 service binding instance.
99 IN IP4_SERVICE *IpSb,
112 if (IpSb->DefaultInterface != NULL) {
113 if (IpSb->DefaultRouteTable != NULL) {
114 Ip4FreeRouteTable (IpSb->DefaultRouteTable);
115 IpSb->DefaultRouteTable = NULL;
118 Ip4CancelReceive (IpSb->DefaultInterface);
120 Ip4FreeInterface (IpSb->DefaultInterface, NULL);
121 IpSb->DefaultInterface = NULL;
124 Ip4CleanAssembleTable (&IpSb->Assemble);
129 IpIf = Ip4CreateInterface (IpSb->Mnp, IpSb->Controller, IpSb->Image);
140 IpSb->DefaultInterface = IpIf;
141 InsertHeadList (&IpSb->Interfaces, &IpIf->Link);
142 IpSb->DefaultRouteTable = RouteTable;
143 Ip4ReceiveFrame (IpIf, NULL, Ip4AccpetFrame, IpSb);
145 if (IpSb->State == IP4_SERVICE_CONFIGED) {
146 IpSb->State = IP4_SERVICE_UNSTARTED;
153 IpSb->Reconfig = TRUE;
154 Ip4StartAutoConfig (&IpSb->Ip4Config2Instance);
383 @param[in] IpSb The IP4 service binding instance.
392 IN IP4_SERVICE *IpSb,
401 if (IpSb->DefaultRouteTable == NULL) {
405 Count = IpSb->DefaultRouteTable->TotalNum;
421 NET_LIST_FOR_EACH (Entry, &(IpSb->DefaultRouteTable->RouteArea[Index])) {
468 @param[in] IpSb The pointer to the IP4 service binding instance.
478 IN IP4_SERVICE *IpSb,
491 IpIf = IpSb->DefaultInterface;
495 IpSb->State = IP4_SERVICE_CONFIGED;
499 if (IpSb->Reconfig) {
503 if (IpSb->DefaultRouteTable != NULL) {
504 Ip4FreeRouteTable (IpSb->DefaultRouteTable);
505 IpSb->DefaultRouteTable = NULL;
508 Ip4CancelReceive (IpSb->DefaultInterface);
509 Ip4FreeInterface (IpSb->DefaultInterface, NULL);
510 IpSb->DefaultInterface = NULL;
514 IpIf = Ip4CreateInterface (IpSb->Mnp, IpSb->Controller, IpSb->Image);
525 IpSb->DefaultInterface = IpIf;
526 InsertHeadList (&IpSb->Interfaces, &IpIf->Link);
527 IpSb->DefaultRouteTable = RouteTable;
528 Ip4ReceiveFrame (IpIf, NULL, Ip4AccpetFrame, IpSb);
531 if (IpSb->State == IP4_SERVICE_CONFIGED) {
532 IpSb->State = IP4_SERVICE_UNSTARTED;
564 IpSb->DefaultRouteTable,
576 IpSb->DefaultRouteTable,
582 IpSb->State = IP4_SERVICE_CONFIGED;
583 IpSb->Reconfig = FALSE;
609 IP4_SERVICE *IpSb;
611 IpSb = IP4_SERVICE_FROM_IP4_CONFIG2_INSTANCE (Instance);
613 Status = Ip4Config2SetDefaultAddr (IpSb, StationAddress, SubnetMask);
623 IpSb->DefaultRouteTable,
647 IP4_SERVICE *IpSb;
649 IpSb = IP4_SERVICE_FROM_IP4_CONFIG2_INSTANCE (Instance);
657 IpSb->Image,
658 IpSb->Controller
666 IpSb->Controller,
667 IpSb->Image,
914 IP4_SERVICE *IpSb;
922 IpSb = IP4_SERVICE_FROM_IP4_CONFIG2_INSTANCE (Instance);
924 if (IpSb->State > IP4_SERVICE_UNSTARTED) {
937 IpSb->Controller,
938 IpSb->Image,
970 IpSb->Image,
971 IpSb->Controller,
1031 IpSb->State = IP4_SERVICE_STARTED;
1064 IP4_SERVICE *IpSb;
1070 IpSb = IP4_SERVICE_FROM_IP4_CONFIG2_INSTANCE (Instance);
1073 if (IpSb->DefaultRouteTable != NULL) {
1074 Length += IpSb->DefaultRouteTable->TotalNum * sizeof (EFI_IP4_ROUTE_TABLE);
1092 if (IpSb->DefaultInterface != NULL) {
1093 Address = HTONL (IpSb->DefaultInterface->Ip);
1095 Address = HTONL (IpSb->DefaultInterface->SubnetMask);
1099 if (IpSb->DefaultRouteTable != NULL) {
1100 IfInfo->RouteTableSize = IpSb->DefaultRouteTable->TotalNum;
1103 Ip4Config2BuildDefaultRouteTable (IpSb, IfInfo->RouteTable);
1134 IP4_SERVICE *IpSb;
1199 IpSb = IP4_SERVICE_FROM_IP4_CONFIG2_INSTANCE (Instance);
1200 Ip4Config2OnPolicyChanged (IpSb, NewPolicy);
1241 IP4_SERVICE *IpSb;
1243 IpSb = IP4_SERVICE_FROM_IP4_CONFIG2_INSTANCE (Instance);
1278 IpSb->Reconfig = TRUE;
1279 Status = Ip4Config2SetDefaultAddr (IpSb, StationAddress, SubnetMask);
1326 IP4_SERVICE *IpSb;
1366 IpSb = IP4_SERVICE_FROM_IP4_CONFIG2_INSTANCE (Instance);
1388 IpSb->DefaultRouteTable,
1400 IpSb->DefaultRouteTable,
1470 @param[in] IpSb The pointer to the IP4 service binding instance.
1476 IN IP4_SERVICE *IpSb,
1483 IfInfo->Name[3] = (CHAR16) (L'0' + IpSb->Ip4Config2Instance.IfIndex);
1486 IfInfo->IfType = IpSb->SnpMode.IfType;
1487 IfInfo->HwAddressSize = IpSb->SnpMode.HwAddressSize;
1488 CopyMem (&IfInfo->HwAddress, &IpSb->SnpMode.CurrentAddress, IfInfo->HwAddressSize);
1569 IP4_SERVICE *IpSb;
1580 IpSb = IP4_SERVICE_FROM_IP4_CONFIG2_INSTANCE (Instance);
1581 NET_CHECK_SIGNATURE (IpSb, IP4_SERVICE_SIGNATURE);
1602 Ip4Config2WriteConfigData (IpSb->MacString, Instance);
1854 IP4_SERVICE *IpSb;
1863 IpSb = IP4_SERVICE_FROM_IP4_CONFIG2_INSTANCE (Instance);
1905 Ip4Config2InitIfInfo (IpSb, &Instance->InterfaceInfo);
1943 Status = Ip4Config2ReadConfigData (IpSb->MacString, Instance);
1945 Status = Ip4Config2WriteConfigData (IpSb->MacString, Instance);
1956 DataItem = &IpSb->Ip4Config2Instance.DataItem[Index];
1959 &IpSb->Ip4Config2Instance,