{"name": "ospf_lsa_maxage_delete", "code": "__int64 __fastcall ospf_lsa_maxage_delete ( __int64 @@a1@@ , __int64 @@a2@@ ) { __int64 @@result@@ ; @@result@@ = listnode_lookup ( * ( _QWORD * ) ( @@a1@@ + Number ) , @@a2@@ ) ; if ( @@result@@ ) { list_delete_node ( * ( _QWORD * ) ( @@a1@@ + Number ) , @@result@@ ) ; @@result@@ = ospf_lsa_unlock ( @@a2@@ ) ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]}
{"name": "ospf_lsa_unlock", "code": "__int64 __fastcall ospf_lsa_unlock ( __int64 @@a1@@ ) { __int64 @@result@@ ; if ( @@a1@@ ) { if ( ( int ) -- * ( _DWORD * ) ( @@a1@@ + Number ) < Number ) _assert_fail ( String , String , Number , String ) ; @@result@@ = * ( unsigned int * ) ( @@a1@@ + Number ) ; if ( ! ( _DWORD ) @@result@@ ) { if ( ( * ( _BYTE * ) @@a1@@ & Number ) == Number ) _assert_fail ( String , String , Number , String ) ; @@result@@ = ospf_lsa_free ( @@a1@@ ) ; } } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]} {"name": "ospf_discard_from_db", "code": "__int64 __fastcall ospf_discard_from_db ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ ) { __int64 @@result@@ ; __int64 @@v4@@ ; @@result@@ = ospf_lsdb_lookup ( @@a2@@ , @@a3@@ ) ; @@v4@@ = @@result@@ ; if ( @@result@@ ) { if ( * ( int * ) ( @@result@@ + Number ) >= Number ) ospf_refresher_unregister_lsa ( @@a1@@ , @@result@@ ) ; if ( * ( _BYTE * ) ( * ( _QWORD * ) ( @@v4@@ + Number ) + Number L ) == Number ) { ospf_ls_retransmit_delete_nbr_as ( @@a1@@ , @@v4@@ ) ; ospf_ase_unregister_external_lsa ( @@v4@@ , @@a1@@ ) ; } else { ospf_ls_retransmit_delete_nbr_area ( * ( _QWORD * ) ( @@v4@@ + Number ) , @@v4@@ ) ; } ospf_lsa_maxage_delete ( @@a1@@ , @@v4@@ ) ; @@result@@ = ospf_lsa_discard ( ( _BYTE * ) @@v4@@ ) ; } return @@result@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} {"name": "ospf_lsa_maxage", "code": "__int64 __fastcall ospf_lsa_maxage ( __int64 @@a1@@ , _QWORD * @@a2@@ ) { __int64 result ; char * v3 ; __int64 v4 ; char * v5 ; if ( ( unsigned int ) ospf_lsa_maxage_exist ( @@a1@@ , ( __int64 ) @@a2@@ ) ) { result = term_debug_ospf_lsa & Number ; if ( ( term_debug_ospf_lsa & Number ) != Number ) { v3 = inet_ntoa ( * ( struct in_addr * ) ( @@a2@@ [ Number ] + Number L ) ) ; result = zlog_info ( String , * ( unsigned __int8 * ) ( @@a2@@ [ Number ] + Number L ) , v3 , @@a2@@ ) ; } } else { v4 = ospf_lsa_lock ( ( __int64 ) @@a2@@ ) ; listnode_add ( * ( _QWORD * ) ( @@a1@@ + Number ) , v4 ) ; if ( ( term_debug_ospf_lsa & Number ) != Number ) { v5 = dump_lsa_key ( ( __int64 ) @@a2@@ ) ; zlog_info ( String , v5 ) ; } result = * ( _QWORD * ) ( @@a1@@ + Number ) ; if ( ! result ) { result = thread_add_timer ( master , ospf_maxage_lsa_remover , @@a1@@ , Number L ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = result ; } } return result ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "_QWORD"}, "location": "r64"}]}