public out_state_verdict(Loop_Blacklist_To_Decider black_input, Loop_Con_Outgoing_To_Decider con_input, IBus_Blacklist_out the_data, Loop_In_use_To_Decider uses) { blacklist_input = black_input; connection_list = con_input; dataOut = the_data; in_use = uses; }
uint stage; // To represent the TCP handshake stage. 0 = nothing happened yet. 1 = means syn. 2 = syn-ack. 3 = ack and we are done. //uint syn_flag_counter; // we will acecpt 5 attemps to recieve the same syn packet before we stop accepting them public Connection_process_outgoing(byte[] ip_source_in, byte[] ip_dest_in, uint port, uint ids, IBus_Blacklist_out data_Out) { Port_in = port; Ip_source = ip_source_in; Ip_dest = ip_dest_in; my_id = ids; dataOut = data_Out; }
// ipv4Reader_Constructor public Rule_Process_Blacklist(IBus_Blacklist_out busIn, byte[] ip_dest_low, byte[] ip_dest_high) { blacklist_out = busIn; dest_low = ip_dest_low; dest_high = ip_dest_high; }