{"name": "ospf_network_lsa_refresh_timer", "code": "__int64 __fastcall ospf_network_lsa_refresh_timer ( __int64 @@a1@@ ) { _QWORD * @@v2@@ ; @@v2@@ = * ( _QWORD * * ) ( @@a1@@ + Number ) ; @@v2@@ [ Number ] = Number L ; if ( @@v2@@ [ Number ] ) ospf_network_lsa_refresh ( @@v2@@ [ Number ] , ( __int64 ) @@v2@@ ) ; else ospf_network_lsa_originate ( @@v2@@ ) ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v2", "t": {"T": 3, "t": "_QWORD"}, "location": "s8"}]}
{"name": "ospf_network_lsa_originate", "code": "_QWORD * __fastcall ospf_network_lsa_originate ( _QWORD * @@a1@@ ) { char * @@v2@@ ; struct timeval * v3 ; _QWORD * v4 ; v3 = ospf_network_lsa_new ( ( __int64 ) @@a1@@ ) ; if ( ! v3 ) return Number L ; v4 = ( _QWORD * ) ospf_lsa_install ( * @@a1@@ , @@a1@@ , v3 ) ; ++ * ( _DWORD * ) ( * @@a1@@ + Number L ) ; ospf_flood_through_area ( @@a1@@ [ Number ] , Number L , v4 ) ; if ( ( term_debug_ospf_lsa & Number ) != Number ) { @@v2@@ = inet_ntoa ( * ( struct in_addr * ) ( v4 [ Number ] + Number L ) ) ; zlog_info ( String , * ( unsigned __int8 * ) ( v4 [ Number ] + Number L ) , @@v2@@ , v4 ) ; ospf_lsa_header_dump ( v4 [ Number ] ) ; } return v4 ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "v2", "t": {"T": 3, "t": "char"}, "location": "r8"}]} {"name": "ospf_network_lsa_refresh", "code": "__int64 __fastcall ospf_network_lsa_refresh ( __int64 @@a1@@ , __int64 @@a2@@ ) { char * @@v3@@ ; struct timeval * @@v4@@ ; _QWORD * @@v5@@ ; @@v5@@ = * ( _QWORD * * ) ( @@a1@@ + Number ) ; if ( ! * ( _QWORD * ) ( @@a1@@ + Number ) ) _assert_fail ( String , String , Number , String ) ; ospf_ls_retransmit_delete_nbr_area ( @@v5@@ , @@a1@@ ) ; @@v4@@ = ospf_network_lsa_new ( @@a2@@ ) ; if ( ! @@v4@@ ) return Number ; * ( _DWORD * ) ( @@v4@@ -> tv_usec + Number ) = lsa_seqnum_increment ( @@a1@@ ) ; ospf_lsa_install ( * @@v5@@ , @@a2@@ , @@v4@@ ) ; ospf_flood_through_area ( @@v5@@ , Number L , @@v4@@ ) ; if ( ( term_debug_ospf_lsa & Number ) != Number ) { @@v3@@ = inet_ntoa ( * ( struct in_addr * ) ( @@v4@@ -> tv_usec + Number ) ) ; zlog_info ( String , * ( unsigned __int8 * ) ( @@v4@@ -> tv_usec + Number ) , @@v3@@ ) ; ospf_lsa_header_dump ( @@v4@@ -> tv_usec ) ; } return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v3", "t": {"T": 3, "t": "char"}, "location": "r8"}, {"n": "v4", "t": {"T": 3, "t": "struct timeval"}, "location": "s16"}, {"n": "v5", "t": {"T": 3, "t": "_QWORD"}, "location": "s8"}]} {"name": "ospf_network_lsa_timer_add", "code": "__int64 __fastcall ospf_network_lsa_timer_add ( __int64 @@a1@@ ) { __int64 @@result@@ ; int @@v2@@ ; _QWORD * @@v3@@ ; @@v3@@ = * ( _QWORD * * ) ( @@a1@@ + Number ) ; if ( * ( _QWORD * ) ( @@a1@@ + Number ) && ( term_debug_ospf_lsa & Number ) != Number ) zlog_info ( String ) ; if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) { thread_cancel ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; } if ( @@v3@@ && ( @@v2@@ = ospf_lsa_refresh_delay ( @@v3@@ ) , @@v2@@ > Number ) ) { @@result@@ = thread_add_timer ( master , ospf_network_lsa_refresh_timer , @@a1@@ , @@v2@@ ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = @@result@@ ; } else { if ( ( term_debug_ospf_lsa & Number ) != Number ) zlog_info ( String ) ; @@result@@ = thread_add_event ( master , ospf_network_lsa_refresh_timer , @@a1@@ , Number L ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = @@result@@ ; } 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"}, {"n": "v2", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "v3", "t": {"T": 3, "t": "_QWORD"}, "location": "s8"}]} {"name": "ospf_network_lsa_install", "code": "_BYTE * __fastcall ospf_network_lsa_install ( __int64 @@a1@@ , __int64 @@a2@@ , _BYTE * @@a3@@ , int @@a4@@ ) { if ( @@a4@@ ) ospf_spf_calculate_schedule ( @@a1@@ ) ; if ( ( * @@a3@@ & Number ) != Number && ( * @@a3@@ & Number ) == Number ) { if ( * ( _QWORD * ) ( @@a2@@ + Number ) ) { thread_cancel ( * ( _QWORD * ) ( @@a2@@ + Number ) ) ; * ( _QWORD * ) ( @@a2@@ + Number ) = Number L ; } if ( ! * ( _QWORD * ) ( @@a2@@ + Number ) ) * ( _QWORD * ) ( @@a2@@ + Number ) = thread_add_timer ( master , ospf_network_lsa_refresh_timer , @@a2@@ , Number L ) ; ospf_lsa_unlock ( * ( _QWORD * ) ( @@a2@@ + Number ) ) ; * ( _QWORD * ) ( @@a2@@ + Number ) = ospf_lsa_lock ( ( __int64 ) @@a3@@ ) ; } return @@a3@@ ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "_BYTE"}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "int", "s": 4}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}]}