components/net-snmp/patches/029.7097655.ipAddressTable_container.patch
author Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
Sat, 09 Mar 2013 10:17:51 -0800
branchs11u1-sru
changeset 2519 2021fa9cf020
child 1301 636f7c363f41
permissions -rw-r--r--
15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2519
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
     1
diff -ur net-snmp-5.4.1.org/agent/helpers/table_tdata.c net-snmp-5.4.1.container/agent/helpers/table_tdata.c
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
     2
--- net-snmp-5.4.1.org/agent/helpers/table_tdata.c	2012-04-02 01:31:08.387259100 -0700
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
     3
+++ net-snmp-5.4.1.container/agent/helpers/table_tdata.c	2012-04-02 01:58:23.019636200 -0700
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
     4
@@ -57,9 +57,18 @@
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
     5
     if ( !table )
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
     6
         return NULL;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
     7
 
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
     8
+    table->flags = flags;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
     9
     if (name)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    10
         table->name = strdup(name);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    11
-    table->container = netsnmp_container_find( "table_container" );
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    12
+
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    13
+    if (!(table->flags & TDATA_FLAG_NO_CONTAINER)) {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    14
+        table->container = netsnmp_container_find( name );
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    15
+        if (!table->container)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    16
+            table->container = netsnmp_container_find( "table_container" );
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    17
+        if (table->container)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    18
+            table->container->container_name = strdup(name);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    19
+    }
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    20
+
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    21
     return table;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    22
 }
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    23
 
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    24
diff -ur net-snmp-5.4.1.org/agent/mibgroup/ip-forward-mib/data_access/route_common.c net-snmp-5.4.1.container/agent/mibgroup/ip-forward-mib/data_access/route_common.c
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    25
--- net-snmp-5.4.1.org/agent/mibgroup/ip-forward-mib/data_access/route_common.c	2012-04-02 01:31:08.334343300 -0700
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    26
+++ net-snmp-5.4.1.container/agent/mibgroup/ip-forward-mib/data_access/route_common.c	2012-04-02 02:00:46.671129800 -0700
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    27
@@ -47,8 +47,11 @@
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    28
 
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    29
     DEBUGMSGTL(("access:route:container", "load\n"));
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    30
 
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    31
-    if (NULL == container)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    32
+    if (NULL == container) {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    33
         container = netsnmp_container_find("access:_route:table_container");
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    34
+        if (container)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    35
+            container->container_name = strdup("_route");
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    36
+    }
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    37
     if (NULL == container) {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    38
         snmp_log(LOG_ERR, "no container specified/found for access_route\n");
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    39
         return NULL;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    40
diff -ur net-snmp-5.4.1.org/agent/mibgroup/ip-forward-mib/inetCidrRouteTable/inetCidrRouteTable_interface.c net-snmp-5.4.1.container/agent/mibgroup/ip-forward-mib/inetCidrRouteTable/inetCidrRouteTable_interface.c
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    41
--- net-snmp-5.4.1.org/agent/mibgroup/ip-forward-mib/inetCidrRouteTable/inetCidrRouteTable_interface.c	2012-04-02 01:31:08.341048100 -0700
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    42
+++ net-snmp-5.4.1.container/agent/mibgroup/ip-forward-mib/inetCidrRouteTable/inetCidrRouteTable_interface.c	2012-04-02 02:05:22.940847300 -0700
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    43
@@ -2307,9 +2307,12 @@
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    44
     if_ctx->cache->flags = NETSNMP_CACHE_DONT_INVALIDATE_ON_SET;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    45
 
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    46
     inetCidrRouteTable_container_init(&if_ctx->container, if_ctx->cache);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    47
-    if (NULL == if_ctx->container)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    48
+    if (NULL == if_ctx->container) { 
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    49
         if_ctx->container =
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    50
             netsnmp_container_find("inetCidrRouteTable:table_container");
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    51
+        if (NULL != if_ctx->container)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    52
+            if_ctx->container->container_name = strdup("inetCidrRouteTable");
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    53
+    }
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    54
     if (NULL == if_ctx->container) {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    55
         snmp_log(LOG_ERR, "error creating container in "
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    56
                  "inetCidrRouteTable_container_init\n");
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    57
diff -ur net-snmp-5.4.1.org/agent/mibgroup/ip-forward-mib/ipCidrRouteTable/ipCidrRouteTable_interface.c net-snmp-5.4.1.container/agent/mibgroup/ip-forward-mib/ipCidrRouteTable/ipCidrRouteTable_interface.c
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    58
--- net-snmp-5.4.1.org/agent/mibgroup/ip-forward-mib/ipCidrRouteTable/ipCidrRouteTable_interface.c	2012-04-02 01:31:08.337647600 -0700
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    59
+++ net-snmp-5.4.1.container/agent/mibgroup/ip-forward-mib/ipCidrRouteTable/ipCidrRouteTable_interface.c	2012-04-02 02:08:16.825508200 -0700
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    60
@@ -2259,9 +2259,12 @@
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    61
     if_ctx->cache->flags = NETSNMP_CACHE_DONT_INVALIDATE_ON_SET;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    62
 
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    63
     ipCidrRouteTable_container_init(&if_ctx->container, if_ctx->cache);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    64
-    if (NULL == if_ctx->container)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    65
+    if (NULL == if_ctx->container) {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    66
         if_ctx->container =
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    67
             netsnmp_container_find("ipCidrRouteTable:table_container");
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    68
+        if (NULL != if_ctx->container)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    69
+            if_ctx->container->container_name = strdup("ipCidrRouteTable");
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    70
+    }
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    71
     if (NULL == if_ctx->container) {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    72
         snmp_log(LOG_ERR, "error creating container in "
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    73
                  "ipCidrRouteTable_container_init\n");
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    74
diff -ur net-snmp-5.4.1.org/agent/mibgroup/ip-mib/data_access/arp_common.c net-snmp-5.4.1.container/agent/mibgroup/ip-mib/data_access/arp_common.c
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    75
--- net-snmp-5.4.1.org/agent/mibgroup/ip-mib/data_access/arp_common.c	2012-04-02 01:31:08.353034100 -0700
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    76
+++ net-snmp-5.4.1.container/agent/mibgroup/ip-mib/data_access/arp_common.c	2012-04-02 02:10:39.120984300 -0700
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    77
@@ -62,8 +62,11 @@
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    78
 
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    79
     DEBUGMSGTL(("access:arp:container", "load\n"));
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    80
 
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    81
-    if (NULL == container)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    82
+    if (NULL == container) {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    83
         container = netsnmp_container_find("access:arp:table_container");
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    84
+        if (container)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    85
+            container->container_name = strdup("arp");
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    86
+    }
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    87
     if (NULL == container) {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    88
         snmp_log(LOG_ERR, "no container specified/found for access_arp\n");
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    89
         return NULL;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    90
diff -ur net-snmp-5.4.1.org/agent/mibgroup/ip-mib/data_access/systemstats_common.c net-snmp-5.4.1.container/agent/mibgroup/ip-mib/data_access/systemstats_common.c
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    91
--- net-snmp-5.4.1.org/agent/mibgroup/ip-mib/data_access/systemstats_common.c	2012-04-02 01:31:08.353793700 -0700
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    92
+++ net-snmp-5.4.1.container/agent/mibgroup/ip-mib/data_access/systemstats_common.c	2012-04-02 02:12:30.680237000 -0700
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    93
@@ -96,8 +96,11 @@
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    94
 
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    95
     DEBUGMSGTL(("access:systemstats:container", "load\n"));
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    96
 
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    97
-    if (NULL == container)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    98
+    if (NULL == container) {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
    99
         container = netsnmp_access_systemstats_container_init(load_flags);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   100
+        if (NULL != container)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   101
+             container->container_name = strdup("systemstats_autocreate");
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   102
+    }
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   103
     if (NULL == container) {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   104
         snmp_log(LOG_ERR, "no container specified/found for access_systemstats\n");
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   105
         return NULL;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   106
diff -ur net-snmp-5.4.1.org/agent/mibgroup/ip-mib/inetNetToMediaTable/inetNetToMediaTable_interface.c net-snmp-5.4.1.container/agent/mibgroup/ip-mib/inetNetToMediaTable/inetNetToMediaTable_interface.c
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   107
--- net-snmp-5.4.1.org/agent/mibgroup/ip-mib/inetNetToMediaTable/inetNetToMediaTable_interface.c	2012-04-02 01:31:08.349583400 -0700
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   108
+++ net-snmp-5.4.1.container/agent/mibgroup/ip-mib/inetNetToMediaTable/inetNetToMediaTable_interface.c	2012-04-02 02:13:41.237688000 -0700
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   109
@@ -1935,9 +1935,12 @@
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   110
     if_ctx->cache->flags = NETSNMP_CACHE_DONT_INVALIDATE_ON_SET;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   111
 
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   112
     inetNetToMediaTable_container_init(&if_ctx->container, if_ctx->cache);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   113
-    if (NULL == if_ctx->container)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   114
+    if (NULL == if_ctx->container) {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   115
         if_ctx->container =
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   116
             netsnmp_container_find("inetNetToMediaTable:table_container");
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   117
+        if (if_ctx->container)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   118
+            if_ctx->container->container_name = strdup("inetNetToMediaTable");
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   119
+    }
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   120
     if (NULL == if_ctx->container) {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   121
         snmp_log(LOG_ERR, "error creating container in "
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   122
                  "inetNetToMediaTable_container_init\n");
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   123
diff -ur net-snmp-5.4.1.org/agent/mibgroup/ip-mib/ipv4InterfaceTable/ipv4InterfaceTable_interface.c net-snmp-5.4.1.container/agent/mibgroup/ip-mib/ipv4InterfaceTable/ipv4InterfaceTable_interface.c
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   124
--- net-snmp-5.4.1.org/agent/mibgroup/ip-mib/ipv4InterfaceTable/ipv4InterfaceTable_interface.c	2012-04-02 01:31:08.365565600 -0700
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   125
+++ net-snmp-5.4.1.container/agent/mibgroup/ip-mib/ipv4InterfaceTable/ipv4InterfaceTable_interface.c	2012-04-02 03:44:15.669526200 -0700
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   126
@@ -1251,15 +1251,18 @@
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   127
      * container init
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   128
      */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   129
     ipv4InterfaceTable_container_init(&if_ctx->container);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   130
-    if (NULL == if_ctx->container)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   131
+    if (NULL == if_ctx->container) 
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   132
         if_ctx->container =
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   133
             netsnmp_container_find("ipv4InterfaceTable:table_container");
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   134
+
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   135
     if (NULL == if_ctx->container) {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   136
         snmp_log(LOG_ERR, "error creating container in "
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   137
                  "ipv4InterfaceTable_container_init\n");
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   138
         return;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   139
     }
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   140
 
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   141
+    if_ctx->container->container_name = strdup("ipv4InterfaceTable");
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   142
+
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   143
 }                               /* _ipv4InterfaceTable_container_init */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   144
 
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   145
 /**
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   146
diff -ur net-snmp-5.4.1.org/agent/mibgroup/ip-mib/ipv6InterfaceTable/ipv6InterfaceTable_interface.c net-snmp-5.4.1.container/agent/mibgroup/ip-mib/ipv6InterfaceTable/ipv6InterfaceTable_interface.c
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   147
--- net-snmp-5.4.1.org/agent/mibgroup/ip-mib/ipv6InterfaceTable/ipv6InterfaceTable_interface.c	2012-04-02 01:31:08.363180800 -0700
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   148
+++ net-snmp-5.4.1.container/agent/mibgroup/ip-mib/ipv6InterfaceTable/ipv6InterfaceTable_interface.c	2012-04-02 03:45:04.295800900 -0700
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   149
@@ -1341,6 +1341,7 @@
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   150
                  "ipv6InterfaceTable_container_init\n");
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   151
         return;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   152
     }
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   153
+    if_ctx->container->container_name = strdup("ipv6InterfaceTable");
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   154
 
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   155
 }                               /* _ipv6InterfaceTable_container_init */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   156
 
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   157
diff -ur net-snmp-5.4.1.org/agent/mibgroup/tcp-mib/tcpConnectionTable/tcpConnectionTable_interface.c net-snmp-5.4.1.container/agent/mibgroup/tcp-mib/tcpConnectionTable/tcpConnectionTable_interface.c
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   158
--- net-snmp-5.4.1.org/agent/mibgroup/tcp-mib/tcpConnectionTable/tcpConnectionTable_interface.c	2012-04-02 01:31:08.199286300 -0700
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   159
+++ net-snmp-5.4.1.container/agent/mibgroup/tcp-mib/tcpConnectionTable/tcpConnectionTable_interface.c	2012-04-02 03:47:50.113861500 -0700
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   160
@@ -1731,9 +1731,12 @@
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   161
     if_ctx->cache->flags = NETSNMP_CACHE_DONT_INVALIDATE_ON_SET;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   162
 
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   163
     tcpConnectionTable_container_init(&if_ctx->container, if_ctx->cache);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   164
-    if (NULL == if_ctx->container)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   165
+    if (NULL == if_ctx->container) {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   166
         if_ctx->container =
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   167
             netsnmp_container_find("tcpConnectionTable:table_container");
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   168
+        if (if_ctx->container)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   169
+            if_ctx->container->container_name = strdup("tcpConnectionTable");
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   170
+    }
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   171
     if (NULL == if_ctx->container) {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   172
         snmp_log(LOG_ERR, "error creating container in "
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   173
                  "tcpConnectionTable_container_init\n");
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   174
diff -ur net-snmp-5.4.1.org/agent/mibgroup/tcp-mib/tcpListenerTable/tcpListenerTable_interface.c net-snmp-5.4.1.container/agent/mibgroup/tcp-mib/tcpListenerTable/tcpListenerTable_interface.c
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   175
--- net-snmp-5.4.1.org/agent/mibgroup/tcp-mib/tcpListenerTable/tcpListenerTable_interface.c	2012-04-02 01:31:08.201001900 -0700
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   176
+++ net-snmp-5.4.1.container/agent/mibgroup/tcp-mib/tcpListenerTable/tcpListenerTable_interface.c	2012-04-02 03:48:52.542497400 -0700
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   177
@@ -922,9 +922,12 @@
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   178
     if_ctx->cache->flags = NETSNMP_CACHE_DONT_INVALIDATE_ON_SET;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   179
 
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   180
     tcpListenerTable_container_init(&if_ctx->container, if_ctx->cache);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   181
-    if (NULL == if_ctx->container)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   182
+    if (NULL == if_ctx->container) {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   183
         if_ctx->container =
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   184
             netsnmp_container_find("tcpListenerTable:table_container");
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   185
+        if (if_ctx->container)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   186
+            if_ctx->container->container_name = strdup("tcpListenerTable");
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   187
+    }
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   188
     if (NULL == if_ctx->container) {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   189
         snmp_log(LOG_ERR, "error creating container in "
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   190
                  "tcpListenerTable_container_init\n");
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   191
diff -ur net-snmp-5.4.1.org/include/net-snmp/agent/table_tdata.h net-snmp-5.4.1.container/include/net-snmp/agent/table_tdata.h
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   192
--- net-snmp-5.4.1.org/include/net-snmp/agent/table_tdata.h	2012-04-02 01:31:08.444022500 -0700
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   193
+++ net-snmp-5.4.1.container/include/net-snmp/agent/table_tdata.h	2012-04-02 23:50:13.830827600 -0700
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   194
@@ -21,6 +21,7 @@
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   195
 #define TABLE_TDATA_TABLE "table_tdata_table"
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   196
 
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   197
 #define TDATA_FLAG_NO_STORE_INDEXES   0x01
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   198
+#define TDATA_FLAG_NO_CONTAINER       0x02    /* user will provide container */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   199
 
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   200
     /*
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   201
      * The (table-independent) per-row data structure
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   202
diff -ur net-snmp-5.4.1.org/include/net-snmp/library/container.h net-snmp-5.4.1.container/include/net-snmp/library/container.h
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   203
--- net-snmp-5.4.1.orig/include/net-snmp/library/container.h	2012-09-13 03:44:03.378177029 -0700
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   204
+++ net-snmp-5.4.1.container/include/net-snmp/library/container.h	2012-09-05 12:05:44.822831595 -0700
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   205
@@ -373,31 +373,42 @@
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   206
      */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   207
     int CONTAINER_FREE(netsnmp_container *x);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   208
 #else
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   209
-    /*------------------------------------------------------------------
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   210
-     * These functions should EXACTLY match the function version in
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   211
-     * container.c. If you change one, change them both.
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   212
-     */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   213
-    NETSNMP_STATIC_INLINE /* gcc docs recommend static w/inline */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   214
-    int CONTAINER_INSERT(netsnmp_container *x, const void *k)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   215
-    {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   216
-        int rc2, rc = 0;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   217
-        
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   218
-        /** start at first container */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   219
-        while(x->prev)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   220
-            x = x->prev;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   221
-        for(; x; x = x->next) {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   222
-            if ((NULL != x->insert_filter) &&
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   223
-                (x->insert_filter(x,k) == 1))
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   224
-                continue;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   225
-            rc2 = x->insert(x,k);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   226
-            if (rc2) {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   227
-                snmp_log(LOG_DEBUG,"error on subcontainer '%s' insert (%d)\n",
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   228
-                         x->container_name ? x->container_name : "", rc2);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   229
-                rc = rc2;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   230
-            }
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   231
-        }
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   232
-        return rc;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   233
-    }
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   234
+     /*------------------------------------------------------------------
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   235
+      * These functions should EXACTLY match the function version in
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   236
+      * container.c. If you change one, change them both.
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   237
+      */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   238
+     NETSNMP_STATIC_INLINE /* gcc docs recommend static w/inline */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   239
+     int CONTAINER_INSERT_HELPER(netsnmp_container* x, const void* k)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   240
+     {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   241
+         while(x && x->insert_filter && x->insert_filter(x,k) == 1)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   242
+             x = x->next;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   243
+         if(x) {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   244
+             int rc = x->insert(x,k);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   245
+             if(rc)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   246
+                 snmp_log(LOG_ERR,"error on subcontainer '%s' insert (%d)\n",
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   247
+                          x->container_name ? x->container_name : "", rc);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   248
+             else {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   249
+                 rc = CONTAINER_INSERT_HELPER(x->next, k);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   250
+                 if(rc)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   251
+                     x->remove(x,k);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   252
+             }
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   253
+             return rc;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   254
+         }
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   255
+         return 0;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   256
+     }
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   257
+ 
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   258
+     /*------------------------------------------------------------------
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   259
+      * These functions should EXACTLY match the function version in
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   260
+      * container.c. If you change one, change them both.
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   261
+      */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   262
+     NETSNMP_STATIC_INLINE /* gcc docs recommend static w/inline */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   263
+     int CONTAINER_INSERT(netsnmp_container* x, const void* k)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   264
+     {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   265
+         /** start at first container */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   266
+         while(x->prev)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   267
+             x = x->prev;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   268
+         return CONTAINER_INSERT_HELPER(x, k);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   269
+     }
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   270
     
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   271
     /*------------------------------------------------------------------
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   272
      * These functions should EXACTLY match the function version in
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   273
diff -ur net-snmp-5.4.1.org/snmplib/container.c net-snmp-5.4.1.container/snmplib/container.c
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   274
--- net-snmp-5.4.1/snmplib/container.c	2012-09-13 03:44:03.380247622 -0700
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   275
+++ net-snmp-5.4.1.container/snmplib/container.c	2012-09-13 03:33:19.759881202 -0700
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   276
@@ -49,7 +49,8 @@
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   277
      */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   278
     containers = netsnmp_container_get_binary_array();
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   279
     containers->compare = netsnmp_compare_cstring;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   280
-
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   281
+    containers->container_name = strdup("container list");
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   282
+	
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   283
     /*
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   284
      * register containers
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   285
      */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   286
@@ -265,25 +266,34 @@
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   287
  * These functions should EXACTLY match the inline version in
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   288
  * container.h. If you change one, change them both.
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   289
  */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   290
-int CONTAINER_INSERT(netsnmp_container *x, const void *k)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   291
-{ 
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   292
-    int rc2, rc = 0;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   293
-    
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   294
-    /** start at first container */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   295
+int CONTAINER_INSERT_HELPER(netsnmp_container* x, const void* k)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   296
+{
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   297
+     while(x && x->insert_filter && x->insert_filter(x,k) == 1)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   298
+         x = x->next;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   299
+     if(x) {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   300
+         int rc = x->insert(x,k);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   301
+         if(rc)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   302
+             snmp_log(LOG_DEBUG,"error on subcontainer '%s' insert (%d)\n",
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   303
+                      x->container_name ? x->container_name : "", rc);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   304
+         else {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   305
+             rc = CONTAINER_INSERT_HELPER(x->next, k);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   306
+             if(rc)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   307
+                 x->remove(x,k);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   308
+         }
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   309
+         return rc;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   310
+     }
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   311
+     return 0;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   312
+ }
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   313
+
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   314
+/*------------------------------------------------------------------
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   315
+ * These functions should EXACTLY match the inline version in
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   316
+ * container.h. If you change one, change them both.
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   317
+ */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   318
+int CONTAINER_INSERT(netsnmp_container* x, const void* k)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   319
+{
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   320
     while(x->prev)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   321
-        x = x->prev;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   322
-    for(; x; x = x->next) {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   323
-        if ((NULL != x->insert_filter) &&
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   324
-            (x->insert_filter(x,k) == 1))
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   325
-            continue;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   326
-        rc2 = x->insert(x,k);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   327
-        if (rc2) {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   328
-            snmp_log(LOG_DEBUG,"error on subcontainer '%s' insert (%d)\n",
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   329
-                     x->container_name ? x->container_name : "", rc2);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   330
-            rc = rc2;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   331
-        }
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   332
-    }
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   333
-    return rc;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   334
+         x = x->prev;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   335
+     return CONTAINER_INSERT_HELPER(x, k);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   336
 }
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   337
 
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   338
 /*------------------------------------------------------------------
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   339
diff -ur net-snmp-5.4.1.org/agent/mibgroup/ip-mib/ipAddressTable/ipAddressTable_data_access.c net-snmp-5.4.1.container/agent/mibgroup/ip-mib/ipAddressTable/ipAddressTable_data_access.c
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   340
--- net-snmp-5.4.1.orig/agent/mibgroup/ip-mib/ipAddressTable/ipAddressTable_data_access.c	2007-05-17 14:53:28.000000000 -0700
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   341
+++ net-snmp-5.4.1.container/agent/mibgroup/ip-mib/ipAddressTable/ipAddressTable_data_access.c	2012-09-13 03:45:25.253102053 -0700
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   342
@@ -134,6 +134,7 @@
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   343
     *container_ptr_ptr =
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   344
         netsnmp_container_find("ipAddressTable:table_container");
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   345
     if (NULL != *container_ptr_ptr) {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   346
+        (*container_ptr_ptr)->container_name = strdup("ipAddressTable"); 
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   347
         ipAddressTable_container_load(*container_ptr_ptr);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   348
         CONTAINER_FOR_EACH(*container_ptr_ptr,
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   349
                            (netsnmp_container_obj_func *) _clear_times,
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   350
@@ -344,56 +345,58 @@
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   351
      * what we've already got, and make any adjustments, saving
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   352
      * missing addresses to be deleted.
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   353
      */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   354
-    tmp_ptr[0] = ipaddress_container->next;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   355
-    tmp_ptr[1] = NULL;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   356
-    CONTAINER_FOR_EACH(container, (netsnmp_container_obj_func *)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   357
-                       _check_entry_for_updates, tmp_ptr);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   358
-
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   359
-    /*
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   360
-     * now add any new interfaces
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   361
-     */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   362
-    CONTAINER_FOR_EACH(ipaddress_container,
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   363
-                       (netsnmp_container_obj_func *) _add_new_entry,
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   364
-                       container);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   365
-
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   366
-    /*
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   367
-     * free the container. we've either claimed each entry, or released it,
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   368
-     * so the access function doesn't need to clear the container.
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   369
-     */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   370
-    netsnmp_access_ipaddress_container_free(ipaddress_container,
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   371
-                                            NETSNMP_ACCESS_IPADDRESS_FREE_DONT_CLEAR);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   372
-
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   373
-    /*
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   374
-     * remove deleted addresses from table container
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   375
-     */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   376
-    if (NULL != tmp_ptr[1]) {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   377
-        netsnmp_container *tmp_container =
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   378
-            (netsnmp_container *) tmp_ptr[1];
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   379
-        ipAddressTable_rowreq_ctx *tmp_ctx;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   380
-
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   381
-        /*
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   382
-         * this works because the tmp_container is a linked list,
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   383
-         * which can be used like a stack...
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   384
-         */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   385
-        while (CONTAINER_SIZE(tmp_container)) {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   386
-            /*
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   387
-             * get from delete list
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   388
-             */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   389
-            tmp_ctx = CONTAINER_FIRST(tmp_container);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   390
-
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   391
-            /*
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   392
-             * release context, delete from table container
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   393
-             */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   394
-            CONTAINER_REMOVE(container, tmp_ctx);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   395
-            ipAddressTable_release_rowreq_ctx(tmp_ctx);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   396
-
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   397
-            /*
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   398
-             * pop off delete list
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   399
-             */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   400
-            CONTAINER_REMOVE(tmp_container, NULL);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   401
-        }
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   402
+    if(ipaddress_container != NULL)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   403
+    {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   404
+    	tmp_ptr[0] = ipaddress_container->next;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   405
+    	tmp_ptr[1] = NULL;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   406
+    	CONTAINER_FOR_EACH(container, (netsnmp_container_obj_func *)
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   407
+                       	   _check_entry_for_updates, tmp_ptr);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   408
+
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   409
+    	/*
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   410
+     	 * now add any new interfaces
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   411
+     	 */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   412
+    	CONTAINER_FOR_EACH(ipaddress_container,
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   413
+                       	   (netsnmp_container_obj_func *) _add_new_entry,
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   414
+                            container);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   415
+
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   416
+    	/*
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   417
+     	 * free the container. we've either claimed each entry, or released it,
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   418
+     	 * so the access function doesn't need to clear the container.
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   419
+     	 */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   420
+    	netsnmp_access_ipaddress_container_free(ipaddress_container,
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   421
+                                                NETSNMP_ACCESS_IPADDRESS_FREE_DONT_CLEAR);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   422
+
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   423
+    	/*
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   424
+     	 * remove deleted addresses from table container
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   425
+     	 */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   426
+    	if (NULL != tmp_ptr[1]) {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   427
+        	netsnmp_container *tmp_container =
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   428
+            	    (netsnmp_container *) tmp_ptr[1];
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   429
+        	ipAddressTable_rowreq_ctx *tmp_ctx;
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   430
+
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   431
+        	/*
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   432
+         	 * this works because the tmp_container is a linked list,
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   433
+         	 * which can be used like a stack...
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   434
+         	 */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   435
+        	while (CONTAINER_SIZE(tmp_container)) {
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   436
+            	/*
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   437
+             	 * get from delete list
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   438
+             	 */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   439
+            	tmp_ctx = CONTAINER_FIRST(tmp_container);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   440
+
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   441
+            	/*
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   442
+             	 * release context, delete from table container
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   443
+             	 */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   444
+            	CONTAINER_REMOVE(container, tmp_ctx);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   445
+            	ipAddressTable_release_rowreq_ctx(tmp_ctx);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   446
+
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   447
+            	/*
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   448
+             	 * pop off delete list
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   449
+              	 */
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   450
+            	CONTAINER_REMOVE(tmp_container, NULL);
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   451
+        	}
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   452
+    	}
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   453
     }
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   454
-
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   455
     DEBUGMSGT(("verbose:ipAddressTable:ipAddressTable_cache_load",
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   456
                "%d records\n", CONTAINER_SIZE(container)));
2021fa9cf020 15745743 SUNBT7097655 snmpd core files are seen in s11b174 with T4-1B
Lijo George - Oracle Corporation - Bangalore India <lijo.x.george@oracle.com>
parents:
diff changeset
   457