C# Class Ipop.Managed.ManagedNodeHelper

This class implements various methods needed for the ManagedIpopNode
Afficher le fichier Open project: pstjuste/brunet Class Usage Examples

Méthodes publiques

Méthode Description
GetNetwork ( string networkdevice, MemBlock startip ) : MemBlock

Finds an available IP range on the system

TextTranslate ( MemBlock payload, string old_ss_ip, string old_sd_ip, string new_ss_ip, string new_sd_ip, string packet_id ) : MemBlock

This method replaces IP addresses based on some identifier

Method Details

GetNetwork() public static méthode

Finds an available IP range on the system
public static GetNetwork ( string networkdevice, MemBlock startip ) : MemBlock
networkdevice string Device to be ignored
startip MemBlock Device to be ignored
Résultat MemBlock

TextTranslate() public static méthode

This method replaces IP addresses based on some identifier
public static TextTranslate ( MemBlock payload, string old_ss_ip, string old_sd_ip, string new_ss_ip, string new_sd_ip, string packet_id ) : MemBlock
payload MemBlock Payload to be translated
old_ss_ip string Old source IP address
old_sd_ip string Old destination IP
new_ss_ip string New source IP address
new_sd_ip string New destination IP address
packet_id string A packet identifier
Résultat MemBlock