{"name": "ospf_lsa_new", "code": "struct timeval * ospf_lsa_new ( ) { __suseconds_t @@v0@@ ; struct timeval * @@s@@ ; @@s@@ = ( struct timeval * ) zcalloc ( Number L , Number L ) ; memset ( @@s@@ , Number , Number ) ; LOBYTE ( @@s@@ -> tv_sec ) = Number ; LODWORD ( @@s@@ [ Number ] . tv_sec ) = Number ; HIDWORD ( @@s@@ [ Number ] . tv_sec ) = Number ; gettimeofday ( @@s@@ + Number , Number L ) ; @@v0@@ = @@s@@ [ Number ] . tv_usec ; @@s@@ [ Number ] . tv_sec = @@s@@ [ Number ] . tv_sec ; @@s@@ [ Number ] . tv_usec = @@v0@@ ; LODWORD ( @@s@@ [ Number ] . tv_sec ) = Number ; return @@s@@ ; }", "source": [{"n": "v0", "t": {"T": 1, "n": "__suseconds_t", "s": 8}, "location": "r16"}, {"n": "s", "t": {"T": 3, "t": "struct timeval"}, "location": "s8"}]}
{"name": "ospf_router_lsa_new", "code": "struct timeval * __fastcall ospf_router_lsa_new ( _DWORD * @@a1@@ ) { char @@v1@@ ; struct timeval * @@v3@@ ; int @@v4@@ ; _WORD * @@src@@ ; __int64 @@v6@@ ; int * @@v7@@ ; @@v7@@ = * ( int * * ) @@a1@@ ; if ( ( term_debug_ospf_lsa & Number ) != Number ) zlog_info ( String ) ; @@v6@@ = stream_new ( Number L ) ; @@src@@ = * ( _WORD * * ) ( @@v6@@ + Number ) ; if ( @@a1@@ [ Number ] ) @@v1@@ = Number ; else @@v1@@ = Number ; lsa_header_set ( @@v6@@ , @@v1@@ , Number , * @@v7@@ , * @@v7@@ ) ; ospf_router_lsa_body_set ( @@v6@@ , @@a1@@ ) ; @@v4@@ = stream_get_endp ( @@v6@@ ) ; @@src@@ [ Number ] = htons ( @@v4@@ ) ; @@v3@@ = ospf_lsa_new ( ) ; @@v3@@ [ Number ] . tv_usec = ( __suseconds_t ) @@a1@@ ; LOBYTE ( @@v3@@ -> tv_sec ) |= Number ; @@v3@@ -> tv_usec = ( __suseconds_t ) ospf_lsa_data_new ( @@v4@@ ) ; memcpy ( ( void * ) @@v3@@ -> tv_usec , @@src@@ , @@v4@@ ) ; stream_free ( @@v6@@ ) ; return @@v3@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_DWORD"}, "location": "r56"}, {"n": "v1", "t": {"T": 1, "n": "char", "s": 1}, "location": "r64"}, {"n": "v6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "src", "t": {"T": 3, "t": "_WORD"}, "location": "s24"}, {"n": "v4", "t": {"T": 1, "n": "int", "s": 4}, "location": "s28"}, {"n": "v3", "t": {"T": 3, "t": "struct timeval"}, "location": "s40"}, {"n": "v7", "t": {"T": 3, "t": "int"}, "location": "s8"}]} {"name": "ospf_network_lsa_new", "code": "struct timeval * __fastcall ospf_network_lsa_new ( __int64 @@a1@@ ) { char @@v2@@ ; struct timeval * @@v3@@ ; int @@v4@@ ; _WORD * @@src@@ ; __int64 @@v6@@ ; if ( ! * ( _DWORD * ) ( @@a1@@ + Number ) ) return Number L ; if ( ( term_debug_ospf_lsa & Number ) != Number ) zlog_info ( String ) ; @@v6@@ = stream_new ( Number L ) ; @@src@@ = * ( _WORD * * ) ( @@v6@@ + Number ) ; if ( * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ) @@v2@@ = Number ; else @@v2@@ = Number ; lsa_header_set ( @@v6@@ , * ( _BYTE * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) | @@v2@@ , Number , * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) , * * ( _DWORD * * ) @@a1@@ ) ; ospf_network_lsa_body_set ( @@v6@@ , ( _QWORD * ) @@a1@@ ) ; @@v4@@ = stream_get_endp ( @@v6@@ ) ; @@src@@ [ Number ] = htons ( @@v4@@ ) ; @@v3@@ = ospf_lsa_new ( ) ; @@v3@@ [ Number ] . tv_usec = * ( _QWORD * ) ( @@a1@@ + Number ) ; LOBYTE ( @@v3@@ -> tv_sec ) |= Number ; @@v3@@ -> tv_usec = ( __suseconds_t ) ospf_lsa_data_new ( @@v4@@ ) ; memcpy ( ( void * ) @@v3@@ -> tv_usec , @@src@@ , @@v4@@ ) ; stream_free ( @@v6@@ ) ; return @@v3@@ ; }", "source": [{"n": "v2", "t": {"T": 1, "n": "char", "s": 1}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "src", "t": {"T": 3, "t": "_WORD"}, "location": "s16"}, {"n": "v4", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "v3", "t": {"T": 3, "t": "struct timeval"}, "location": "s32"}, {"n": "v6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} {"name": "ospf_summary_lsa_new", "code": "struct timeval * __fastcall ospf_summary_lsa_new ( __suseconds_t @@a1@@ , __int64 @@a2@@ , uint32_t @@a3@@ , int @@a4@@ ) { char v4 ; struct timeval * @@v9@@ ; int @@v10@@ ; _WORD * @@src@@ ; __int64 @@v12@@ ; if ( ( term_debug_ospf_lsa & Number ) != Number ) zlog_info ( String ) ; @@v12@@ = stream_new ( Number L ) ; @@src@@ = * ( _WORD * * ) ( @@v12@@ + Number ) ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) ) v4 = Number ; else v4 = Number ; lsa_header_set ( @@v12@@ , v4 , Number , @@a4@@ , * * ( _DWORD * * ) @@a1@@ ) ; ospf_summary_lsa_body_set ( @@v12@@ , @@a2@@ , @@a3@@ ) ; @@v10@@ = stream_get_endp ( @@v12@@ ) ; @@src@@ [ Number ] = htons ( @@v10@@ ) ; @@v9@@ = ospf_lsa_new ( ) ; @@v9@@ [ Number ] . tv_usec = @@a1@@ ; LOBYTE ( @@v9@@ -> tv_sec ) |= Number ; @@v9@@ -> tv_usec = ( __suseconds_t ) ospf_lsa_data_new ( @@v10@@ ) ; memcpy ( ( void * ) @@v9@@ -> tv_usec , @@src@@ , @@v10@@ ) ; stream_free ( @@v12@@ ) ; return @@v9@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "uint32_t", "s": 4}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "int", "s": 4}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "__suseconds_t", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "src", "t": {"T": 3, "t": "_WORD"}, "location": "s16"}, {"n": "v10", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "v9", "t": {"T": 3, "t": "struct timeval"}, "location": "s32"}, {"n": "v12", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} {"name": "ospf_summary_asbr_lsa_new", "code": "struct timeval * __fastcall ospf_summary_asbr_lsa_new ( __suseconds_t @@a1@@ , __int64 @@a2@@ , uint32_t @@a3@@ , int @@a4@@ ) { char v4 ; struct timeval * @@v9@@ ; int @@v10@@ ; _WORD * @@src@@ ; __int64 @@v12@@ ; if ( ( term_debug_ospf_lsa & Number ) != Number ) zlog_info ( String ) ; @@v12@@ = stream_new ( Number L ) ; @@src@@ = * ( _WORD * * ) ( @@v12@@ + Number ) ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) ) v4 = Number ; else v4 = Number ; lsa_header_set ( @@v12@@ , v4 , Number , @@a4@@ , * * ( _DWORD * * ) @@a1@@ ) ; ospf_summary_asbr_lsa_body_set ( @@v12@@ , @@a2@@ , @@a3@@ ) ; @@v10@@ = stream_get_endp ( @@v12@@ ) ; @@src@@ [ Number ] = htons ( @@v10@@ ) ; @@v9@@ = ospf_lsa_new ( ) ; @@v9@@ [ Number ] . tv_usec = @@a1@@ ; LOBYTE ( @@v9@@ -> tv_sec ) |= Number ; @@v9@@ -> tv_usec = ( __suseconds_t ) ospf_lsa_data_new ( @@v10@@ ) ; memcpy ( ( void * ) @@v9@@ -> tv_usec , @@src@@ , @@v10@@ ) ; stream_free ( @@v12@@ ) ; return @@v9@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "uint32_t", "s": 4}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "int", "s": 4}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "__suseconds_t", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "src", "t": {"T": 3, "t": "_WORD"}, "location": "s16"}, {"n": "v10", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "v9", "t": {"T": 3, "t": "struct timeval"}, "location": "s32"}, {"n": "v12", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} {"name": "ospf_external_lsa_new", "code": "struct timeval * __fastcall ospf_external_lsa_new ( __int64 @@a1@@ , unsigned __int8 * @@a2@@ , int * @@a3@@ ) { int @@v5@@ ; struct timeval * @@v6@@ ; int @@v7@@ ; _WORD * @@src@@ ; __int64 @@v9@@ ; if ( ! @@a2@@ ) { if ( ( term_debug_ospf_lsa & Number ) != Number ) zlog_warn ( String ) ; return Number L ; } if ( ( term_debug_ospf_lsa & Number ) != Number ) zlog_info ( String ) ; if ( @@a3@@ ) { @@v5@@ = * @@a3@@ ; LABEL_13 : @@v9@@ = stream_new ( Number L ) ; @@src@@ = * ( _WORD * * ) ( @@v9@@ + Number ) ; lsa_header_set ( @@v9@@ , Number , Number , @@v5@@ , * ( _DWORD * ) @@a1@@ ) ; ospf_external_lsa_body_set ( @@v9@@ , @@a2@@ , @@a1@@ ) ; @@v7@@ = stream_get_endp ( @@v9@@ ) ; @@src@@ [ Number ] = htons ( @@v7@@ ) ; @@v6@@ = ospf_lsa_new ( ) ; @@v6@@ [ Number ] . tv_usec = Number L ; LOBYTE ( @@v6@@ -> tv_sec ) |= Number ; @@v6@@ -> tv_usec = ( __suseconds_t ) ospf_lsa_data_new ( @@v7@@ ) ; memcpy ( ( void * ) @@v6@@ -> tv_usec , @@src@@ , @@v7@@ ) ; stream_free ( @@v9@@ ) ; return @@v6@@ ; } @@v5@@ = ospf_lsa_unique_id ( @@a1@@ , * ( _QWORD * ) ( @@a1@@ + Number ) , Number L , @@a2@@ + Number ) ; if ( @@v5@@ != Number ) goto LABEL_13 ; if ( ( term_debug_ospf_lsa & Number ) != Number ) zlog_info ( String ) ; return Number L ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "int"}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "unsigned __int8"}, "location": "r64"}, {"n": "src", "t": {"T": 3, "t": "_WORD"}, "location": "s16"}, {"n": "v7", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "v6", "t": {"T": 3, "t": "struct timeval"}, "location": "s32"}, {"n": "v5", "t": {"T": 1, "n": "int", "s": 4}, "location": "s36"}, {"n": "v9", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]}