Creating new Eth packet

Home Forums Discussions Support Creating new Eth packet

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5060
    sulopez13
    Participant

      Hi. I’m receiving data from a socket and would like to insert it in the Ethernet with WinpkFilter. How can I create the new Ethernet packet?
      On the other hand, would it be possible to send this ethernet packet to a certain port inside the same machine with this application? Or shold I need to send it to a different IP address?
      Thank u in advance.

      #6148
      Vadim Smirnov
      Keymaster

        How can I create the new Ethernet packet?

        Allocate buffer to store the packet, initialize Ethernet and IP (ICMP, UDP, TCP headers), copy packet data.

        On the other hand, would it be possible to send this ethernet packet to a certain port inside the same machine with this application?

        Yes, this is possible.

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.