{"name": "ospf_summary_asbr_lsa_body_set", "code": "__int64 __fastcall ospf_summary_asbr_lsa_body_set ( __int64 @@a1@@ , __int64 @@a2@@ , uint32_t @@a3@@ ) { unsigned int @@v5@@ ; masklen2ip ( * ( unsigned __int8 * ) ( @@a2@@ + Number ) , & @@v5@@ ) ; stream_put_ipv4 ( @@a1@@ , @@v5@@ ) ; stream_putc ( @@a1@@ , Number L ) ; return stream_put_ospf_metric ( @@a1@@ , @@a3@@ ) ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "uint32_t", "s": 4}, "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": "v5", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}]}
{"name": "stream_put_ospf_metric", "code": "__int64 __fastcall stream_put_ospf_metric ( __int64 @@a1@@ , uint32_t @@a2@@ ) { uint32_t @@v3@@ ; __int64 @@v4@@ ; @@v3@@ = htonl ( @@a2@@ ) ; @@v4@@ = ( __int64 ) & @@v3@@ + Number ; return stream_put ( @@a1@@ , ( char * ) & @@v3@@ + Number , Number L ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "uint32_t", "s": 4}, "location": "r64"}, {"n": "v3", "t": {"T": 1, "n": "uint32_t", "s": 4}, "location": "s12"}, {"n": "v4", "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"}]}