Home
last modified time | relevance | path

Searched refs:HttpInstance (Results 1 – 8 of 8) sorted by relevance

/device/linaro/bootloader/edk2/NetworkPkg/HttpDxe/
DHttpImpl.c56 HTTP_PROTOCOL *HttpInstance; in EfiHttpGetModeData() local
65 HttpInstance = HTTP_INSTANCE_FROM_PROTOCOL (This); in EfiHttpGetModeData()
66 ASSERT (HttpInstance != NULL); in EfiHttpGetModeData()
68 if ((HttpInstance->LocalAddressIsIPv6 && HttpConfigData->AccessPoint.IPv6Node == NULL) || in EfiHttpGetModeData()
69 (!HttpInstance->LocalAddressIsIPv6 && HttpConfigData->AccessPoint.IPv4Node == NULL)) { in EfiHttpGetModeData()
73 if (HttpInstance->State < HTTP_STATE_HTTP_CONFIGED) { in EfiHttpGetModeData()
77 HttpConfigData->HttpVersion = HttpInstance->HttpVersion; in EfiHttpGetModeData()
78 HttpConfigData->TimeOutMillisec = HttpInstance->TimeOutMillisec; in EfiHttpGetModeData()
79 HttpConfigData->LocalAddressIsIPv6 = HttpInstance->LocalAddressIsIPv6; in EfiHttpGetModeData()
81 if (HttpInstance->LocalAddressIsIPv6) { in EfiHttpGetModeData()
[all …]
DHttpProto.c52 HTTP_PROTOCOL *HttpInstance; in HttpTcpTransmitNotifyDpc() local
59 HttpInstance = Wrap->HttpInstance; in HttpTcpTransmitNotifyDpc()
61 if (!HttpInstance->LocalAddressIsIPv6) { in HttpTcpTransmitNotifyDpc()
98 NetMapIterate (&Wrap->HttpInstance->TxTokens, HttpTcpTransmit, NULL); in HttpTcpTransmitNotifyDpc()
138 HTTP_PROTOCOL *HttpInstance; in HttpTcpReceiveNotifyDpc() local
146 HttpInstance = Wrap->HttpInstance; in HttpTcpReceiveNotifyDpc()
147 UsingIpv6 = HttpInstance->LocalAddressIsIPv6; in HttpTcpReceiveNotifyDpc()
158 Item = NetMapFindKey (&HttpInstance->RxTokens, Wrap->HttpToken); in HttpTcpReceiveNotifyDpc()
160 NetMapRemoveItem (&HttpInstance->RxTokens, Item, NULL); in HttpTcpReceiveNotifyDpc()
178 Item = NetMapFindKey (&HttpInstance->RxTokens, Wrap->HttpToken); in HttpTcpReceiveNotifyDpc()
[all …]
DHttpsSupport.c223 IN OUT HTTP_PROTOCOL *HttpInstance in TlsCreateTxRxEvent() argument
228 if (!HttpInstance->LocalAddressIsIPv6) { in TlsCreateTxRxEvent()
236 &HttpInstance->TlsIsTxDone, in TlsCreateTxRxEvent()
237 &HttpInstance->Tcp4TlsTxToken.CompletionToken.Event in TlsCreateTxRxEvent()
243 HttpInstance->Tcp4TlsTxData.Push = TRUE; in TlsCreateTxRxEvent()
244 HttpInstance->Tcp4TlsTxData.Urgent = FALSE; in TlsCreateTxRxEvent()
245 HttpInstance->Tcp4TlsTxData.DataLength = 0; in TlsCreateTxRxEvent()
246 HttpInstance->Tcp4TlsTxData.FragmentCount = 1; in TlsCreateTxRxEvent()
247HttpInstance->Tcp4TlsTxData.FragmentTable[0].FragmentLength = HttpInstance->Tcp4TlsTxData.DataLeng… in TlsCreateTxRxEvent()
248 HttpInstance->Tcp4TlsTxData.FragmentTable[0].FragmentBuffer = NULL; in TlsCreateTxRxEvent()
[all …]
DHttpsSupport.h67 IN OUT HTTP_PROTOCOL *HttpInstance
79 IN HTTP_PROTOCOL *HttpInstance
95 IN OUT HTTP_PROTOCOL *HttpInstance
110 IN OUT HTTP_PROTOCOL *HttpInstance
129 IN OUT HTTP_PROTOCOL *HttpInstance,
150 IN OUT HTTP_PROTOCOL *HttpInstance,
173 IN OUT HTTP_PROTOCOL *HttpInstance,
193 IN HTTP_PROTOCOL *HttpInstance,
211 IN HTTP_PROTOCOL *HttpInstance
232 IN HTTP_PROTOCOL *HttpInstance,
[all …]
DHttpDriver.c268 HTTP_PROTOCOL *HttpInstance; in HttpDestroyChildEntryInHandleBuffer() local
277 HttpInstance = NET_LIST_USER_STRUCT_S (Entry, HTTP_PROTOCOL, Link, HTTP_PROTOCOL_SIGNATURE); in HttpDestroyChildEntryInHandleBuffer()
282 if (!NetIsInHandleBuffer (HttpInstance->Handle, NumberOfChildren, ChildHandleBuffer)) { in HttpDestroyChildEntryInHandleBuffer()
286 return ServiceBinding->DestroyChild (ServiceBinding, HttpInstance->Handle); in HttpDestroyChildEntryInHandleBuffer()
927 HTTP_PROTOCOL *HttpInstance; in HttpServiceBindingCreateChild() local
936 HttpInstance = AllocateZeroPool (sizeof (HTTP_PROTOCOL)); in HttpServiceBindingCreateChild()
937 if (HttpInstance == NULL) { in HttpServiceBindingCreateChild()
941 HttpInstance->Signature = HTTP_PROTOCOL_SIGNATURE; in HttpServiceBindingCreateChild()
942 HttpInstance->Service = HttpService; in HttpServiceBindingCreateChild()
943 HttpInstance->Method = HttpMethodMax; in HttpServiceBindingCreateChild()
[all …]
DHttpProto.h196 HTTP_PROTOCOL *HttpInstance; member
236 IN HTTP_PROTOCOL *HttpInstance
247 IN HTTP_PROTOCOL *HttpInstance
275 IN HTTP_PROTOCOL *HttpInstance
315 IN OUT HTTP_PROTOCOL *HttpInstance,
327 IN HTTP_PROTOCOL *HttpInstance
341 IN HTTP_PROTOCOL *HttpInstance
355 IN HTTP_PROTOCOL *HttpInstance
370 IN HTTP_PROTOCOL *HttpInstance,
386 IN HTTP_PROTOCOL *HttpInstance,
[all …]
DHttpDns.h33 IN HTTP_PROTOCOL *HttpInstance,
53 IN HTTP_PROTOCOL *HttpInstance,
DHttpDns.c32 IN HTTP_PROTOCOL *HttpInstance, in HttpDns4() argument
50 Service = HttpInstance->Service; in HttpDns4()
117 Dns4CfgData.UseDefaultSetting = HttpInstance->IPv4Node.UseDefaultAddress; in HttpDns4()
119 IP4_COPY_ADDRESS (&Dns4CfgData.StationIp, &HttpInstance->IPv4Node.LocalAddress); in HttpDns4()
120 IP4_COPY_ADDRESS (&Dns4CfgData.SubnetMask, &HttpInstance->IPv4Node.LocalSubnet); in HttpDns4()
235 IN HTTP_PROTOCOL *HttpInstance, in HttpDns6() argument
253 Service = HttpInstance->Service; in HttpDns6()
321 IP6_COPY_ADDRESS (&Dns6ConfigData.StationIp, &HttpInstance->Ipv6Node.LocalAddress); in HttpDns6()