{"name": "ospf_external_lsa_refresh_default", "code": "struct timeval * __fastcall ospf_external_lsa_refresh_default ( __int64 @@a1@@ ) { struct timeval * @@result@@ ; char @@v2@@ [ Number ] ; int @@v3@@ ; struct timeval * @@v4@@ ; __int64 @@v5@@ ; @@v2@@ [ Number ] = Number ; @@v2@@ [ Number ] = Number ; @@v3@@ = Number ; @@v5@@ = ospf_default_external_info ( @@a1@@ ) ; @@result@@ = ( struct timeval * ) ospf_external_info_find_lsa ( @@a1@@ , @@v2@@ ) ; @@v4@@ = @@result@@ ; if ( @@v5@@ ) { if ( @@v4@@ ) { if ( ( term_debug_ospf_event & Number ) != Number ) zlog_info ( String , @@v4@@ ) ; @@result@@ = ( struct timeval * ) ospf_external_lsa_refresh ( @@a1@@ , @@v4@@ , @@v5@@ , Number L ) ; } else { if ( ( term_debug_ospf_event & Number ) != Number ) zlog_info ( String ) ; @@result@@ = ospf_external_lsa_originate ( @@a1@@ , @@v5@@ ) ; } } else if ( @@v4@@ ) { if ( ( term_debug_ospf_event & Number ) != Number ) zlog_info ( String ) ; @@result@@ = ( struct timeval * ) ospf_lsa_flush_as ( @@a1@@ , @@v4@@ ) ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 3, "t": "struct timeval"}, "location": "r8"}, {"n": "v4", "t": {"T": 3, "t": "struct timeval"}, "location": "s16"}, {"n": "v3", "t": {"T": 1, "n": "int", "s": 4}, "location": "s24"}, {"n": "v2", "t": {"T": 2, "n": 8, "s": 1, "t": "char"}, "location": "s32"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]}
{"name": "ospf_external_lsa_originate", "code": "struct timeval * __fastcall ospf_external_lsa_originate ( __int64 @@a1@@ , __int64 @@a2@@ ) { struct timeval * result ; char * v3 ; char * v4 ; struct timeval * @@v5@@ ; if ( ! ( unsigned int ) ospf_redistribute_check ( @@a1@@ , @@a2@@ , Number L ) ) return Number L ; @@v5@@ = ospf_external_lsa_new ( @@a1@@ , ( unsigned __int8 * ) @@a2@@ , Number L ) ; if ( @@v5@@ ) { ospf_lsa_install ( @@a1@@ , Number L , @@v5@@ ) ; ++ * ( _DWORD * ) ( @@a1@@ + Number ) ; ospf_flood_through_as ( @@a1@@ , Number L , @@v5@@ ) ; if ( ( term_debug_ospf_lsa & Number ) != Number ) { v4 = inet_ntoa ( * ( struct in_addr * ) ( @@v5@@ -> tv_usec + Number ) ) ; zlog_info ( String , * ( unsigned __int8 * ) ( @@v5@@ -> tv_usec + Number ) , v4 , @@v5@@ ) ; ospf_lsa_header_dump ( @@v5@@ -> tv_usec ) ; } result = @@v5@@ ; } else { if ( ( term_debug_ospf_event & Number ) != Number ) { v3 = inet_ntoa ( * ( struct in_addr * ) ( @@a2@@ + Number ) ) ; zlog_info ( String , v3 ) ; } result = Number L ; } 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": "v5", "t": {"T": 3, "t": "struct timeval"}, "location": "s8"}]} {"name": "ospf_default_external_info", "code": "__int64 __fastcall ospf_default_external_info ( __int64 @@a1@@ ) { char @@v2@@ [ Number ] ; int @@v3@@ ; __int64 @@v4@@ ; int @@i@@ ; @@v2@@ [ Number ] = Number ; @@v3@@ = Number ; @@v2@@ [ Number ] = Number ; for ( @@i@@ = Number ; @@i@@ <= Number ; ++ @@i@@ ) { if ( * ( _QWORD * ) ( om + Number * ( @@i@@ + Number L ) + Number ) ) { if ( @@i@@ != Number ) { @@v4@@ = route_node_lookup ( * ( _QWORD * ) ( om + Number * ( @@i@@ + Number L ) + Number ) , @@v2@@ ) ; if ( @@v4@@ ) { route_unlock_node ( @@v4@@ ) ; if ( ! * ( _QWORD * ) ( @@v4@@ + Number ) ) _assert_fail ( String , String , Number , String ) ; if ( ( unsigned int ) ospf_redistribute_check ( @@a1@@ , * ( _QWORD * ) ( @@v4@@ + Number ) , Number L ) ) return * ( _QWORD * ) ( @@v4@@ + Number ) ; } } } } return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v3", "t": {"T": 1, "n": "int", "s": 4}, "location": "s24"}, {"n": "v2", "t": {"T": 2, "n": 8, "s": 1, "t": "char"}, "location": "s32"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}]} {"name": "ospf_external_lsa_refresh", "code": "__int64 __fastcall ospf_external_lsa_refresh ( __int64 @@a1@@ , __int64 @@a2@@ , unsigned __int8 * @@a3@@ , int @@a4@@ ) { __int64 result ; char * v5 ; uint32_t v6 ; char * v7 ; unsigned int @@v10@@ ; struct timeval * @@v11@@ ; if ( ! ( unsigned int ) ospf_redistribute_check ( @@a1@@ , @@a3@@ , & @@v10@@ ) ) return ospf_external_lsa_flush ( @@a1@@ , * @@a3@@ , ( __int64 ) ( @@a3@@ + Number ) ) ; result = @@v10@@ ; if ( @@v10@@ || @@a4@@ ) { ospf_ls_retransmit_delete_nbr_as ( @@a1@@ , @@a2@@ ) ; ospf_refresher_unregister_lsa ( @@a1@@ , @@a2@@ ) ; @@v11@@ = ospf_external_lsa_new ( @@a1@@ , @@a3@@ , ( int * ) ( * ( _QWORD * ) ( @@a2@@ + Number ) + Number L ) ) ; if ( @@v11@@ ) { v6 = lsa_seqnum_increment ( @@a2@@ ) ; * ( _DWORD * ) ( @@v11@@ -> tv_usec + Number ) = v6 ; gettimeofday ( @@v11@@ + Number , Number L ) ; ospf_lsa_checksum ( @@v11@@ -> tv_usec ) ; ospf_lsa_install ( @@a1@@ , Number L , @@v11@@ ) ; ospf_flood_through_as ( @@a1@@ , Number L , @@v11@@ ) ; ospf_refresher_register_lsa ( @@a1@@ , @@v11@@ ) ; result = term_debug_ospf_lsa & Number ; if ( ( term_debug_ospf_lsa & Number ) != Number ) { v7 = inet_ntoa ( * ( struct in_addr * ) ( @@v11@@ -> tv_usec + Number ) ) ; zlog_info ( String , * ( unsigned __int8 * ) ( @@v11@@ -> tv_usec + Number ) , v7 ) ; result = ospf_lsa_header_dump ( @@v11@@ -> tv_usec ) ; } } else { result = term_debug_ospf_lsa & Number ; if ( ( term_debug_ospf_lsa & Number ) != Number ) { v5 = inet_ntoa ( * ( struct in_addr * ) ( * ( _QWORD * ) ( @@a2@@ + Number ) + Number L ) ) ; result = zlog_warn ( String , * ( unsigned __int8 * ) ( * ( _QWORD * ) ( @@a2@@ + Number ) + Number L ) , v5 ) ; } } } return result ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "unsigned __int8"}, "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"}, {"n": "v10", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v11", "t": {"T": 3, "t": "struct timeval"}, "location": "s8"}]}