#include <Transformer.h>
Public Member Functions | |
Transformer (void) | |
~Transformer (void) | |
Packet * | getTransformedPacket (Packet &inpacket) |
void | setSha1Key (const char *buf, int len) |
void | config (bool _bytewiseip, bool _bytewisemac, bool _ipcidr) |
Private Member Functions | |
void | transformPacket (EthernetPacket &inpkt, EthernetPacket &ret) |
void | transformPacket (ArpPacket &inpkt, ArpPacket &ret) |
void | transformPacket (IpPacket &inpkt, IpPacket &ret) |
void | transformPacket (IcmpPacket &inpkt, IcmpPacket &ret) |
void | transformPacket (TcpPacket &inpkt, TcpPacket &ret) |
void | transformPacket (UdpPacket &inpkt, UdpPacket &ret) |
void | transformPacket (PayloadPacket &inpkt, PayloadPacket &ret) |
void | transformPacket (Ipv6Packet &inpkt, Ipv6Packet &ret) |
Transformer::Transformer | ( | void | ) |
Transformer::~Transformer | ( | void | ) |
void Transformer::setSha1Key | ( | const char * | buf, | |
int | len | |||
) |
void Transformer::config | ( | bool | _bytewiseip, | |
bool | _bytewisemac, | |||
bool | _ipcidr | |||
) |
void Transformer::transformPacket | ( | EthernetPacket & | inpkt, | |
EthernetPacket & | ret | |||
) | [private] |
void Transformer::transformPacket | ( | IcmpPacket & | inpkt, | |
IcmpPacket & | ret | |||
) | [private] |
void Transformer::transformPacket | ( | PayloadPacket & | inpkt, | |
PayloadPacket & | ret | |||
) | [private] |
void Transformer::transformPacket | ( | Ipv6Packet & | inpkt, | |
Ipv6Packet & | ret | |||
) | [private] |