Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Smile Sending Raw ethernet Packet without using socket api


    I want to send a raw ethernet packet with out using socket api.
    I know that we can do it by directly writing our buffer(header and data) to the eth0 device using write() api. I am not sure about the contents of buffer that i should write to eth0 device.

    Where can i get the relevant info?
    Could somebody help me out.

    Thanks in advance.

  2. #2
    Linux Engineer GNU-Fan's Avatar
    Join Date
    Mar 2008
    RFC's are where any standard network protocol is stipulated.
    RFC-Editor Webpage

    There you can search for things like IP, TCP, UDP, ...
    Debian GNU/Linux -- You know you want it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts