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

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

?? input.c

?? vxwork源代碼
?? C
?? 第 1 頁 / 共 4 頁
字號:
                    }                return;                }            /*             * Update timer for interface route on which the message arrived.             * If none is found and the sender is the other end of a              * point-to-point link that isn't registered in the routing              * tables, add or restore that route.             */            if ((rt = rtfind(from)) &&                (rt->rt_state & (RTS_INTERFACE | RTS_REMOTE)))                {                rt->rt_timer = 0;                if (rt->inKernel)                     ripRouteAgeUpdate (rt); /* Update age for IP group MIB. */                }            else if ((ifp = ripIfWithDstAddr(from, NULL)) &&                     (rt == 0 || rt->rt_metric >= ifp->int_metric))                addrouteforif(ifp);            /*              * NOTE: The preceding rtfind() routine will not detect a              * match for updates from a router on the same supernet with              * a different class-based network number than the local             * interfaces. (For instance, it will not reset the route              * timer for 192.168.254.0/23 when an update is received              * from 192.168.255.x/23 if the local interface has the              * address 192.168.254.x/23. This omission has no effect              * because the timer for an interface route is never              * incremented. The return value of 0 will not cause an             * incorrect call to addrouteforif() because the search in             *  ripIfWithDstAddr will always fail in this situation.             */            /*             * Reset the pointer to validate the interface from which the             * message arrived. Updates are accepted from routers directly              * connected via broadcast or point-to-point networks.             */            ifp = pErrorIfp;    /* Results of ripIfLookup on source address. */            if ( (ifp->int_flags &                     (IFF_BROADCAST | IFF_POINTOPOINT | IFF_REMOTE)) == 0 ||                ifp->int_flags & IFF_PASSIVE)                {                /* Error: source does not use a directly-connected network. */                if (memcmp(from, &badfrom, sizeof(badfrom)) != 0)                    {                    if (routedDebug)                        logMsg ("packet from unknown router, %s\n",                             (int)(*afswitch[from->sa_family].af_format)(from),                                0, 0, 0, 0, 0);                    badfrom = *from;                    }                pErrorIfp->ifStat.rip2IfStatRcvBadPackets++;                return;                }            /*             * At this point, the source address and port number of the              * response have been checked. It is from another host on a              * directly connected network and was sent to the correct port.              * Begin processing the datagram by ignoring the initial data              * (command, version, and two unused bytes) and leading              * authentication header, if any.             */            size = size - ((char *)n - (char *)rip);            /* Now start processing actual route entries. */            for (; size > 0; size -= sizeof (struct netinfo), n++)                {                if (size < sizeof (struct netinfo))                    break;                n->rip_dst.sa_family =                    ntohs(osa(n->rip_dst)->sa_family);                n->rip_dst.sa_len = sizeof(n->rip_dst);                n->rip_metric = ntohl(n->rip_metric);                /* Ignore any entry with an unknown address family. */                if (n->rip_dst.sa_family >= AF_MAX ||                    (afp = &afswitch[n->rip_dst.sa_family])->af_hash ==                    (int (*)())0)                    {                    if (routedDebug)                        logMsg("route in unsupported address family %d from %s"                               "(af %d)\n", n->rip_dst.sa_family,                                (int)(*afswitch[from->sa_family].af_format)                               (from), from->sa_family, 0, 0, 0);                    pErrorIfp->ifStat.rip2IfStatRcvBadRoutes++;                    continue;                    }                 /*                   * Ignore an entry if the unused fields are not zero.                  * (These fields are only unused in version 1 updates).                  */                if (rip->rip_vers == 1)                    {                    if ( ((RIP2PKT *)n)->tag != 0)                        {                        pErrorIfp->ifStat.rip2IfStatRcvBadRoutes++;                        continue;                        }                    if ( ((RIP2PKT *)n)->subnet != 0)                        {                        pErrorIfp->ifStat.rip2IfStatRcvBadRoutes++;                        continue;                        }                    if ( ((RIP2PKT *)n)->gateway != 0)                        {                        pErrorIfp->ifStat.rip2IfStatRcvBadRoutes++;                        continue;                        }                    }                /*                  * Ignore any entry with an inappropriate address.                 * The receiving interface is used to detect broadcast                 * addresses if no netmask is present in the route update.                 */                if ( ((*afp->af_checkhost)(&n->rip_dst, ifp)) == 0)                    {                    if (routedDebug)                        logMsg ("bad host in route from %s (af %d)\n",                             (int)(*afswitch[from->sa_family].af_format)(from),                                from->sa_family, 0, 0, 0, 0);                    pErrorIfp->ifStat.rip2IfStatRcvBadRoutes++;                    continue;                    }                if ((n->rip_metric == 0) ||                    ((unsigned) n->rip_metric > HOPCNT_INFINITY))                    {                    if (memcmp(from, &badfrom2,                               sizeof(badfrom2)) != 0)                        {                        if (routedDebug)                            logMsg ("bad metric (%d) from %s\n", n->rip_metric,                             (int)(*afswitch[from->sa_family].af_format)(from),                                    0, 0, 0, 0);                        badfrom2 = *from;                        }                    pErrorIfp->ifStat.rip2IfStatRcvBadRoutes++;                    continue;                    }                rt = rtlookup (&n->rip_dst);                /*                  * Do not allow a route learnt from other protocols to be                 * replaced                 */                if (rt && ((rt->rt_state & RTS_OTHER) != 0))                    continue;                                if (rt == 0 ||                    (rt->rt_state & (RTS_INTERNAL|RTS_INTERFACE)) ==                    (RTS_INTERNAL|RTS_INTERFACE))                    {                    /*                     * If we're hearing a logical network route                     * back from a peer to which we sent it,                     * ignore it.                     */                    if (rt && rt->rt_state & RTS_SUBNET &&                        (*afp->af_sendroute)(rt, from, ifp))                        {                        pErrorIfp->ifStat.rip2IfStatRcvBadRoutes++;                        continue;                        }                    /*                     * Adjust metric according to incoming interface.                     */                    if ((unsigned)n->rip_metric < HOPCNT_INFINITY)                        {                        /*                         * Look for an equivalent route that                         * includes this one before adding                         * this route.                         */                        rt = rtfind(&n->rip_dst);                        if ((rt && equal(from, &rt->rt_router)) &&                            (rt->rt_metric <= n->rip_metric))                            continue;                        n->rip_metric += ifp->int_metric;                        if (rip->rip_vers < 2)                            {                            rtadd (&n->rip_dst, from, n->rip_metric,                                    0, NULL, M2_ipRouteProto_rip, 0,                                   ((struct sockaddr_in *)from)->                                    sin_addr.s_addr, pErrorIfp);                            }                        else                            {                            ripSplitPacket (ifp, (struct sockaddr_in *)from,                                             &n->rip_dst, &gateway, &netmask,                                            &tag);                            if (((struct sockaddr_in *)&netmask)->                                sin_addr.s_addr == -1)                                {                                pErrorIfp->ifStat.rip2IfStatRcvBadRoutes++;                                continue;                                }                            /*                             * RFC 1723, Section 3.4: check to see that the                              * gateway is directly reachable. If not, treat                              * that value as 0.0.0.0 by using the originator                              * as the gateway.                             */                            if ((((struct sockaddr_in *)&gateway)->                                 sin_addr.s_addr &                                  htonl (ifp->int_subnetmask)) !=                                 (((struct sockaddr_in *)&ifp->int_addr)->                                 sin_addr.s_addr &                                  htonl (ifp->int_subnetmask)))                                {                                ((struct sockaddr_in *)&gateway)->                                    sin_addr.s_addr =                                     ((struct sockaddr_in *)from)->                                    sin_addr.s_addr;                                }                            rtadd(&n->rip_dst, &gateway, n->rip_metric, 0,                                  &netmask, M2_ipRouteProto_rip, tag,                                  ((struct sockaddr_in *)from)->                                  sin_addr.s_addr, pErrorIfp);                            }                        changes++;                        }                    continue;                    }                /*                 * Update if from gateway and different,                 * shorter, or equivalent but old route                 * is getting stale.                 */                /*                 * If this was a pre-existinng route then we can                 * update it to be "infinite" and should.                 * ANVL 7.13.                 */                origMetric = n->rip_metric;                if ((unsigned) n->rip_metric < HOPCNT_INFINITY)                    n->rip_metric += ifp->int_metric;                if (n->rip_metric > HOPCNT_INFINITY)                    {                    pErrorIfp->ifStat.rip2IfStatRcvBadRoutes++;                    continue;                    }                if (rip->rip_vers > 1)                    {                    ripSplitPacket(ifp, (struct sockaddr_in *)from,                                    &n->rip_dst, &gateway, &netmask,                                   &tag);                    if (((struct sockaddr_in *)&netmask)->                        sin_addr.s_addr == -1)                        {                        pErrorIfp->ifStat.rip2IfStatRcvBadRoutes++;                        continue;                        }                    /*                     * RFC 1723, Section 3.4: check to see that the                      * gateway is directly reachable. If not, treat                      * that value as 0.0.0.0 by using the originator                      * as the gateway.                     */                    if ((((struct sockaddr_in *)&gateway)->sin_addr.s_addr &                          htonl (ifp->int_subnetmask)) !=                         (((struct sockaddr_in *)&ifp->int_addr)->                         sin_addr.s_addr & htonl (ifp->int_subnetmask)))                        {                        ((struct sockaddr_in *)&gateway)->sin_addr.s_addr =                             ((struct sockaddr_in *)from)->sin_addr.s_addr;                        }                    }                /*                 * We are making an assumption here that the address                 * is an internet address (4 bytes long). Since we currently                 * support only the AF_INET family its OK, but if that                 * changes, the following check will need to be changed                 * accordingly                 */                if (((struct sockaddr_in *)from)->sin_addr.s_addr ==                    rt->rt_orgrouter)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧美偷拍三级| 欧美日韩国产一二三| 久久一区二区三区国产精品| 久久国产精品区| 久久天天做天天爱综合色| 国内外成人在线| 国产精品三级久久久久三级| 一本到一区二区三区| 五月婷婷久久综合| 精品91自产拍在线观看一区| 国产又黄又大久久| 欧美国产一区视频在线观看| 色综合天天综合在线视频| 亚洲一区二区在线视频| 欧美一区二区三区精品| 国产成人综合视频| 一区二区三区中文字幕电影| 欧美一区二区视频在线观看2020 | 国产成人亚洲综合a∨猫咪| 国产色一区二区| 99精品国产视频| 婷婷六月综合亚洲| 久久亚洲捆绑美女| 99re这里只有精品视频首页| 午夜精品一区在线观看| www久久精品| 91免费在线视频观看| 日韩av不卡在线观看| 久久网站最新地址| 在线视频综合导航| 久久国产精品露脸对白| 亚洲情趣在线观看| 精品区一区二区| 色综合一区二区| 国产一区二区三区免费看| 亚洲乱码国产乱码精品精98午夜 | 一区二区三区四区不卡在线| 制服丝袜亚洲网站| 91麻豆高清视频| 精品一二三四在线| 亚洲成人黄色影院| 亚洲欧美怡红院| 日韩欧美一区电影| 在线影院国内精品| 国产69精品一区二区亚洲孕妇| 香蕉乱码成人久久天堂爱免费| 欧美国产日韩亚洲一区| 欧美一区二区三区视频在线| 日本精品免费观看高清观看| 国产大陆a不卡| 久久黄色级2电影| 亚洲va在线va天堂| 亚洲欧美一区二区久久| 欧美激情一区二区三区在线| 日韩精品一区二区三区中文精品 | 成人av在线资源网站| 蜜桃传媒麻豆第一区在线观看| 亚洲欧美国产77777| 欧美经典一区二区| 精品国产一区二区亚洲人成毛片 | 久久久精品综合| 日韩欧美视频一区| 88在线观看91蜜桃国自产| 色综合久久久久久久久久久| 懂色av一区二区三区蜜臀| 黄色日韩网站视频| 久久精品久久99精品久久| 日韩成人av影视| 婷婷开心激情综合| 日韩电影一区二区三区四区| 亚洲自拍偷拍av| 亚洲国产美国国产综合一区二区| 中文字幕一区二区三区在线播放| 国产女同互慰高潮91漫画| 久久免费视频色| 精品国产乱码久久久久久久久| 日韩一区和二区| 日韩精品在线一区二区| 精品成人免费观看| 久久久久高清精品| 国产午夜精品一区二区 | 欧美不卡123| 精品久久国产97色综合| 337p粉嫩大胆噜噜噜噜噜91av| 日韩欧美aaaaaa| 久久这里只有精品6| 国产欧美精品一区aⅴ影院| 欧美激情一区在线| 亚洲美女免费视频| 亚洲一区二区视频在线| 五月天网站亚洲| 久久国产尿小便嘘嘘| 国产一区视频在线看| 粉嫩av一区二区三区粉嫩| 成人爽a毛片一区二区免费| av在线不卡免费看| 欧美日韩视频第一区| 欧美成va人片在线观看| 国产午夜精品一区二区三区视频| 国产精品三级久久久久三级| 一区二区三区久久久| 美女一区二区在线观看| 国产成人免费视频| 在线观看日韩一区| 日韩精品一区二区三区视频| 26uuu欧美| 亚洲美女视频一区| 久久69国产一区二区蜜臀| 成人激情免费网站| 欧美日韩国产片| 久久久欧美精品sm网站| **性色生活片久久毛片| 日韩国产欧美三级| 成人丝袜视频网| 91精品国产欧美一区二区成人| 国产视频一区不卡| 性做久久久久久免费观看欧美| 精品一区二区三区的国产在线播放 | 亚洲电影第三页| 国内成人精品2018免费看| 99re成人精品视频| 日韩一区二区中文字幕| 1024精品合集| 激情综合网av| 日本高清不卡在线观看| 国产偷v国产偷v亚洲高清| 亚洲男人的天堂av| 国产一区二区三区在线观看免费视频| 色偷偷久久人人79超碰人人澡| 日韩欧美国产wwwww| 亚洲狠狠丁香婷婷综合久久久| 国产一区二区三区四| 欧美日韩中文一区| 日本一区二区动态图| 久久精品国产99国产精品| 色国产综合视频| 中文字幕一区三区| 国产在线精品视频| 日韩欧美在线一区二区三区| 日韩成人伦理电影在线观看| 色综合婷婷久久| 国产精品午夜在线观看| 激情伊人五月天久久综合| 欧美久久免费观看| 亚洲欧美色综合| 国产成人免费xxxxxxxx| 26uuu成人网一区二区三区| 日本美女视频一区二区| 欧美日韩久久一区二区| 亚洲精品免费看| 91色婷婷久久久久合中文| 国产精品情趣视频| 激情欧美一区二区三区在线观看| 欧洲另类一二三四区| 亚洲日本丝袜连裤袜办公室| 成人黄色在线看| 日本一区二区三区四区| 丁香激情综合国产| 精品裸体舞一区二区三区| 免费视频最近日韩| 日韩一区二区视频| 日本亚洲一区二区| 欧美一区二区高清| 免费美女久久99| 日韩精品一区二区三区在线观看| 免费av网站大全久久| 欧美一区二区三区啪啪| 青青国产91久久久久久| 日韩一区二区在线观看| 麻豆精品视频在线观看视频| 日韩午夜激情av| 国产一区福利在线| 国产午夜精品在线观看| 成人激情av网| 亚洲精品伦理在线| 色呦呦一区二区三区| 亚洲第一电影网| 日韩一区二区中文字幕| 国产一区二区三区av电影 | 亚洲国产va精品久久久不卡综合| 欧美无乱码久久久免费午夜一区| 五月综合激情婷婷六月色窝| 欧美一级视频精品观看| 国产综合成人久久大片91| 国产日韩欧美不卡| 99精品视频中文字幕| 一区二区三区91| 91精品国产免费久久综合| 国产一级精品在线| 中文字幕在线不卡视频| 91福利国产成人精品照片| 青青草原综合久久大伊人精品优势 | 欧日韩精品视频| 亚洲成人777| 26uuu国产电影一区二区| 99久久久免费精品国产一区二区| 亚洲一卡二卡三卡四卡无卡久久 | 国产日本一区二区| 91网上在线视频| 视频一区二区三区在线|