Lines Matching refs:ip6
198 static void print_ip6_stats(mib2_ipv6IfStatsEntry_t *ip6);
207 static void sum_ip6_stats(mib2_ipv6IfStatsEntry_t *ip6,
1799 mib2_ipv6IfStatsEntry_t *ip6; in mib_get_constants() local
1802 ip6 = (mib2_ipv6IfStatsEntry_t *)item->valp; in mib_get_constants()
1803 ipv6IfStatsEntrySize = ip6->ipv6IfStatsEntrySize; in mib_get_constants()
1804 ipv6AddrEntrySize = ip6->ipv6AddrEntrySize; in mib_get_constants()
1805 ipv6RouteEntrySize = ip6->ipv6RouteEntrySize; in mib_get_constants()
1806 ipv6NetToMediaEntrySize = ip6->ipv6NetToMediaEntrySize; in mib_get_constants()
1807 ipv6MemberEntrySize = ip6->ipv6MemberEntrySize; in mib_get_constants()
1809 ip6->ipv6GroupSourceEntrySize; in mib_get_constants()
1948 mib2_ipv6IfStatsEntry_t *ip6; in stat_report() local
1956 for (ip6 = (mib2_ipv6IfStatsEntry_t *)item->valp; in stat_report()
1957 (char *)ip6 < (char *)item->valp + item->length; in stat_report()
1959 ip6 = (mib2_ipv6IfStatsEntry_t *)((char *)ip6 + in stat_report()
1961 if (ip6->ipv6IfIndex == 0) { in stat_report()
1966 sum_ip6_stats(ip6, &sum6); in stat_report()
1971 ifindex2str(ip6->ipv6IfIndex, in stat_report()
1973 print_ip6_stats(ip6); in stat_report()
1975 sum_ip6_stats(ip6, &sum6); in stat_report()
2159 print_ip6_stats(mib2_ipv6IfStatsEntry_t *ip6) in print_ip6_stats() argument
2162 prval("ipv6Forwarding", ip6->ipv6Forwarding); in print_ip6_stats()
2163 prval("ipv6DefaultHopLimit", ip6->ipv6DefaultHopLimit); in print_ip6_stats()
2165 prval("ipv6InReceives", ip6->ipv6InReceives); in print_ip6_stats()
2166 prval("ipv6InHdrErrors", ip6->ipv6InHdrErrors); in print_ip6_stats()
2167 prval("ipv6InTooBigErrors", ip6->ipv6InTooBigErrors); in print_ip6_stats()
2168 prval("ipv6InNoRoutes", ip6->ipv6InNoRoutes); in print_ip6_stats()
2169 prval("ipv6InAddrErrors", ip6->ipv6InAddrErrors); in print_ip6_stats()
2170 prval("ipv6InUnknownProtos", ip6->ipv6InUnknownProtos); in print_ip6_stats()
2171 prval("ipv6InTruncatedPkts", ip6->ipv6InTruncatedPkts); in print_ip6_stats()
2172 prval("ipv6InDiscards", ip6->ipv6InDiscards); in print_ip6_stats()
2173 prval("ipv6InDelivers", ip6->ipv6InDelivers); in print_ip6_stats()
2174 prval("ipv6OutForwDatagrams", ip6->ipv6OutForwDatagrams); in print_ip6_stats()
2175 prval("ipv6OutRequests", ip6->ipv6OutRequests); in print_ip6_stats()
2176 prval("ipv6OutDiscards", ip6->ipv6OutDiscards); in print_ip6_stats()
2177 prval("ipv6OutNoRoutes", ip6->ipv6OutNoRoutes); in print_ip6_stats()
2178 prval("ipv6OutFragOKs", ip6->ipv6OutFragOKs); in print_ip6_stats()
2179 prval("ipv6OutFragFails", ip6->ipv6OutFragFails); in print_ip6_stats()
2180 prval("ipv6OutFragCreates", ip6->ipv6OutFragCreates); in print_ip6_stats()
2181 prval("ipv6ReasmReqds", ip6->ipv6ReasmReqds); in print_ip6_stats()
2182 prval("ipv6ReasmOKs", ip6->ipv6ReasmOKs); in print_ip6_stats()
2183 prval("ipv6ReasmFails", ip6->ipv6ReasmFails); in print_ip6_stats()
2184 prval("ipv6InMcastPkts", ip6->ipv6InMcastPkts); in print_ip6_stats()
2185 prval("ipv6OutMcastPkts", ip6->ipv6OutMcastPkts); in print_ip6_stats()
2186 prval("ipv6ReasmDuplicates", ip6->ipv6ReasmDuplicates); in print_ip6_stats()
2187 prval("ipv6ReasmPartDups", ip6->ipv6ReasmPartDups); in print_ip6_stats()
2188 prval("ipv6ForwProhibits", ip6->ipv6ForwProhibits); in print_ip6_stats()
2189 prval("udpInCksumErrs", ip6->udpInCksumErrs); in print_ip6_stats()
2190 prval("udpInOverflows", ip6->udpInOverflows); in print_ip6_stats()
2191 prval("rawipInOverflows", ip6->rawipInOverflows); in print_ip6_stats()
2192 prval("ipv6InIPv4", ip6->ipv6InIPv4); in print_ip6_stats()
2193 prval("ipv6OutIPv4", ip6->ipv6OutIPv4); in print_ip6_stats()
2194 prval("ipv6OutSwitchIPv4", ip6->ipv6OutSwitchIPv4); in print_ip6_stats()
2456 sum_ip6_stats(mib2_ipv6IfStatsEntry_t *ip6, mib2_ipv6IfStatsEntry_t *sum6) in sum_ip6_stats() argument
2459 sum6->ipv6Forwarding = ip6->ipv6Forwarding; in sum_ip6_stats()
2460 sum6->ipv6DefaultHopLimit = ip6->ipv6DefaultHopLimit; in sum_ip6_stats()
2462 sum6->ipv6InReceives += ip6->ipv6InReceives; in sum_ip6_stats()
2463 sum6->ipv6InHdrErrors += ip6->ipv6InHdrErrors; in sum_ip6_stats()
2464 sum6->ipv6InTooBigErrors += ip6->ipv6InTooBigErrors; in sum_ip6_stats()
2465 sum6->ipv6InNoRoutes += ip6->ipv6InNoRoutes; in sum_ip6_stats()
2466 sum6->ipv6InAddrErrors += ip6->ipv6InAddrErrors; in sum_ip6_stats()
2467 sum6->ipv6InUnknownProtos += ip6->ipv6InUnknownProtos; in sum_ip6_stats()
2468 sum6->ipv6InTruncatedPkts += ip6->ipv6InTruncatedPkts; in sum_ip6_stats()
2469 sum6->ipv6InDiscards += ip6->ipv6InDiscards; in sum_ip6_stats()
2470 sum6->ipv6InDelivers += ip6->ipv6InDelivers; in sum_ip6_stats()
2471 sum6->ipv6OutForwDatagrams += ip6->ipv6OutForwDatagrams; in sum_ip6_stats()
2472 sum6->ipv6OutRequests += ip6->ipv6OutRequests; in sum_ip6_stats()
2473 sum6->ipv6OutDiscards += ip6->ipv6OutDiscards; in sum_ip6_stats()
2474 sum6->ipv6OutFragOKs += ip6->ipv6OutFragOKs; in sum_ip6_stats()
2475 sum6->ipv6OutFragFails += ip6->ipv6OutFragFails; in sum_ip6_stats()
2476 sum6->ipv6OutFragCreates += ip6->ipv6OutFragCreates; in sum_ip6_stats()
2477 sum6->ipv6ReasmReqds += ip6->ipv6ReasmReqds; in sum_ip6_stats()
2478 sum6->ipv6ReasmOKs += ip6->ipv6ReasmOKs; in sum_ip6_stats()
2479 sum6->ipv6ReasmFails += ip6->ipv6ReasmFails; in sum_ip6_stats()
2480 sum6->ipv6InMcastPkts += ip6->ipv6InMcastPkts; in sum_ip6_stats()
2481 sum6->ipv6OutMcastPkts += ip6->ipv6OutMcastPkts; in sum_ip6_stats()
2482 sum6->ipv6OutNoRoutes += ip6->ipv6OutNoRoutes; in sum_ip6_stats()
2483 sum6->ipv6ReasmDuplicates += ip6->ipv6ReasmDuplicates; in sum_ip6_stats()
2484 sum6->ipv6ReasmPartDups += ip6->ipv6ReasmPartDups; in sum_ip6_stats()
2485 sum6->ipv6ForwProhibits += ip6->ipv6ForwProhibits; in sum_ip6_stats()
2486 sum6->udpInCksumErrs += ip6->udpInCksumErrs; in sum_ip6_stats()
2487 sum6->udpInOverflows += ip6->udpInOverflows; in sum_ip6_stats()
2488 sum6->rawipInOverflows += ip6->rawipInOverflows; in sum_ip6_stats()