Lines Matching refs:udp
14 * This UDP binding is configured to operate in promiscuous mode. It is
22 * Try to configure this UDP socket
24 * @param:udp, the EFI_UDP4 socket to configure
31 EFI_STATUS core_udp_configure(EFI_UDP4 *udp, EFI_UDP4_CONFIG_DATA *udata,
40 status = uefi_call_wrapper(udp->Configure, 2, udp, udata);
69 EFI_UDP4 *udp;
81 udp = (EFI_UDP4 *)udp_reader->this;
85 status = core_udp_configure(udp, &udata, L"core_udp_open");
96 status = uefi_call_wrapper(udp->GetModeData, 5, udp,
99 Print(L"Failed to get UDP mode data: %d\n", status);
144 EFI_UDP4 *udp;
146 udp = (EFI_UDP4 *)socket->net.efi.binding->this;
159 status = core_udp_configure(udp, &udata, L"core_udp_connect");
161 Print(L"Failed to configure UDP: %d\n", status);
174 EFI_UDP4 *udp;
176 udp = (EFI_UDP4 *)socket->net.efi.binding->this;
179 status = uefi_call_wrapper(udp->Configure, 2, udp, NULL);
181 Print(L"Failed to reset UDP: %d\n", status);
216 EFI_UDP4 *udp;
224 udp = (EFI_UDP4 *)b->this;
232 status = uefi_call_wrapper(udp->Receive, 2, udp, &token);
241 dprintf("Failed to cancel UDP\n");
243 uefi_call_wrapper(udp->Cancel, 2, udp, &token);
247 uefi_call_wrapper(udp->Poll, 1, udp);
277 * Send a UDP packet.
290 EFI_UDP4 *udp = (EFI_UDP4 *)b->this;
316 status = uefi_call_wrapper(udp->Transmit, 2, udp, token);
321 uefi_call_wrapper(udp->Poll, 1, udp);
335 * Send a UDP packet to a destination
352 EFI_UDP4 *udp;
360 udp = (EFI_UDP4 *)b->this;
381 status = core_udp_configure(udp, &udata, L"core_udp_sendto");
399 status = uefi_call_wrapper(udp->Transmit, 2, udp, token);
404 uefi_call_wrapper(udp->Poll, 1, udp);