亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? h323parser.cpp

?? asn格式文件的編譯器
?? CPP
?? 第 1 頁 / 共 3 頁
字號:
    wsprintf( pFollowEntry->szProtocol, "TCP" );	// TPKT     pFollowEntry = &(pFollowSet->Entry[1]);    wsprintf( pFollowEntry->szProtocol, "TPKT" );	// the outgoing HandOff set -----------------------------------------------    // allocate    NumHandoffs = 1;    pHandoffSet = (PPF_HANDOFFSET) HeapAlloc( GetProcessHeap(),                                           HEAP_ZERO_MEMORY,                                           sizeof( PF_HANDOFFSET ) +                                           NumHandoffs * sizeof( PF_HANDOFFENTRY) );    if( pHandoffSet == NULL )    {        // just return early        return FALSE;    }    // fill in outgoing HandOff set    pParserInfo->pWhoDoIHandOffTo = pHandoffSet;    pFollowSet->nEntries = NumHandoffs;	// TPKT     pHandoffEntry = &(pHandoffSet->Entry[0]);    wsprintf( pHandoffEntry->szProtocol, "TPKT" );	return TRUE;}BOOL TPKT_AutoInstall(PPF_PARSERINFO pParserInfo){    DWORD NumFollows;    PPF_FOLLOWSET     pFollowSet;    PPF_FOLLOWENTRY   pFollowEntry;    wsprintf( pParserInfo->szProtocolName, "TPKT" );    wsprintf( pParserInfo->szComment,      "RFC 1001 TPKT Protocol" );    wsprintf( pParserInfo->szHelpFile,     "");	    // the incoming follow set -----------------------------------------------    // allocate    NumFollows = 3;    pFollowSet = (PPF_FOLLOWSET)HeapAlloc( GetProcessHeap(),                                           HEAP_ZERO_MEMORY,                                           sizeof( PF_FOLLOWSET ) +                                           NumFollows * sizeof( PF_FOLLOWENTRY) );    if( pFollowSet == NULL )    {        // just return early        return FALSE;    }    // fill in the incoming follow set    pParserInfo->pWhoCanPrecedeMe = pFollowSet;    pFollowSet->nEntries = NumFollows;    // TCP    pFollowEntry = &(pFollowSet->Entry[0]);    wsprintf( pFollowEntry->szProtocol, "TCP" );        // Q.931    pFollowEntry = &(pFollowSet->Entry[1]);    wsprintf( pFollowEntry->szProtocol, "Q.931" );    // H.245    pFollowEntry = &(pFollowSet->Entry[2]);    wsprintf( pFollowEntry->szProtocol, "H.245" );	// the outgoing follow set -----------------------------------------------    // allocate    NumFollows = 2;    pFollowSet = (PPF_FOLLOWSET)HeapAlloc( GetProcessHeap(),                                           HEAP_ZERO_MEMORY,                                           sizeof( PF_FOLLOWSET ) +                                           NumFollows * sizeof( PF_FOLLOWENTRY) );    if( pFollowSet == NULL )    {        // just return early        return FALSE;    }    // fill in outgoing follow set    pParserInfo->pWhoCanFollowMe = pFollowSet;    pFollowSet->nEntries = NumFollows;    // Q.931    pFollowEntry = &(pFollowSet->Entry[0]);    wsprintf( pFollowEntry->szProtocol, "Q.931" );    // H.245    pFollowEntry = &(pFollowSet->Entry[1]);    wsprintf( pFollowEntry->szProtocol, "H.245" );	return TRUE;}//============================================================================// //  AutoInstall - return all of the information neede to install us////  Modification history://                                                                            //============================================================================PPF_PARSERDLLINFO WINAPI ParserAutoInstallInfo() {    PPF_PARSERDLLINFO pParserDllInfo;     DWORD NumProtocols;    // Base structure ========================================================    // Allocate memory for parser info:    NumProtocols = 4;    pParserDllInfo = (PPF_PARSERDLLINFO)HeapAlloc( GetProcessHeap(),                                                   HEAP_ZERO_MEMORY,                                                   sizeof( PF_PARSERDLLINFO ) +                                                   NumProtocols * sizeof( PF_PARSERINFO) );    if( pParserDllInfo == NULL)    {        return NULL;    }               // fill in the parser DLL info    pParserDllInfo->nParsers = NumProtocols;    // fill in the individual parser infos...	RAS_AutoInstall(&(pParserDllInfo->ParserInfo[0]));	Q931_AutoInstall(&(pParserDllInfo->ParserInfo[1]));	H245_AutoInstall(&(pParserDllInfo->ParserInfo[2]));	TPKT_AutoInstall(&(pParserDllInfo->ParserInfo[3]));     return pParserDllInfo;}ASN1::CoderEnv* env;H4501_Supplementary_ServiceAPDU_Structure::Module* h4501Module;H4501_General_Error_List::Module* errListModule;Call_Transfer_Operations::Module* h4502Module;Call_Diversion_Operations::Module* h4503Module;Call_Hold_Operations::Module* h4504Module;Call_Park_Pickup_Operations::Module* h4505Module;Call_Waiting_Operations::Module* h4506Module;Message_Waiting_Indication_Operations::Module* h4507Module;Name_Operations::Module* h4508Module;Call_Completion_Operations::Module* h4509Module;Call_Offer_Operations::Module* h45010Module;BOOL APIENTRY DllMain( HANDLE hModule,                        DWORD  Command,                        LPVOID lpReserved					 ){    // what type of call is this    switch( Command )    {    case DLL_PROCESS_ATTACH:        // are we loading for the first time?        if( Attached == 0 )        {            // the first time in we need to tell t kernel             // about ourselves            hRAS = CreateProtocol( "RAS",                 &RASEntryPoints,                 ENTRYPOINTS_SIZE);                        hQ931 = CreateProtocol( "Q.931",                &Q931EntryPoints,                ENTRYPOINTS_SIZE);                        hH245 = CreateProtocol( "H.245",                &H245EntryPoints,                ENTRYPOINTS_SIZE);                                    hTPKT = CreateProtocol( "TPKT",                &TPKTEntryPoints,                ENTRYPOINTS_SIZE);                        env = new ASN1::CoderEnv;            h4501Module = new H4501_Supplementary_ServiceAPDU_Structure::Module;            errListModule = new H4501_General_Error_List::Module;            h4502Module = new Call_Transfer_Operations::Module(errListModule);            h4503Module = new Call_Diversion_Operations::Module(errListModule);            h4504Module = new Call_Hold_Operations::Module(errListModule);            h4505Module = new Call_Park_Pickup_Operations::Module(errListModule);            h4506Module = new Call_Waiting_Operations::Module;            h4507Module = new Message_Waiting_Indication_Operations::Module(errListModule);            h4508Module = new Name_Operations::Module;            h4509Module = new Call_Completion_Operations::Module(h4504Module, errListModule);            h45010Module = new Call_Offer_Operations::Module(h4506Module);                        Remote_Operations_Information_Objects::OPERATION& operations                = h4501Module->get_OperationSet();            operations.insert(h4502Module->get_H323CallTransferOperations().begin(),                              h4502Module->get_H323CallTransferOperations().end());            operations.insert(h4503Module->get_H323CallDiversionOperations().begin(),                              h4503Module->get_H323CallDiversionOperations().end());            operations.insert(h4504Module->get_CallHoldOperations().begin(),                              h4504Module->get_CallHoldOperations().end());            operations.insert(h4505Module->get_CallParkPickupOperations().begin(),                              h4505Module->get_CallParkPickupOperations().end());            operations.insert(h4506Module->get_CallWaitingOperations().begin(),                              h4506Module->get_CallWaitingOperations().end());            operations.insert(h4507Module->get_H323_MWI_Operations().begin(),                              h4507Module->get_H323_MWI_Operations().end());            operations.insert(h4508Module->get_NameOperations().begin(),                              h4508Module->get_NameOperations().end());            operations.insert(h4509Module->get_H323CallCompletionOperations().begin(),                              h4509Module->get_H323CallCompletionOperations().end());            operations.insert(h45010Module->get_H323CallOfferOperations().begin(),                              h45010Module->get_H323CallOfferOperations().end());            env->set_per_Basic_Aligned();            env->insert(h4501Module);                    }        Attached++;        break;    case DLL_PROCESS_DETACH:        // are we detaching our last instance?        Attached--;        if( Attached == 0 )        {            // last guy out needs to clean up            DestroyProtocol(hTPKT);            DestroyProtocol(hH245);            DestroyProtocol(hQ931);            DestroyProtocol( hRAS);            delete env;            delete h45010Module;            delete h4509Module;            delete h4508Module;            delete h4507Module;            delete h4506Module;            delete h4505Module;            delete h4504Module;            delete h4503Module;            delete h4502Module;            delete errListModule;            delete h4501Module;        }        break;    }    // Netmon parsers ALWAYS return TRUE.    return TRUE;}//============================================================================//  Function: H323_Deregister// //  Description: Destroy our property database and handoff set////  Modification History////  Huang-Ming Huang      08/11/2000    Created//============================================================================VOID WINAPI H323_Deregister( HPROTOCOL hH323){    // tell the kernel that it may now free our database    DestroyPropertyDatabase( hH323);}//============================================================================//  Function: H323_FormatProperties// //  Description: Format the given properties on the given frame.////  Modification History////  Huang-Ming Huang      08/11/2000    Created//============================================================================DWORD BHAPI H323_FormatProperties( HFRAME          hFrame,                                       LPBYTE          pMacFrame,                                       LPBYTE          pBLRPLATEFrame,                                       DWORD           nPropertyInsts,                                       LPPROPERTYINST  p){    // loop through the property instances    while( nPropertyInsts-- > 0)    {        // and call the formatter for each        ( (FORMAT)(p->lpPropertyInfo->InstanceData) )( p);        p++;    }    return NMERR_SUCCESS;}//============================================================================//  Function: Custom_Format// //  Description: The custom formatter for the summary property////  Modification History////  Huang-Ming Huang      08/11/2000    Created//============================================================================VOID WINAPIV Custom_Format( LPPROPERTYINST pPropertyInst){    char*       pReturnedString = pPropertyInst->szPropertyText;	strcpy(pReturnedString,(const char*)pPropertyInst->lpPropertyInstEx->Byte);}//============================================================================//  Function: RAS_Register// //  Description: Create our property database and handoff sets.////  Modification History////  Huang-Ming Huang      08/11/2000    Created//============================================================================void BHAPI RAS_Register( HPROTOCOL hRAS){    // tell the kernel to make reserve some space for our property table    CreatePropertyDatabase( hRAS, 1);    // add our properties to the kernel's database    AddProperty( hRAS, &RasPropertyInfo);}//============================================================================//  Function: RAS_RecognizeFrame// //  Description: Determine whether we exist in the frame at the spot //               indicated. We also indicate who (if anyone) follows us//               and how much of the frame we claim.////  Modification History////  Huang-Ming Huang      08/11/2000    Created//============================================================================LPBYTE BHAPI RAS_RecognizeFrame( HFRAME      hFrame,                                               LPBYTE      pMacFrame,                                            LPBYTE      pFrame,                                       DWORD       MacType,                                              DWORD       BytesLeft,                                            HPROTOCOL   hPrevProtocol,                                        DWORD       nPrevProtOffset,                                      LPDWORD     pProtocolStatus,                                      LPHPROTOCOL phNextProtocol,                                      LPDWORD     InstData)       {	*pProtocolStatus = PROTOCOL_STATUS_NOT_RECOGNIZED;	try {        H323_MESSAGES::RasMessage msg;		ASN1::PERDecoder decoder((char*)pFrame, (char*)pFrame+BytesLeft);        if (msg.accept(decoder))			*pProtocolStatus = PROTOCOL_STATUS_CLAIMED;	}	catch (...)	{	}    return NULL;}//============================================================================//  Function: RAS_AttachProperties// //  Description: Indicate where in the frame each of our properties live.////  Modification History////  Huang-Ming Huang      08/11/2000    Created//============================================================================LPBYTE BHAPI RAS_AttachProperties( HFRAME      hFrame,                                                 LPBYTE      pMacFrame,                                             LPBYTE      pFrame,                                           DWORD       MacType,                                                DWORD       BytesLeft,                                              HPROTOCOL   hPrevProtocol,                                          DWORD       nPrevProtOffset,                                        DWORD       InstData)       {    // Decode the first byte to determine the type of the message	int tag;	if ((pFrame[0] & 0x80) == 0)		tag = pFrame[0] >> 2;	else		tag = pFrame[0] & 0x3F + 25;	// Attach the summery    std::ostringstream strm;    strm << "RAS " << RAS_String[tag] << " (Length = " << BytesLeft << ")";

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91亚洲大成网污www| 午夜电影网一区| 亚洲精品在线电影| 欧美一级黄色大片| 精品电影一区二区| 精品三级av在线| 久久综合九色综合欧美就去吻 | 中文一区在线播放| 国产偷国产偷亚洲高清人白洁| 国产日韩av一区| 亚洲品质自拍视频网站| 亚洲精品水蜜桃| 日韩vs国产vs欧美| 国产一区欧美日韩| 99视频国产精品| 欧美日韩国产精选| 久久久精品人体av艺术| 国产精品成人在线观看| 一区二区免费在线播放| 图片区小说区区亚洲影院| 久久99国产精品免费网站| 顶级嫩模精品视频在线看| 色久综合一二码| 日韩欧美在线网站| 国产精品乱码久久久久久| 一区二区三区日韩在线观看| 奇米四色…亚洲| 成人美女视频在线观看18| 欧美丝袜自拍制服另类| 亚洲精品一区二区三区在线观看 | 国产调教视频一区| 一区二区三区在线播放| 日韩成人av影视| 成人国产精品视频| 欧美伦理视频网站| 欧美国产一区在线| 日韩电影一二三区| k8久久久一区二区三区| 日韩视频免费直播| 亚洲另类在线一区| 国产精品77777| 欧美一区二区三区在线电影| 国产精品麻豆欧美日韩ww| 蜜臀av性久久久久av蜜臀妖精| 99视频一区二区三区| 欧美一级二级三级乱码| 亚洲在线观看免费视频| 成人永久看片免费视频天堂| 日韩三级视频在线观看| 亚洲天堂免费看| 国产老妇另类xxxxx| 欧美日韩国产免费一区二区| 亚洲婷婷国产精品电影人久久| 国产呦萝稀缺另类资源| 欧美一区二区久久久| 一个色综合网站| 99精品热视频| 国产精品久久精品日日| 国产一区二区三区免费播放| 欧美丰满高潮xxxx喷水动漫| 夜夜揉揉日日人人青青一国产精品| 国产成人精品影视| 久久久午夜精品理论片中文字幕| 免费久久精品视频| 日韩一区二区三免费高清| 天天综合网天天综合色| 欧美日韩国产高清一区二区| 亚洲人精品午夜| 色伊人久久综合中文字幕| 国产欧美日本一区视频| 激情图片小说一区| 欧美成人一区二区三区片免费| 免费人成在线不卡| 日韩欧美区一区二| 久久99国产精品麻豆| 亚洲精品一区二区三区影院| 久久精品噜噜噜成人88aⅴ| 精品日韩一区二区三区| 国产一区二区三区免费在线观看| 久久久99久久精品欧美| 国产盗摄一区二区| 国产精品不卡一区二区三区| 91性感美女视频| 亚洲成在线观看| 日韩欧美成人激情| 国产精品一区二区久激情瑜伽| 久久免费看少妇高潮| 成人av网址在线观看| 一区二区三区四区在线| 717成人午夜免费福利电影| 美女被吸乳得到大胸91| 国产三级三级三级精品8ⅰ区| 波多野结衣亚洲一区| 亚洲国产日韩a在线播放性色| 91精品国产入口在线| 国产一区二区毛片| 亚洲精品第一国产综合野| 91久久精品一区二区二区| 亚洲精品视频在线观看网站| 6080日韩午夜伦伦午夜伦| 免费黄网站欧美| 中文字幕亚洲综合久久菠萝蜜| 色婷婷av一区二区三区大白胸 | 国产精品理论片在线观看| 欧美在线|欧美| 激情综合色播激情啊| 最新国产成人在线观看| 91精品在线观看入口| 国产mv日韩mv欧美| 亚洲二区在线观看| 国产午夜亚洲精品理论片色戒| 99精品国产一区二区三区不卡| 午夜精品在线看| 欧美国产综合色视频| 色久综合一二码| 麻豆91精品91久久久的内涵| 国产肉丝袜一区二区| 国产真实乱对白精彩久久| 国产日韩欧美在线一区| 欧美日本在线观看| 99久久久久免费精品国产| 蜜臀精品久久久久久蜜臀| 国产午夜精品福利| 欧美一区二区三区白人| 色综合久久综合网97色综合| 韩国一区二区视频| 香蕉成人啪国产精品视频综合网| 久久久久九九视频| 欧美色爱综合网| 精品中文字幕一区二区| 亚洲精选一二三| 国产精品无人区| 精品欧美一区二区三区精品久久 | 一本到不卡精品视频在线观看| 午夜精品福利在线| 国产精品久久久久9999吃药| 日韩欧美亚洲另类制服综合在线| 在线一区二区三区四区| 国产福利一区二区| 无码av中文一区二区三区桃花岛| 国产日韩v精品一区二区| 日韩精品专区在线| 欧美一区二区三区日韩视频| 在线观看www91| 欧美影视一区在线| 色婷婷av一区| 风间由美一区二区av101| 国产91精品一区二区麻豆网站| 国内精品伊人久久久久影院对白| 免费视频最近日韩| 免费视频一区二区| 裸体健美xxxx欧美裸体表演| 亚洲夂夂婷婷色拍ww47| 日本一区免费视频| 国产清纯白嫩初高生在线观看91 | 久久久精品中文字幕麻豆发布| 日韩欧美中文一区| 欧美一级欧美一级在线播放| 欧美狂野另类xxxxoooo| 欧美肥大bbwbbw高潮| 日韩欧美电影在线| 精品福利一区二区三区 | 一本一本久久a久久精品综合麻豆 一本一道波多野结衣一区二区 | 欧美日韩免费一区二区三区 | 成人久久18免费网站麻豆| 国产一级精品在线| 成人自拍视频在线| 蜜臀99久久精品久久久久久软件| 日韩精品色哟哟| 久久丁香综合五月国产三级网站| 国产综合色在线| 99久久精品国产一区| 欧美调教femdomvk| 久久夜色精品一区| 最新日韩av在线| 日日摸夜夜添夜夜添国产精品| 精品一区二区三区久久| 懂色av噜噜一区二区三区av| 在线视频国内自拍亚洲视频| 日韩一级黄色大片| |精品福利一区二区三区| 午夜精品久久久久久久久久| 国产成人一级电影| 欧美网站大全在线观看| 久久网站热最新地址| 亚洲免费观看高清完整版在线观看熊 | 久久精品国产一区二区| 成人av网站在线| 777午夜精品免费视频| 国产精品久久久久久一区二区三区 | 成人精品免费网站| 欧美群妇大交群中文字幕| 国产婷婷色一区二区三区| 天天综合日日夜夜精品| 波多野洁衣一区| 日韩精品一区二区三区视频| 一区二区三区在线看| 国产成人免费视频网站高清观看视频 | 国产人妖乱国产精品人妖| 日韩在线卡一卡二|