Skip to content

Instantly share code, notes, and snippets.

View bumble-bee-chuna's full-sized avatar
🐢
Doing data stuff

Bee bumble-bee-chuna

🐢
Doing data stuff
View GitHub Profile
@bumble-bee-chuna
bumble-bee-chuna / sendRawEth.c
Created February 6, 2016 02:38 — forked from austinmarton/sendRawEth.c
Send a raw Ethernet frame in Linux
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*/
#include <arpa/inet.h>
#include <linux/if_packet.h>
#include <stdio.h>