/dports/net-mgmt/net-snmp/net-snmp-5.9/agent/ |
H A D | agent_handler.c | 264 netsnmp_assert(reginfo != NULL); in netsnmp_register_handler() 372 netsnmp_assert(reginfo != NULL); in netsnmp_register_handler_nocallback() 432 netsnmp_assert(reginfo != NULL); in netsnmp_inject_handler_before() 433 netsnmp_assert(handler != NULL); in netsnmp_inject_handler_before() 517 netsnmp_assert(reqinfo != NULL); in netsnmp_call_handler() 518 netsnmp_assert(reginfo != NULL); in netsnmp_call_handler() 584 netsnmp_assert(reqinfo != NULL); in netsnmp_call_handlers() 585 netsnmp_assert(reginfo != NULL); in netsnmp_call_handlers() 653 netsnmp_assert(current != NULL); in netsnmp_call_next_handler() 654 netsnmp_assert(reginfo != NULL); in netsnmp_call_next_handler() [all …]
|
/dports/net-mgmt/net-snmp/net-snmp-5.9/agent/mibgroup/ip-mib/ipDefaultRouterTable/ |
H A D | ipDefaultRouterTable_data_get.c | 244 netsnmp_assert(NULL != ipDefaultRouterLifetime_val_ptr); in ipDefaultRouterLifetime_get() 250 netsnmp_assert(NULL != rowreq_ctx); in ipDefaultRouterLifetime_get() 306 netsnmp_assert(NULL != ipDefaultRouterPreference_val_ptr); in ipDefaultRouterPreference_get() 311 netsnmp_assert(NULL != rowreq_ctx); in ipDefaultRouterPreference_get()
|
/dports/net-mgmt/net-snmp/net-snmp-5.9/agent/mibgroup/ip-mib/ipv4InterfaceTable/ |
H A D | ipv4InterfaceTable_interface.c | 548 netsnmp_assert(NULL != rowreq_ctx); in _ipv4InterfaceTable_get_column() 607 netsnmp_assert(NULL != rowreq_ctx); in _mfd_ipv4InterfaceTable_get_values() 692 netsnmp_assert(NULL != rowreq_ctx); in _ipv4InterfaceTable_check_column() 771 netsnmp_assert(NULL != rowreq_ctx); in _mfd_ipv4InterfaceTable_check_objects() 813 netsnmp_assert(NULL != rowreq_ctx); in _ipv4InterfaceTable_undo_setup_column() 853 netsnmp_assert(NULL != rowreq_ctx); in _mfd_ipv4InterfaceTable_undo_setup() 959 netsnmp_assert(NULL != rowreq_ctx); in _ipv4InterfaceTable_set_column() 997 netsnmp_assert(NULL != rowreq_ctx); in _mfd_ipv4InterfaceTable_set_values() 1043 netsnmp_assert(NULL != rowreq_ctx); in _mfd_ipv4InterfaceTable_commit() 1077 netsnmp_assert(NULL != rowreq_ctx); in _mfd_ipv4InterfaceTable_undo_commit() [all …]
|
/dports/net-mgmt/net-snmp/net-snmp-5.9/snmplib/ |
H A D | data_list.c | 95 netsnmp_assert(NULL != head); in netsnmp_data_list_add_node() 96 netsnmp_assert(NULL != node); in netsnmp_data_list_add_node() 100 netsnmp_assert(NULL != node->name); in netsnmp_data_list_add_node() 110 netsnmp_assert(!"list key == is unique"); /* always fail */ in netsnmp_data_list_add_node() 117 netsnmp_assert(NULL != ptr->name); in netsnmp_data_list_add_node() 119 netsnmp_assert(!"list key == is unique"); /* always fail */ in netsnmp_data_list_add_node() 126 netsnmp_assert(NULL != ptr); in netsnmp_data_list_add_node()
|
H A D | large_fd_set.c | 41 netsnmp_assert(fd != INVALID_SOCKET); in netsnmp_large_fd_setfd() 63 netsnmp_assert(fd != INVALID_SOCKET); in netsnmp_large_fd_clr() 83 netsnmp_assert(fd != INVALID_SOCKET); in netsnmp_large_fd_is_set() 134 netsnmp_assert(fd >= 0); in netsnmp_large_fd_setfd() 145 netsnmp_assert(fd >= 0); in netsnmp_large_fd_clr() 154 netsnmp_assert(fd >= 0); in netsnmp_large_fd_is_set()
|
/dports/net-mgmt/net-snmp/net-snmp-5.9/agent/mibgroup/ip-mib/ipAddressTable/ |
H A D | ipAddressTable_data_access.c | 275 netsnmp_assert(NULL != ipaddress_entry); in _add_new_entry() 276 netsnmp_assert(NULL != container); in _add_new_entry() 494 netsnmp_assert(NULL != rowreq_ctx); in ipAddressTable_row_prep() 561 netsnmp_assert(NULL != rowreq_ctx); in ipAddressAddrType_check_index() 645 netsnmp_assert(NULL != rowreq_ctx); in ipAddressAddr_check_index() 717 netsnmp_assert(NULL != rowreq_ctx); in ipAddressTable_validate_index()
|
H A D | ipAddressTable_interface.c | 599 netsnmp_assert(NULL != rowreq_ctx); in ipAddressTable_release_rowreq_ctx() 856 netsnmp_assert(NULL != rowreq_ctx); in _ipAddressTable_get_column() 970 netsnmp_assert(NULL != rowreq_ctx); in _mfd_ipAddressTable_get_values() 1036 netsnmp_assert(NULL != rowreq_ctx); in _ipAddressTable_check_indexes() 1112 netsnmp_assert(NULL != rowreq_ctx); in _ipAddressTable_check_column() 1325 netsnmp_assert(NULL != rowreq_ctx); in _mfd_ipAddressTable_check_objects() 1369 netsnmp_assert(NULL != rowreq_ctx); in _mfd_ipAddressTable_check_dependencies() 1398 netsnmp_assert(NULL != rowreq_ctx); in _ipAddressTable_undo_setup_column() 1470 netsnmp_assert(NULL != rowreq_ctx); in _mfd_ipAddressTable_undo_setup() 1584 netsnmp_assert(NULL != rowreq_ctx); in _ipAddressTable_set_column() [all …]
|
/dports/net-mgmt/net-snmp/net-snmp-5.9/agent/mibgroup/ip-mib/ipSystemStatsTable/ |
H A D | ipSystemStatsTable_data_access.c | 212 netsnmp_assert(NULL != systemstats_entry); in _add_new() 213 netsnmp_assert(NULL != container); in _add_new() 312 netsnmp_assert(NULL != container); in ipSystemStatsTable_container_load() 390 netsnmp_assert(NULL != rowreq_ctx); in ipSystemStatsTable_row_prep()
|
/dports/net-mgmt/net-snmp/net-snmp-5.9/agent/mibgroup/ip-mib/ipv6InterfaceTable/ |
H A D | ipv6InterfaceTable_interface.c | 525 netsnmp_assert(NULL != rowreq_ctx); in _ipv6InterfaceTable_get_column() 620 netsnmp_assert(NULL != rowreq_ctx); in _mfd_ipv6InterfaceTable_get_values() 705 netsnmp_assert(NULL != rowreq_ctx); in _ipv6InterfaceTable_check_column() 830 netsnmp_assert(NULL != rowreq_ctx); in _mfd_ipv6InterfaceTable_check_objects() 872 netsnmp_assert(NULL != rowreq_ctx); in _ipv6InterfaceTable_undo_setup_column() 921 netsnmp_assert(NULL != rowreq_ctx); in _mfd_ipv6InterfaceTable_undo_setup() 1027 netsnmp_assert(NULL != rowreq_ctx); in _ipv6InterfaceTable_set_column() 1075 netsnmp_assert(NULL != rowreq_ctx); in _mfd_ipv6InterfaceTable_set_values() 1121 netsnmp_assert(NULL != rowreq_ctx); in _mfd_ipv6InterfaceTable_commit() 1155 netsnmp_assert(NULL != rowreq_ctx); in _mfd_ipv6InterfaceTable_undo_commit() [all …]
|
/dports/net-mgmt/net-snmp/net-snmp-5.9/agent/mibgroup/ip-mib/inetNetToMediaTable/ |
H A D | inetNetToMediaTable_interface.c | 648 netsnmp_assert(NULL != rowreq_ctx); in inetNetToMediaTable_release_rowreq_ctx() 902 netsnmp_assert(NULL != rowreq_ctx); in _inetNetToMediaTable_get_column() 982 netsnmp_assert(NULL != rowreq_ctx); in _mfd_inetNetToMediaTable_get_values() 1049 netsnmp_assert(NULL != rowreq_ctx); in _inetNetToMediaTable_check_indexes() 1148 netsnmp_assert(NULL != rowreq_ctx); in _inetNetToMediaTable_check_column() 1291 netsnmp_assert(NULL != rowreq_ctx); in _mfd_inetNetToMediaTable_check_objects() 1336 netsnmp_assert(NULL != rowreq_ctx); in _mfd_inetNetToMediaTable_check_dependencies() 1365 netsnmp_assert(NULL != rowreq_ctx); in _inetNetToMediaTable_undo_setup_column() 1423 netsnmp_assert(NULL != rowreq_ctx); in _mfd_inetNetToMediaTable_undo_setup() 1537 netsnmp_assert(NULL != rowreq_ctx); in _inetNetToMediaTable_set_column() [all …]
|
/dports/net-mgmt/net-snmp/net-snmp-5.9/agent/mibgroup/tcp-mib/tcpListenerTable/ |
H A D | tcpListenerTable.c | 133 netsnmp_assert(NULL != rowreq_ctx); in tcpListenerTable_rowreq_ctx_init() 152 netsnmp_assert(NULL != rowreq_ctx); in tcpListenerTable_rowreq_ctx_cleanup() 423 netsnmp_assert(NULL != tcpListenerProcess_val_ptr); in tcpListenerProcess_get() 429 netsnmp_assert(NULL != rowreq_ctx); in tcpListenerProcess_get()
|
/dports/net-mgmt/net-snmp/net-snmp-5.9/agent/mibgroup/ip-mib/ipIfStatsTable/ |
H A D | ipIfStatsTable_data_access.c | 216 netsnmp_assert(NULL != ifstats_entry); in _add_new() 217 netsnmp_assert(NULL != container); in _add_new() 316 netsnmp_assert(NULL != container); in ipIfStatsTable_container_load() 399 netsnmp_assert(NULL != rowreq_ctx); in ipIfStatsTable_row_prep()
|
/dports/net-mgmt/net-snmp/net-snmp-5.9/agent/mibgroup/snmp-usm-dh-objects-mib/usmDHUserKeyTable/ |
H A D | usmDHUserKeyTable_interface.c | 597 netsnmp_assert(NULL != rowreq_ctx); in usmDHUserKeyTable_release_rowreq_ctx() 764 netsnmp_assert(NULL != rowreq_ctx); in _usmDHUserKeyTable_get_column() 833 netsnmp_assert(NULL != rowreq_ctx); in _mfd_usmDHUserKeyTable_get_values() 916 netsnmp_assert(NULL != rowreq_ctx); in _usmDHUserKeyTable_check_column() 1030 netsnmp_assert(NULL != rowreq_ctx); in _mfd_usmDHUserKeyTable_check_objects() 1075 netsnmp_assert(NULL != rowreq_ctx); in _mfd_usmDHUserKeyTable_check_dependencies() 1104 netsnmp_assert(NULL != rowreq_ctx); in _usmDHUserKeyTable_undo_setup_column() 1169 netsnmp_assert(NULL != rowreq_ctx); in _mfd_usmDHUserKeyTable_undo_setup() 1283 netsnmp_assert(NULL != rowreq_ctx); in _usmDHUserKeyTable_set_column() 1353 netsnmp_assert(NULL != rowreq_ctx); in _mfd_usmDHUserKeyTable_set_values() [all …]
|
/dports/net-mgmt/net-snmp/net-snmp-5.9/agent/mibgroup/if-mib/ifTable/ |
H A D | ifTable_interface.c | 624 netsnmp_assert(NULL != rowreq_ctx); in ifTable_release_rowreq_ctx() 782 netsnmp_assert(NULL != rowreq_ctx); in _ifTable_get_column() 1008 netsnmp_assert(NULL != rowreq_ctx); in _mfd_ifTable_get_values() 1094 netsnmp_assert(NULL != rowreq_ctx); in _ifTable_check_column() 1302 netsnmp_assert(NULL != rowreq_ctx); in _mfd_ifTable_check_objects() 1346 netsnmp_assert(NULL != rowreq_ctx); in _mfd_ifTable_check_dependencies() 1375 netsnmp_assert(NULL != rowreq_ctx); in _ifTable_undo_setup_column() 1457 netsnmp_assert(NULL != rowreq_ctx); in _mfd_ifTable_undo_setup() 1577 netsnmp_assert(NULL != rowreq_ctx); in _ifTable_set_column() 1612 netsnmp_assert(NULL != rowreq_ctx); in _mfd_ifTable_set_values() [all …]
|
/dports/net-mgmt/net-snmp/net-snmp-5.9/agent/mibgroup/ip-mib/ipv6ScopeZoneIndexTable/ |
H A D | ipv6ScopeZoneIndexTable_data_access.c | 163 netsnmp_assert(NULL != scopezone_entry); in _snarf_zoneindex_entry() 164 netsnmp_assert(NULL != container); in _snarf_zoneindex_entry() 294 netsnmp_assert(NULL != rowreq_ctx); in ipv6ScopeZoneIndexTable_row_prep()
|
/dports/net-mgmt/net-snmp/net-snmp-5.9/agent/mibgroup/tcp-mib/tcpConnectionTable/ |
H A D | tcpConnectionTable_interface.c | 739 netsnmp_assert(NULL != rowreq_ctx); in tcpConnectionTable_release_rowreq_ctx() 905 netsnmp_assert(NULL != rowreq_ctx); in _tcpConnectionTable_get_column() 954 netsnmp_assert(NULL != rowreq_ctx); in _mfd_tcpConnectionTable_get_values() 1039 netsnmp_assert(NULL != rowreq_ctx); in _tcpConnectionTable_check_column() 1149 netsnmp_assert(NULL != rowreq_ctx); in _mfd_tcpConnectionTable_check_objects() 1194 netsnmp_assert(NULL != rowreq_ctx); in _mfd_tcpConnectionTable_check_dependencies() 1223 netsnmp_assert(NULL != rowreq_ctx); in _tcpConnectionTable_undo_setup_column() 1262 netsnmp_assert(NULL != rowreq_ctx); in _mfd_tcpConnectionTable_undo_setup() 1375 netsnmp_assert(NULL != rowreq_ctx); in _tcpConnectionTable_set_column() 1412 netsnmp_assert(NULL != rowreq_ctx); in _mfd_tcpConnectionTable_set_values() [all …]
|
/dports/net-mgmt/net-snmp/net-snmp-5.9/agent/mibgroup/ip-mib/data_access/ |
H A D | ipaddress_ioctl.c | 80 netsnmp_assert(NULL != entry); in netsnmp_ioctl_ipaddress_entry_cleanup() 85 netsnmp_assert(NULL != entry->arch_data); in netsnmp_ioctl_ipaddress_entry_cleanup() 107 netsnmp_assert((NULL != lhs) && (NULL != rhs)); in netsnmp_ioctl_ipaddress_entry_copy() 158 netsnmp_assert(NULL != ifc.ifc_buf); in _netsnmp_ioctl_ipaddress_container_load_v4() 273 netsnmp_assert(AF_INET == ifrp->ifr_addr.sa_family); in _netsnmp_ioctl_ipaddress_container_load_v4() 405 netsnmp_assert(NULL != ifc.ifc_buf); in _next_alias() 473 netsnmp_assert(4 == entry->ia_address_len); in _netsnmp_ioctl_ipaddress_set_v4() 541 netsnmp_assert(4 == entry->ia_address_len); in _netsnmp_ioctl_ipaddress_delete_v4() 599 netsnmp_assert(16 == entry->ia_address_len); in _netsnmp_ioctl_ipaddress_v6()
|
/dports/net-mgmt/net-snmp/net-snmp-5.9/agent/mibgroup/snmp-notification-mib/snmpNotifyFilterTable/ |
H A D | snmpNotifyFilterTable_interface.c | 668 netsnmp_assert(NULL != rowreq_ctx); in snmpNotifyFilterTable_release_rowreq_ctx() 914 netsnmp_assert(NULL != rowreq_ctx); in _snmpNotifyFilterTable_get_column() 983 netsnmp_assert(NULL != rowreq_ctx); in _mfd_snmpNotifyFilterTable_get_values() 1050 netsnmp_assert(NULL != rowreq_ctx); in _snmpNotifyFilterTable_check_indexes() 1108 netsnmp_assert(NULL != rowreq_ctx); in _snmpNotifyFilterTable_check_column() 1260 netsnmp_assert(NULL != rowreq_ctx); in _mfd_snmpNotifyFilterTable_check_objects() 1305 netsnmp_assert(NULL != rowreq_ctx); in _mfd_snmpNotifyFilterTable_check_dependencies() 1334 netsnmp_assert(NULL != rowreq_ctx); in _snmpNotifyFilterTable_undo_setup_column() 1399 netsnmp_assert(NULL != rowreq_ctx); in _mfd_snmpNotifyFilterTable_undo_setup() 1664 netsnmp_assert(d != 0); in _mfd_snmpNotifyFilterTable_undo_commit() [all …]
|
/dports/net-mgmt/net-snmp/net-snmp-5.9/local/mib2c-conf.d/ |
H A D | generic-get-decl.m2i | 26 netsnmp_assert( (NULL != $m2c_node_param_ref_name) && (NULL != *$m2c_node_param_ref_name)); 27 netsnmp_assert( NULL != $m2c_node_param_ref_lname ); 30 netsnmp_assert( NULL != $m2c_node_param_ref_name );
|
/dports/net-mgmt/net-snmp/net-snmp-5.9/include/net-snmp/library/ |
H A D | snmp_assert.h | 31 # define netsnmp_assert(x) assert( x ) macro 47 # define netsnmp_assert(x) do { \ macro 80 # define netsnmp_assert(x) macro
|
/dports/net-mgmt/net-snmp/net-snmp-5.9/agent/mibgroup/rmon-mib/etherStatsTable/ |
H A D | etherStatsTable_interface.c | 553 netsnmp_assert(NULL != rowreq_ctx); in etherStatsTable_release_rowreq_ctx() 797 netsnmp_assert(NULL != rowreq_ctx); in _etherStatsTable_get_column() 1178 netsnmp_assert(NULL != rowreq_ctx); in _mfd_etherStatsTable_get_values() 1247 netsnmp_assert(NULL != rowreq_ctx); in _etherStatsTable_check_indexes() 1299 netsnmp_assert(NULL != rowreq_ctx); in _etherStatsTable_check_column() 1539 netsnmp_assert(NULL != rowreq_ctx); in _mfd_etherStatsTable_check_objects() 1580 netsnmp_assert(NULL != rowreq_ctx); in _etherStatsTable_undo_setup_column() 1636 netsnmp_assert(NULL != rowreq_ctx); in _mfd_etherStatsTable_undo_setup() 1749 netsnmp_assert(NULL != rowreq_ctx); in _etherStatsTable_set_column() 1805 netsnmp_assert(NULL != rowreq_ctx); in _mfd_etherStatsTable_set_values() [all …]
|
/dports/net-mgmt/net-snmp/net-snmp-5.9/agent/mibgroup/if-mib/ifXTable/ |
H A D | ifXTable_interface.c | 677 netsnmp_assert(NULL != rowreq_ctx); in _ifXTable_get_column() 881 netsnmp_assert(NULL != rowreq_ctx); in _mfd_ifXTable_get_values() 964 netsnmp_assert(NULL != rowreq_ctx); in _ifXTable_check_column() 1197 netsnmp_assert(NULL != rowreq_ctx); in _mfd_ifXTable_check_objects() 1241 netsnmp_assert(NULL != rowreq_ctx); in _mfd_ifXTable_check_dependencies() 1270 netsnmp_assert(NULL != rowreq_ctx); in _ifXTable_undo_setup_column() 1325 netsnmp_assert(NULL != rowreq_ctx); in _mfd_ifXTable_undo_setup() 1438 netsnmp_assert(NULL != rowreq_ctx); in _ifXTable_set_column() 1576 netsnmp_assert(d != 0); in _mfd_ifXTable_undo_commit() 1829 netsnmp_assert(container); in ifXTable_container_init_persistence() [all …]
|
/dports/net-mgmt/net-snmp/net-snmp-5.9/agent/mibgroup/ip-forward-mib/data_access/ |
H A D | route_ioctl.c | 96 netsnmp_assert(NULL != entry); /* checked in netsnmp_arch_route_create */ in _netsnmp_ioctl_route_set_v4() 97 netsnmp_assert((4 == entry->rt_dest_len) && (4 == entry->rt_nexthop_len)); in _netsnmp_ioctl_route_set_v4() 160 netsnmp_assert(NULL != entry); /* checked in netsnmp_arch_route_delete */ in _netsnmp_ioctl_route_delete_v4() 161 netsnmp_assert((4 == entry->rt_dest_len) && (4 == entry->rt_nexthop_len)); in _netsnmp_ioctl_route_delete_v4()
|
/dports/net-mgmt/net-snmp/net-snmp-5.9/agent/mibgroup/ip-forward-mib/ipCidrRouteTable/ |
H A D | ipCidrRouteTable_interface.c | 628 netsnmp_assert(NULL != rowreq_ctx); in ipCidrRouteTable_release_rowreq_ctx() 879 netsnmp_assert(NULL != rowreq_ctx); in _ipCidrRouteTable_get_column() 1053 netsnmp_assert(NULL != rowreq_ctx); in _mfd_ipCidrRouteTable_get_values() 1118 netsnmp_assert(NULL != rowreq_ctx); in _ipCidrRouteTable_check_indexes() 1198 netsnmp_assert(NULL != rowreq_ctx); in _ipCidrRouteTable_check_column() 1484 netsnmp_assert(NULL != rowreq_ctx); in _mfd_ipCidrRouteTable_check_objects() 1527 netsnmp_assert(NULL != rowreq_ctx); in _ipCidrRouteTable_undo_setup_column() 1638 netsnmp_assert(NULL != rowreq_ctx); in _mfd_ipCidrRouteTable_undo_setup() 1751 netsnmp_assert(NULL != rowreq_ctx); in _ipCidrRouteTable_set_column() 1869 netsnmp_assert(NULL != rowreq_ctx); in _mfd_ipCidrRouteTable_set_values() [all …]
|
/dports/net-mgmt/net-snmp/net-snmp-5.9/agent/mibgroup/ip-forward-mib/inetCidrRouteTable/ |
H A D | inetCidrRouteTable_interface.c | 745 netsnmp_assert(NULL != rowreq_ctx); in inetCidrRouteTable_release_rowreq_ctx() 998 netsnmp_assert(NULL != rowreq_ctx); in _inetCidrRouteTable_get_column() 1135 netsnmp_assert(NULL != rowreq_ctx); in _mfd_inetCidrRouteTable_get_values() 1202 netsnmp_assert(NULL != rowreq_ctx); in _inetCidrRouteTable_check_indexes() 1358 netsnmp_assert(NULL != rowreq_ctx); in _inetCidrRouteTable_check_column() 1645 netsnmp_assert(NULL != rowreq_ctx); in _mfd_inetCidrRouteTable_check_objects() 1690 netsnmp_assert(NULL != rowreq_ctx); in _mfd_inetCidrRouteTable_check_dependencies() 1719 netsnmp_assert(NULL != rowreq_ctx); in _inetCidrRouteTable_undo_setup_column() 1813 netsnmp_assert(NULL != rowreq_ctx); in _mfd_inetCidrRouteTable_undo_setup() 1926 netsnmp_assert(NULL != rowreq_ctx); in _inetCidrRouteTable_set_column() [all …]
|