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

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

?? resolvlibdoc.c

?? vxworks的完整的源代碼
?? C
?? 第 1 頁 / 共 2 頁
字號:
/********************************************************************************* resolvParamsGet - get the parameters which control the resolver library** This routine copies the resolver parameters to the RESOLV_PARAMS_S* structure referenced in the <pResolvParms> parameter.  The RESOLV_PARAMS_S* structure is defined in resolvLib.h as follows: * .CS*     typedef struct*        {*        char   queryOrder;*        char   domainName [MAXDNAME];*        char   nameServersAddr [MAXNS][MAXIPADDRLEN];*        } RESOLV_PARAMS_S;* .CE* Typically, you call this function just before calling resolvParamsSet().* The resolvParamsGet() call populates the RESOLV_PARAMS_S structure. * You can then modify the default values just before calling * resolvParamsSet().  ** RETURNS: N/A** SEE ALSO:* resolvGetHostByName(), resolvGetHostByAddr(), resolvDNExpand(),* resolvDNComp(), resolvSend(), resolvParamsSet(), resolvInit(),* resolvMkQuery(), resolvQuery()*/void resolvParamsGet     (    RESOLV_PARAMS_S *     pResolvParams  /* ptr to resolver parameter struct */    )    {    ...    }/********************************************************************************* resolvHostLibGetByName - query the DNS server in behalf of hostGetByName** When the resolver library is installed, the routine hostGetByName() in the * hostLib library invokes this routine.  When the host name is not found by* hostGetByName in the static host table.  This feature allows existing * applications to take advantage of the resolver without any changes.** NOMANUAL** ERRNO:*  S_resolvLib_TRY_AGAIN*  S_resolvLib_HOST_NOT_FOUND*  S_resolvLib_NO_DATA*  S_resolvLib_NO_RECOVERY** RETURNS: IP address of host, or ERROR if the host was not found.*/LOCAL int resolvHostLibGetByName     (    char * pHostName       /* Pointer to host name */    )    {    ...    }/********************************************************************************* resolvHostLibGetByAddr - query the DNS server in behalf of hostGetByAddr()** When the resolver library is installed the routine hostGetByAddr() in the * hostLib library invokes this routine.  When the IP address is not found by* hostGetByAddr() in the static host table.  This feature allows existing * applications to take advantage of the resolver without any changes.  The* <addr> paramter specifies the IP address and <pHostName> points to the* official name of the host when the query is successful.** NOMANUAL** ERRNO:*  S_resolvLib_TRY_AGAIN*  S_resolvLib_HOST_NOT_FOUND*  S_resolvLib_NO_DATA*  S_resolvLib_NO_RECOVERY** RETURNS: OK, or ERROR if the host name was not found.*/LOCAL STATUS resolvHostLibGetByAddr    (    int   addr,			/* IP address of requested host name */    char * pHostName		/* host name output by this routine */    )    {    ...    }/********************************************************************************* resolvDNExpand - expand a DNS compressed name from a DNS packet** This functions expands a compressed DNS name from a DNS packet.  The <msg>* parameter points to that start of the DNS packet.  The <eomorig> parameter* points to the last location of the DNS packet plus 1.  The <comp_dn> * parameter points to the compress domain name, and <exp_dn> parameter * expects a pointer to a buffer.  Upon function completion, this buffer * contains the expanded domain name.  Use the <length> parameter to pass in* the size of the buffer referenced by the <exp_dn> parameter.  ** RETURNS: The length of the expanded domain name, or ERROR on failure.** SEE ALSO:* resolvGetHostByName(), resolvGetHostByAddr(), resolvInit(),* resolvDNComp(), resolvSend(), resolvParamsSet(), resolvParamsGet(),* resolvMkQuery(), resolvQuery()*/int resolvDNExpand     (    const u_char * msg,     /* ptr to the start of the DNS packet */    const u_char * eomorig, /* ptr to the last location +1 of the DNS packet */    const u_char * comp_dn, /* ptr to the compressed domain name */          u_char * exp_dn,  /* ptr to where the expanded DN is output */          int      length   /* length of the buffer pointed by <expd_dn> */    )    {    ...    }/********************************************************************************* resolvDNComp - compress a DNS name in a DNS packet** This routine takes the expanded domain name referenced in the <exp_dn> * parameter, compresses it, and stores the compressed name in the location* pointed to by the <comp_dn> parameter.  The <length> parameter passes in * the length of the buffer starting at <comp_dn>.  The <dnptrs> parameter * is a pointer to a list of pointers to previously compressed names.  The * <lastdnptr> parameter points to the last entry in the <dnptrs> array.** RETURNS: The size of the compressed name, or ERROR.** SEE ALSO:* resolvGetHostByName(), resolvGetHostByAddr(), resolvDNExpand(),* resolvInit(), resolvSend(), resolvParamsSet(), resolvParamsGet(),* resolvMkQuery(), resolvQuery()*/int resolvDNComp     (    const u_char *  exp_dn,   /* ptr to the expanded domain name */          u_char *  comp_dn,  /* ptr to where to output the compressed name */            int       length,   /* length of the buffer pointed by <comp_dn> */          u_char ** dnptrs,   /* ptr to a ptr list of compressed names */           u_char ** lastdnptr /* ptr to the last entry pointed by <dnptrs> */    )    {    ...    }/********************************************************************************* resolvQuery - construct a query, send it, wait for a response** This routine constructs a query for the domain specified in the <name> * parameter.  The <class> parameter specifies the class of the query. * The <type> parameter specifies the type of query. The routine then sends* the query to the DNS server.  When the server responds, the response is * validated and copied to the buffer you supplied in the <answer> parameter.* Use the <anslen> parameter to pass in the size of the buffer referenced* in <answer>.** RETURNS: The length of the response or ERROR.** ERRNO:*  S_resolvLib_TRY_AGAIN*  S_resolvLib_HOST_NOT_FOUND*  S_resolvLib_NO_DATA*  S_resolvLib_NO_RECOVERY** SEE ALSO:* resolvGetHostByName(), resolvGetHostByAddr(), resolvDNExpand(),* resolvDNComp(), resolvInit(), resolvParamsSet(), resolvParamsGet(),* resolvMkQuery()*/int resolvQuery     (    char   *name,       /* domain name */    int    class,       /* query class for IP is C_IN */    int    type,        /* type is T_A, T_PTR, ... */    u_char *answer,     /* buffer to put answer */    int    anslen       /* length of answer buffer */    )    {    ...    }/********************************************************************************* resolvMkQuery - create all types of DNS queries** This routine uses the input parameters to create a domain name query.* You can set the <op> parameter to QUERY or IQUERY.  Specify the domain * name in <dname>, the class in <class>, the query type in <type>.  Valid* values for type include T_A, T_PTR, and so on.  Use <data> to add Resource * Record data to the query.  Use <datalen> to pass in the length of the * data buffer.  Set <newrr_in> to NULL.  This parameter is reserved for * future use.  The <buf> parameter expects a pointer to the output buffer * for the constructed query.  Use <buflen> to pass in the length of the * buffer referenced in <buf>.** RETURNS: The length of the constructed query or ERROR.** SEE ALSO:* resolvGetHostByName(), resolvGetHostByAddr(), resolvDNExpand(),* resolvDNComp(), resolvSend(), resolvParamsSet(), resolvParamsGet(),* resolvInit(), resolvQuery()*/int resolvMkQuery     (          int     op,	       /* set to desire query QUERY or IQUERY */    const char *  dname,       /* domain name to be use in the query */    int           class,       /* query class for IP is C_IN */    int           type,        /* type is T_A, T_PTR, ... */    const char *  data,        /* resource Record (RR) data */    int           datalen,     /* length of the RR */    const char *  newrr_in,    /* not used always set to NULL */          char *  buf,         /* out of the constructed query */          int     buflen       /* length of the buffer for the query */    )    {    ...    }/********************************************************************************* resolvSend - send a pre-formatted query and return the answer** This routine takes a pre-formatted DNS query and sends it to the domain* server.  Use <buf> to pass in a pointer to the query.  Use <buflen> to * pass in the size of the buffer referenced in <buf>.  The <answer> parameter* expects a pointer to a buffer into which this routine can write the * answer retrieved from the server.  Use <anslen> to pass in the size of* the buffer you have provided in <anslen>.** RETURNS: The length of the response or ERROR.** ERRNO:*  S_resolvLib_TRY_AGAIN*  ECONNREFUSE*  ETIMEDOU** SEE ALSO:* resolvGetHostByName(), resolvGetHostByAddr(), resolvDNExpand(),* resolvDNComp(), resolvInit(), resolvParamsSet(), resolvParamsGet(),* resolvMkQuery(), resolvQuery()*/int resolvSend     (    const char * buf,		/* pre-formatted query */          int    buflen,	/* length of query */          char * answer,	/* buffer for answer */          int    anslen		/* length of answer */    )    {    ...    }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产成人亚洲精品狼色在线 | 国产一区久久久| 成人午夜视频福利| 日韩欧美色电影| 亚洲综合男人的天堂| 国产一区二区毛片| 欧美日韩国产小视频在线观看| 国产日韩精品一区二区三区| 日本亚洲天堂网| 在线一区二区视频| 中文字幕在线不卡视频| 九九精品一区二区| 欧美剧情片在线观看| 一区二区三区电影在线播| 白白色 亚洲乱淫| 久久午夜老司机| 国内精品伊人久久久久影院对白| 欧美老人xxxx18| 亚洲午夜一二三区视频| 91丨porny丨户外露出| 中文字幕在线观看不卡视频| 国产suv精品一区二区6| 久久亚洲捆绑美女| 国产在线精品一区在线观看麻豆| 8x福利精品第一导航| 性欧美疯狂xxxxbbbb| 欧美日韩一本到| 亚洲高清中文字幕| 欧美日韩高清一区二区| 午夜精彩视频在线观看不卡| 欧美日韩三级视频| 日韩国产在线观看| 欧美第一区第二区| 国产一区二区不卡在线| 国产蜜臀97一区二区三区| 国产aⅴ精品一区二区三区色成熟| 精品国产乱码久久久久久老虎| 麻豆91在线播放| 久久免费午夜影院| 国产成人在线网站| 成人免费一区二区三区视频| 色成年激情久久综合| 亚洲h精品动漫在线观看| 欧美群妇大交群中文字幕| 日本亚洲最大的色成网站www| 日韩三级在线观看| 大尺度一区二区| 亚洲摸摸操操av| 6080yy午夜一二三区久久| 国内精品伊人久久久久影院对白| 国产欧美日韩精品一区| 一本大道久久a久久精二百| 亚洲一区二区三区四区在线| 欧美一区二区视频在线观看2020| 国产综合久久久久影院| 中文字幕免费在线观看视频一区| 丁香激情综合国产| 亚洲综合色丁香婷婷六月图片| 欧美一级片在线看| 成人免费高清视频在线观看| 国产精品国产三级国产aⅴ入口 | 视频一区国产视频| 精品久久久久久久一区二区蜜臀| 狠狠网亚洲精品| 日韩女优av电影| 国产精品91一区二区| 亚洲欧美激情插 | 欧美日韩成人综合在线一区二区| 日韩国产精品久久久| 国产精品丝袜久久久久久app| 欧美在线视频全部完| 黑人精品欧美一区二区蜜桃| 亚洲视频在线观看一区| 欧美变态凌虐bdsm| 欧美性生活久久| 丁香另类激情小说| 六月丁香综合在线视频| 亚洲欧美色综合| 久久精品视频一区| 欧美美女黄视频| 一本色道久久综合亚洲91| 久久不见久久见免费视频7| 亚洲三级免费观看| 国产免费观看久久| 欧美成人伊人久久综合网| 蜜桃久久av一区| 久久精品一区二区三区四区| 欧美色老头old∨ideo| 国产精品一区二区不卡| 日本伊人午夜精品| 亚洲国产精品人人做人人爽| 亚洲欧洲成人精品av97| 久久久久综合网| 日韩午夜中文字幕| 欧美精品一二三| 91成人免费网站| proumb性欧美在线观看| 国产福利91精品一区| 麻豆精品久久精品色综合| 日韩高清电影一区| 五月天国产精品| 水蜜桃久久夜色精品一区的特点| 亚洲精品免费看| 中文字幕综合网| 中文字幕一区二区在线观看| 国产日韩av一区| 国产人久久人人人人爽| 久久精品一区二区| 久久久亚洲高清| 国产欧美视频一区二区| 久久女同精品一区二区| 国产女主播一区| 国产色产综合色产在线视频| 国产欧美日韩中文久久| 国产精品网友自拍| 国产精品传媒视频| 亚洲精品国产精品乱码不99 | 欧美午夜片在线观看| 欧美中文字幕不卡| 欧美日韩精品一区二区在线播放| 欧美日韩国产小视频| 91精品国产色综合久久不卡电影| 91麻豆精品国产91久久久更新时间| 欧美日韩国产区一| 精品免费日韩av| 国产婷婷色一区二区三区| 国产精品五月天| 亚洲国产乱码最新视频| 免费在线观看一区| 国产老妇另类xxxxx| 国产69精品久久99不卡| 91激情五月电影| 欧美一区二区三区视频在线观看| 欧美白人最猛性xxxxx69交| 久久精品一区八戒影视| 日韩美女视频一区二区 | 久久色视频免费观看| 国产精品视频九色porn| 一级特黄大欧美久久久| 免费高清不卡av| 福利一区二区在线| 欧美日本一区二区三区| 久久婷婷国产综合国色天香| 亚洲天堂成人网| 麻豆精品新av中文字幕| 色综合久久久久综合体桃花网| 777色狠狠一区二区三区| 久久精品欧美一区二区三区不卡| 亚洲品质自拍视频| 久久精品国产精品亚洲精品 | 日韩欧美国产一区在线观看| 国产欧美一区二区精品婷婷| 亚洲va国产天堂va久久en| 韩国精品免费视频| 欧美艳星brazzers| 欧美激情一区二区三区全黄| 婷婷国产在线综合| 99视频热这里只有精品免费| 欧美大片国产精品| 一区二区三区在线影院| 国产乱国产乱300精品| 9191成人精品久久| 国产精品乱码一区二区三区软件| 五月激情六月综合| 99re8在线精品视频免费播放| 欧美日本国产视频| 亚洲嫩草精品久久| 国产sm精品调教视频网站| 欧美美女网站色| 亚洲激情图片一区| 不卡一卡二卡三乱码免费网站| 在线不卡的av| 亚洲三级免费电影| 精品一区二区三区的国产在线播放| 91美女视频网站| 中文字幕 久热精品 视频在线| 麻豆成人在线观看| 制服丝袜亚洲精品中文字幕| 亚洲综合色区另类av| 91年精品国产| 国产精品久久久久久久久果冻传媒| 久久激情五月激情| 精品国产电影一区二区| 日韩精品色哟哟| 欧美精品在欧美一区二区少妇| 亚洲国产一区视频| 色综合久久久久| 亚洲欧美日韩国产手机在线| 波波电影院一区二区三区| 久久久久久99久久久精品网站| 天天综合色天天综合| 欧美亚洲国产怡红院影院| 亚洲自拍偷拍欧美| 欧美日韩一区二区在线视频| 亚洲国产精品尤物yw在线观看| 欧美在线|欧美| 亚洲欧美日韩在线不卡| 91黄色免费看| 亚洲福利一二三区| 日韩视频在线一区二区|