Skip to content

Instantly share code, notes, and snippets.

View gl's full-sized avatar

Guillaume Leclanche gl

  • Bordeaux, France
View GitHub Profile

Keybase proof

I hereby claim:

  • I am gl on github.
  • I am gleclanche (https://keybase.io/gleclanche) on keybase.
  • I have a public key ASDeNfoRy4qbNpAUiOsRzb8P6h-bF-r-ImPlk9LA3DX1xwo

To claim this, I am signing this object:

@gl
gl / gre0_create.c
Created June 24, 2010 09:06
creates a gre0 interface on Linux
// This program creates a gre0 interface on Linux
// Well it's supposed to at least, unfortunately it doesn't work and I've not found why
// Note that ip-gre kernel module needs to be loaded and the program has to be run as root
// Inspired from iproute2 code !
#include <stdio.h>
#include <string.h>
#include <unistd.h>