Re: linux api's to generate ethernet packets



Am Mon, 28 Apr 2008 05:04:58 -0700 schrieb sudip05@xxxxxxxxxxxx:

Hi Everybody,
are there system calls to generate ethernet
packets in linux? I need to generate the ethernet packets and put
another layer on top of it before sending it via ethernet....is that
feasable? And what are the api's to send the packet through ethernet?

Thanks and Regards,
zix

the kernel packetgenerator?
.



Relevant Pages

  • Re: Help! "Martian" (packet) invasion via FiOS cablemodem
    ... the bytes 08 00 were not incorrect: the Ethernet header ... also to analyse packets captured with the tcpdump -w option. ... from Verizon or the Internet). ... My LAN is 192.x.y.z and the packet is from 169.a.b.c, so passing the broadcast along doesn't _sound_ right. ...
    (comp.os.linux.networking)
  • Re: App to send abnormal Ethernet/IP packets
    ... > malformed Ethernet packets and this was causing a production router to lock ... Is there any such software that can run either on Linux or on ... > customized Ethernet and IP packets? ...
    (Security-Basics)
  • [patch] gsoc project: improving layer2 filtering
    ... This summer I was working on improving layer2 filtering (my mentor is ... +Table entry can contain optional ethernet address. ... further packets matching the rule that would ... +When enabled a special tag containing MAC header is appended to incoming ...
    (freebsd-net)
  • Re: How to block specific IPs?
    ... >packets to reach IP layer instead reject them by NIC or any program ... >after processing Ethernet layer? ... >with only specific HW address of NICs? ...
    (comp.os.linux.networking)
  • Re: Multiple NICs - custom protocol development
    ... I am building a custom MAC protocol for a wireless system that has different ... I want to use Ethernet as a physical layer. ... So,I want to use one card running server code and one card running client ... I want to be able to send packets from one NIC to the other and maintain ...
    (freebsd-questions)