Symulacja NAT na przedmiot Symulacje Komputerowe
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
600 B

  1. /*
  2. * Packet.cpp
  3. *
  4. * Created on: 10-01-2017
  5. * Author: Piotr Dergun
  6. */
  7. #include "Packet.h"
  8. Packet::Packet()
  9. {
  10. // TODO Auto-generated constructor stub
  11. }
  12. Packet::~Packet()
  13. {
  14. // TODO Auto-generated destructor stub
  15. }
  16. //settery
  17. void Packet::setSrcIp(string ip)
  18. {
  19. }
  20. void Packet::setDstIp(string ip)
  21. {
  22. }
  23. void Packet::setSrcPort(int port)
  24. {
  25. }
  26. void Packet::setDstPort(int port)
  27. {
  28. }
  29. void Packet::setMsg(string msg)
  30. {
  31. }
  32. string Packet::getSrcIp()
  33. {
  34. }
  35. string Packet::getDstIp()
  36. {
  37. }
  38. int Packet::Packet::getSrcPort()
  39. {
  40. }
  41. int Packet::getDstPort()
  42. {
  43. }
  44. string Packet::getMsg()
  45. {
  46. }