/reactos/drivers/network/tcpip/lwip/src/netif/ppp/ |
H A D | demand.c | 156 for (pkt = pend_q; pkt != NULL; pkt = nextpkt) { in demand_discard() 158 free(pkt); in demand_discard() 302 pkt->next = NULL; 305 pend_q = pkt; 308 pend_qtail = pkt; 331 pkt = pend_q; 336 for (; pkt != NULL; pkt = nextpkt) { 414 output(pcb, pkt->data, pkt->length); 415 free(pkt); 418 pend_q = pkt; [all …]
|
H A D | chap-new.c | 94 unsigned char *pkt, int len); 101 unsigned char *pkt, int len); 103 unsigned char *pkt, int len); 301 response = pkt; 302 GETCHAR(response_len, pkt); 454 if (len < 2 || len < pkt[0] + 1) 456 clen = pkt[0]; 541 GETCHAR(code, pkt); 542 GETCHAR(id, pkt); 543 GETSHORT(len, pkt); [all …]
|
H A D | ipv6cp.c | 271 static int ipv6_active_pkt(u_char *pkt, int len); 1513 static int ipv6_active_pkt(u_char *pkt, int len) { 1517 pkt += PPP_HDRLEN; 1520 if (get_ip6nh(pkt) == IP6_NHDR_FRAG) 1522 if (get_ip6nh(pkt) != IPPROTO_TCP) 1526 tcp = pkt + IP6_HDRLEN;
|
H A D | ecp.c | 94 static int ecp_printpkt (const u_char *pkt, int len,
|
H A D | ipcp.c | 2393 ip_active_pkt(pkt, len) in ip_active_pkt() argument 2394 u_char *pkt; in ip_active_pkt() 2401 pkt += PPP_HDRLEN; 2404 if ((get_ipoff(pkt) & IP_OFFMASK) != 0) 2406 if (get_ipproto(pkt) != IPPROTO_TCP) 2408 hlen = get_iphl(pkt) * 4; 2411 tcp = pkt + hlen;
|
H A D | ccp.c | 173 static void ccp_input(ppp_pcb *pcb, u_char *pkt, int len); 179 static void ccp_datainput(ppp_pcb *pcb, u_char *pkt, int len); 1660 static void ccp_datainput(ppp_pcb *pcb, u_char *pkt, int len) { in ccp_datainput() argument 1665 LWIP_UNUSED_ARG(pkt); in ccp_datainput()
|
H A D | lcp.c | 2720 u_char pkt[4], *pktp; in LcpSendEchoRequest() local 2757 pktp = pkt; in LcpSendEchoRequest() 2759 fsm_sdata(f, ECHOREQ, pcb->lcp_echo_number++, pkt, pktp - pkt); in LcpSendEchoRequest()
|
/reactos/drivers/network/tcpip/lwip/src/apps/mdns/ |
H A D | mdns.c | 403 pkt->parse_offset = mdns_readname(pkt->pbuf, pkt->parse_offset, &info->domain); in mdns_read_rr_info() 437 if (pkt->pbuf->tot_len < pkt->parse_offset) { in mdns_read_question() 478 if (pkt->pbuf->tot_len < pkt->parse_offset) { in mdns_read_answer() 978 pkt->authoritative_left = pkt->authoritative; in mdns_handle_probe_tiebreaking() 1054 pkt->questions_left = pkt->questions; in mdns_handle_probe_tiebreaking() 1055 pkt->authoritative_left = pkt->authoritative; in mdns_handle_probe_tiebreaking() 1138 res = mdns_read_answer(pkt, &ans, &pkt->answers_left); in mdns_parse_pkt_known_answers() 1403 if ((pkt->questions > 0) && (pkt->answers == 0) && in mdns_handle_question() 1404 (pkt->authoritative > 0) && (pkt->additional == 0)) { in mdns_handle_question() 1853 total_answers_left = pkt->answers_left + pkt->authoritative_left + pkt->additional_left; in mdns_handle_response() [all …]
|
/reactos/drivers/storage/class/classpnp/ |
H A D | xferpkt.c | 209 if (pkt) { in InitializeTransferPackets() 292 TRANSFER_PACKET *pkt; in DestroyAllTransferPackets() local 309 while (pkt) { in DestroyAllTransferPackets() 668 PTRANSFER_PACKET pkt; in DequeueFreeTransferPacketEx() local 690 if (pkt) { in DequeueFreeTransferPacketEx() 699 pkt = NULL; in DequeueFreeTransferPacketEx() 703 return pkt; in DequeueFreeTransferPacketEx() 1018 (pkt->DriverUsesStartIO && pkt->LowMemRetry_remainingBufLen > 0)) { in TransferPktComplete() 1126 SrbSetSenseInfoBuffer(pkt->Srb, &pkt->SrbErrorSenseData); in TransferPktComplete() 1133 RtlZeroMemory(&pkt->SrbErrorSenseData, sizeof(pkt->SrbErrorSenseData)); in TransferPktComplete() [all …]
|
H A D | retry.c | 629 PTRANSFER_PACKET pkt; in TransferPacketRetryTimerDpc() local 635 pkt = (PTRANSFER_PACKET)DeferredContext; in TransferPacketRetryTimerDpc() 637 fdo = pkt->Fdo; in TransferPacketRetryTimerDpc() 652 if (PORT_ALLOCATED_SENSE_EX(fdoExtension, pkt->Srb)) { in TransferPacketRetryTimerDpc() 654 FREE_PORT_ALLOCATED_SENSE_BUFFER_EX(fdoExtension, pkt->Srb); in TransferPacketRetryTimerDpc() 655 SrbSetSenseInfoBuffer(pkt->Srb, &pkt->SrbErrorSenseData); in TransferPacketRetryTimerDpc() 656 SrbSetSenseInfoBufferLength(pkt->Srb, sizeof(pkt->SrbErrorSenseData)); in TransferPacketRetryTimerDpc() 659 NT_ASSERT(SrbGetSenseInfoBuffer(pkt->Srb) == &pkt->SrbErrorSenseData); in TransferPacketRetryTimerDpc() 660 NT_ASSERT(SrbGetSenseInfoBufferLength(pkt->Srb) <= sizeof(pkt->SrbErrorSenseData)); in TransferPacketRetryTimerDpc() 663 RtlZeroMemory(&pkt->SrbErrorSenseData, sizeof(pkt->SrbErrorSenseData)); in TransferPacketRetryTimerDpc() [all …]
|
H A D | class.c | 6726 if (pkt){ 6934 if (pkt){ 13868 pkt = NULL; 13958 if (!pkt){ 14100 pkt, 14436 if (!pkt){ 14465 pkt, 15266 if (!pkt){ 15389 pkt, 16006 if (!pkt) { [all …]
|
H A D | create.c | 915 TRANSFER_PACKET *pkt; in ClasspEjectionControl() local 917 pkt = DequeueFreeTransferPacket(Fdo, TRUE); in ClasspEjectionControl() 918 if (pkt){ in ClasspEjectionControl() 937 SetupEjectionTransferPacket(pkt, Lock, &event, Irp); in ClasspEjectionControl() 938 SubmitTransferPacket(pkt); in ClasspEjectionControl()
|
H A D | classp.h | 1722 VOID SetupReadWriteTransferPacket(PTRANSFER_PACKET pkt, PVOID Buf, ULONG Len, LARGE_INTEGER DiskLoc…
|
/reactos/base/services/tftpd/ |
H A D | tftpd.cpp | 1040 if (errno || !req.pkt[0] || !req.pkt[1]) in processRequest() 1075 req.pkt[0]->opcode = htons(3); in processRequest() 1076 req.pkt[0]->block = htons(1); in processRequest() 1092 req.pkt[1]->opcode = htons(3); in processRequest() 1093 req.pkt[1]->block = htons(2); in processRequest() 1307 if (errno || !req.pkt[0]) in processRequest() 1342 if (ntohs(req.pkt[0]->opcode) == 3) in processRequest() 1518 if (req->pkt[0]) in cleanReq() 1519 free(req->pkt[0]); in cleanReq() 1521 if (req->pkt[1]) in cleanReq() [all …]
|
H A D | tftpd.h | 104 packet* pkt[2]; member
|
/reactos/win32ss/user/user32/misc/ |
H A D | dllmain.c | 678 PUMPDPKTHEAD pkt, pktOut = NULL; in User32CallUMPDFromKernel() local 680 pkt = (PUMPDPKTHEAD)Arguments; in User32CallUMPDFromKernel() 682 if ( pkt->RetSize <= sizeof(Buffer) ) in User32CallUMPDFromKernel() 686 if ( (GdiPrinterThunk( pkt, pktOut, pkt->RetSize ) == GDI_ERROR) ) in User32CallUMPDFromKernel() 693 cbSize = pkt->RetSize; in User32CallUMPDFromKernel()
|
/reactos/drivers/network/tcpip/lwip/src/include/netif/ppp/ |
H A D | chap-new.h | 148 int (*check_success)(ppp_pcb *pcb, unsigned char *pkt, int len, unsigned char *priv); 149 void (*handle_failure)(ppp_pcb *pcb, unsigned char *pkt, int len);
|
H A D | ppp_impl.h | 288 void (*input) (ppp_pcb *pcb, u_char *pkt, int len); 301 int (*printpkt) (const u_char *pkt, int len, 307 void (*datainput) (ppp_pcb *pcb, u_char *pkt, int len); 322 int (*active_pkt) (u_char *pkt, int len);
|
/reactos/dll/win32/rpcrt4/ |
H A D | rpc_message.c | 768 unsigned char *pkt; in RPCRT4_SendWithAuth() local 809 pkt = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, Header->common.frag_len); in RPCRT4_SendWithAuth() 811 memcpy(pkt, Header, hdr_size); in RPCRT4_SendWithAuth() 817 memcpy(pkt + hdr_size, buffer_pos, Header->common.frag_len - hdr_size - auth_pad_len - alen); in RPCRT4_SendWithAuth() 822 RpcAuthVerifier *auth_hdr = (RpcAuthVerifier *)&pkt[Header->common.frag_len - alen]; in RPCRT4_SendWithAuth() 836 (RpcPktHdr *)pkt, hdr_size, in RPCRT4_SendWithAuth() 837 pkt + hdr_size, Header->common.frag_len - hdr_size - alen, in RPCRT4_SendWithAuth() 842 HeapFree(GetProcessHeap(), 0, pkt); in RPCRT4_SendWithAuth() 850 count = rpcrt4_conn_write(Connection, pkt, Header->common.frag_len); in RPCRT4_SendWithAuth() 851 HeapFree(GetProcessHeap(), 0, pkt); in RPCRT4_SendWithAuth()
|
H A D | rpc_server.c | 535 RpcPacket *pkt = the_arg; in RPCRT4_worker_thread() local 536 RPCRT4_process_packet(pkt->conn, pkt->hdr, pkt->msg, pkt->auth_data, in RPCRT4_worker_thread() 537 pkt->auth_length); in RPCRT4_worker_thread() 538 RPCRT4_ReleaseConnection(pkt->conn); in RPCRT4_worker_thread() 539 HeapFree(GetProcessHeap(), 0, pkt); in RPCRT4_worker_thread()
|
/reactos/dll/win32/fusion/ |
H A D | asmname.c | 365 WCHAR pkt[CHARS_PER_PUBKEY + 1]; in IAssemblyNameImpl_GetDisplayName() local 374 wsprintfW(pkt, spec, name->pubkey[0], name->pubkey[1], name->pubkey[2], in IAssemblyNameImpl_GetDisplayName() 378 lstrcatW(szDisplayName, pkt); in IAssemblyNameImpl_GetDisplayName()
|
/reactos/win32ss/user/ntuser/ |
H A D | callback.c | 1227 co_UserCBClientPrinterThunk( PVOID pkt, INT InSize, PVOID pvOutData, INT OutSize ) in co_UserCBClientPrinterThunk() argument 1233 pkt, in co_UserCBClientPrinterThunk()
|
/reactos/base/applications/wordpad/lang/ |
H A D | da-DK.rc | 173 STRING_UNITS_PT, "pkt"
|
/reactos/media/drivers/etc/ |
H A D | services | 1693 pkt-krb-ipsec 1293/tcp #PKT-KRB-IPSec 1694 pkt-krb-ipsec 1293/udp #PKT-KRB-IPSec
|