Changeset 58466 in vbox for trunk/src/VBox/Devices/EFI/Firmware/NetworkPkg/Ip6Dxe
- Timestamp:
- Oct 29, 2015 4:30:44 AM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 103777
- Location:
- trunk/src/VBox/Devices/EFI/Firmware
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware
- Property svn:mergeinfo changed
/vendor/edk2/current merged: 103769-103776
- Property svn:mergeinfo changed
-
trunk/src/VBox/Devices/EFI/Firmware/NetworkPkg/Ip6Dxe/ComponentName.c
r58459 r58466 239 239 @param Ip6[in] A pointer to the EFI_IP6_PROTOCOL. 240 240 241 241 242 242 @retval EFI_SUCCESS Update the ControllerNameTable of this instance successfully. 243 243 @retval EFI_INVALID_PARAMETER The input parameter is invalid. 244 244 245 245 **/ 246 246 EFI_STATUS … … 295 295 gIp6ControllerNameTable = NULL; 296 296 } 297 297 298 298 Status = AddUnicodeString2 ( 299 299 "eng", … … 306 306 return Status; 307 307 } 308 308 309 309 return AddUnicodeString2 ( 310 310 "en", … … 396 396 EFI_STATUS Status; 397 397 EFI_IP6_PROTOCOL *Ip6; 398 398 399 399 // 400 400 // Only provide names for child handles. … … 405 405 406 406 // 407 // Make sure this driver produced ChildHandle 407 // Make sure this driver produced ChildHandle 408 408 // 409 409 Status = EfiTestChildHandle ( -
trunk/src/VBox/Devices/EFI/Firmware/NetworkPkg/Ip6Dxe/Ip6Common.c
r58459 r58466 331 331 /** 332 332 Callback function which provided by user to remove one node in NetDestroyLinkList process. 333 333 334 334 @param[in] Entry The entry to be removed. 335 335 @param[in] Context Pointer to the callback context corresponds to the Context in NetDestroyLinkList. … … 349 349 EFI_SERVICE_BINDING_PROTOCOL *ServiceBinding; 350 350 EFI_IPv6_ADDRESS *Address; 351 351 352 352 Instance = NET_LIST_USER_STRUCT_S (Entry, IP6_PROTOCOL, Link, IP6_PROTOCOL_SIGNATURE); 353 353 ServiceBinding = ((IP6_DESTROY_CHILD_BY_ADDR_CALLBACK_CONTEXT*) Context)->ServiceBinding; … … 357 357 return ServiceBinding->DestroyChild (ServiceBinding, Instance->Handle); 358 358 } 359 359 360 360 return EFI_SUCCESS; 361 361 } -
trunk/src/VBox/Devices/EFI/Firmware/NetworkPkg/Ip6Dxe/Ip6Config.vfr
-
Property svn:eol-style
set to
native
-
Property svn:eol-style
set to
-
trunk/src/VBox/Devices/EFI/Firmware/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.h
r58459 r58466 73 73 @retval EFI_SUCCESS The specified configuration data for the EFI IPv6 74 74 network stack was set successfully. 75 75 76 76 **/ 77 77 typedef … … 90 90 bytes, the size of buffer required to store the specified 91 91 configuration data. 92 @param[in] Data The data buffer in which the configuration data is returned. 92 @param[in] Data The data buffer in which the configuration data is returned. 93 93 Ignored if DataSize is ZERO. 94 94 95 95 @retval EFI_BUFFER_TOO_SMALL The size of Data is too small for the specified 96 configuration data, and the required size is 96 configuration data, and the required size is 97 97 returned in DataSize. 98 @retval EFI_SUCCESS The specified configuration data was obtained successfully. 99 98 @retval EFI_SUCCESS The specified configuration data was obtained successfully. 99 100 100 **/ 101 101 typedef … … 165 165 166 166 typedef struct { 167 EFI_IP6_CONFIG_POLICY Policy; ///< manual or automatic 167 EFI_IP6_CONFIG_POLICY Policy; ///< manual or automatic 168 168 EFI_IP6_CONFIG_DUP_ADDR_DETECT_TRANSMITS DadTransmitCount; ///< dad transmits count 169 EFI_IP6_CONFIG_INTERFACE_ID InterfaceId; ///< alternative interface id 169 EFI_IP6_CONFIG_INTERFACE_ID InterfaceId; ///< alternative interface id 170 170 LIST_ENTRY ManualAddress; ///< IP addresses 171 171 UINT32 ManualAddressCount; ///< IP addresses count … … 219 219 The event process routine when the DHCPv6 server is answered with a reply packet 220 220 for an information request. 221 221 222 222 @param[in] This Points to the EFI_DHCP6_PROTOCOL. 223 223 @param[in] Context The pointer to the IP6 configuration instance data. … … 225 225 226 226 @retval EFI_SUCCESS The DNS server address was retrieved from the reply packet. 227 @retval EFI_NOT_READY The reply packet does not contain the DNS server option, or 227 @retval EFI_NOT_READY The reply packet does not contain the DNS server option, or 228 228 the DNS server address is not valid. 229 229 … … 239 239 /** 240 240 The work function to trigger the DHCPv6 process to perform a stateful autoconfiguration. 241 241 242 242 @param[in] Instance Pointer to the IP6 config instance data. 243 243 @param[in] OtherInfoOnly If FALSE, get stateful address and other information … … 258 258 259 259 @param[out] Instance The buffer of IP6_CONFIG_INSTANCE to be initialized. 260 260 261 261 @retval EFI_OUT_OF_RESOURCES Failed to allocate resources to complete the operation. 262 262 @retval EFI_SUCCESS The IP6_CONFIG_INSTANCE initialized successfully. 263 263 264 264 **/ 265 265 EFI_STATUS … … 272 272 273 273 @param[in, out] Instance The buffer of IP6_CONFIG_INSTANCE to be freed. 274 274 275 275 **/ 276 276 VOID … … 286 286 @retval EFI_SUCCESS The child was successfully destroyed. 287 287 @retval Others Failed to destroy the child. 288 288 289 289 **/ 290 290 EFI_STATUS -
trunk/src/VBox/Devices/EFI/Firmware/NetworkPkg/Ip6Dxe/Ip6ConfigNv.c
r58459 r58466 995 995 /** 996 996 Convert IFR data into IP6 configuration data. The policy, alternative interface 997 ID, and DAD transmit counts, and will be saved. 997 ID, and DAD transmit counts, and will be saved. 998 998 999 999 @param[in] IfrNvData The IFR NV data. … … 1542 1542 CHAR16 PortString[ADDRESS_STR_MAX_SIZE]; 1543 1543 EFI_IP6_CONFIG_INTERFACE_INFO *IfInfo; 1544 1544 1545 1545 1546 1546 Ip6Config = &Instance->Ip6Config; … … 1795 1795 *ActionRequest = EFI_BROWSER_ACTION_REQUEST_SUBMIT; 1796 1796 break; 1797 1797 1798 1798 case KEY_INTERFACE_ID: 1799 1799 Status = Ip6ParseInterfaceIdFromString (IfrNvData->InterfaceId, &Ip6NvData->InterfaceId); … … 1806 1806 ); 1807 1807 } 1808 1808 1809 1809 break; 1810 1810 1811 1811 case KEY_MANUAL_ADDRESS: 1812 1812 Status = Ip6ParseAddressListFromString ( … … 1823 1823 ); 1824 1824 } 1825 1825 1826 1826 break; 1827 1827 1828 1828 case KEY_GATEWAY_ADDRESS: 1829 1829 Status = Ip6ParseAddressListFromString ( … … 1840 1840 ); 1841 1841 } 1842 1842 1843 1843 break; 1844 1844 1845 1845 case KEY_DNS_ADDRESS: 1846 1846 Status = Ip6ParseAddressListFromString ( … … 1857 1857 ); 1858 1858 } 1859 1859 1860 1860 break; 1861 1861 -
trunk/src/VBox/Devices/EFI/Firmware/NetworkPkg/Ip6Dxe/Ip6Driver.c
r58459 r58466 124 124 if (EFI_ERROR (Status)) { 125 125 return Status; 126 } 126 } 127 127 } 128 128 … … 567 567 if (EFI_ERROR (Status)) { 568 568 goto ON_ERROR; 569 } 569 } 570 570 571 571 // … … 585 585 /** 586 586 Callback function which provided by user to remove one node in NetDestroyLinkList process. 587 587 588 588 @param[in] Entry The entry to be removed. 589 589 @param[in] Context Pointer to the callback context corresponds to the Context in NetDestroyLinkList. … … 718 718 Status = EFI_SUCCESS; 719 719 } 720 720 721 721 Exit: 722 722 return Status; -
trunk/src/VBox/Devices/EFI/Firmware/NetworkPkg/Ip6Dxe/Ip6Dxe.inf
r58459 r58466 1 1 ## @file 2 2 # Basic IPv6 packet I/O Service. 3 # 4 # This module provides basic network IPv6 packet I/O services which includes support for 5 # Neighbor Discovery Protocol (ND), Multicast Listener Discovery Protocol (MLD), 6 # and a subset of the Internet Control Message Protocol (ICMPv6). This driver 3 # 4 # This module provides basic network IPv6 packet I/O services which includes support for 5 # Neighbor Discovery Protocol (ND), Multicast Listener Discovery Protocol (MLD), 6 # and a subset of the Internet Control Message Protocol (ICMPv6). This driver 7 7 # also provides the mechanism to set and get various types of configurations for 8 8 # the EFI IPv6 network stack. -
trunk/src/VBox/Devices/EFI/Firmware/NetworkPkg/Ip6Dxe/Ip6DxeStrings.uni
-
Property svn:mime-type
changed from
application/octet-stream
totext/plain;encoding=UTF-16LE
-
Property svn:mime-type
changed from
-
trunk/src/VBox/Devices/EFI/Firmware/NetworkPkg/Ip6Dxe/Ip6If.c
r58459 r58466 566 566 EFI_STATUS Status; 567 567 IP6_LINK_RX_TOKEN *Token; 568 568 569 569 NET_CHECK_SIGNATURE (IpSb, IP6_SERVICE_SIGNATURE); 570 570 -
trunk/src/VBox/Devices/EFI/Firmware/NetworkPkg/Ip6Dxe/Ip6Input.c
r58459 r58466 652 652 sizeof (IP6_CLIP_INFO) 653 653 ); 654 654 655 655 NetIpSecNetbufFree(Packet); 656 656 *Netbuf = TxWrap->Packet; … … 729 729 @param[in] Flag The link layer flag for the packet received, such 730 730 as multicast. 731 @param[out] Payload The pointer to the payload of the recieved packet. 732 it starts from the first byte of the extension header. 731 @param[out] Payload The pointer to the payload of the recieved packet. 732 it starts from the first byte of the extension header. 733 733 @param[out] LastHead The pointer of NextHeader of the last extension 734 734 header processed by IP6. 735 735 @param[out] ExtHdrsLen The length of the whole option. 736 736 @param[out] UnFragmentLen The length of unfragmented length of extension headers. 737 @param[out] Fragmented Indicate whether the packet is fragmented. 737 @param[out] Fragmented Indicate whether the packet is fragmented. 738 738 @param[out] Head The pointer to the EFI_IP6_Header. 739 739 … … 751 751 OUT UINT32 *ExtHdrsLen, 752 752 OUT UINT32 *UnFragmentLen, 753 OUT BOOLEAN *Fragmented, 753 OUT BOOLEAN *Fragmented, 754 754 OUT EFI_IP6_HEADER **Head 755 755 ) … … 969 969 // 970 970 NetbufTrim (*Packet, sizeof (EFI_IP6_HEADER) + *ExtHdrsLen, TRUE); 971 971 972 972 return EFI_SUCCESS; 973 973 } … … 1014 1014 goto Drop; 1015 1015 } 1016 1016 1017 1017 // 1018 1018 // Pre-Process the Ipv6 Packet and then reassemble if it is necessary. 1019 1019 // 1020 1020 Status = Ip6PreProcessPacket ( 1021 IpSb, 1022 &Packet, 1023 Flag, 1024 &Payload, 1025 &LastHead, 1026 &ExtHdrsLen, 1027 &UnFragmentLen, 1021 IpSb, 1022 &Packet, 1023 Flag, 1024 &Payload, 1025 &LastHead, 1026 &ExtHdrsLen, 1027 &UnFragmentLen, 1028 1028 &Fragmented, 1029 1029 &Head … … 1057 1057 if (0 == CompareMem (Head, &ZeroHead, sizeof (EFI_IP6_HEADER))) { 1058 1058 Status = Ip6PreProcessPacket ( 1059 IpSb, 1060 &Packet, 1061 Flag, 1062 &Payload, 1063 &LastHead, 1064 &ExtHdrsLen, 1065 &UnFragmentLen, 1066 &Fragmented, 1059 IpSb, 1060 &Packet, 1061 Flag, 1062 &Payload, 1063 &LastHead, 1064 &ExtHdrsLen, 1065 &UnFragmentLen, 1066 &Fragmented, 1067 1067 &Head 1068 1068 ); … … 1078 1078 goto Restart; 1079 1079 } 1080 1080 1081 1081 // 1082 1082 // Packet may have been changed. The ownership of the packet -
trunk/src/VBox/Devices/EFI/Firmware/NetworkPkg/Ip6Dxe/Ip6Nd.c
r58459 r58466 823 823 EFI_DHCP6_RETRANSMISSION InfoReqReXmit; 824 824 EFI_IPv6_ADDRESS AllNodes; 825 825 826 826 IpSb = IpIf->Service; 827 827 AddrInfo = DadEntry->AddressInfo;
Note:
See TracChangeset
for help on using the changeset viewer.