From f12499717c358d6f55208276c87c67389dd3a8ef Mon Sep 17 00:00:00 2001
From: Martine Lenders <mail@martine-lenders.eu>
Date: Mon, 17 Aug 2015 16:43:01 +0200
Subject: [PATCH] examples: rename ng_networking to gnrc_networking

---
 examples/{ng_networking => gnrc_networking}/Makefile  | 2 +-
 examples/{ng_networking => gnrc_networking}/README.md | 9 ++++-----
 examples/{ng_networking => gnrc_networking}/main.c    | 0
 examples/{ng_networking => gnrc_networking}/udp.c     | 0
 4 files changed, 5 insertions(+), 6 deletions(-)
 rename examples/{ng_networking => gnrc_networking}/Makefile (98%)
 rename examples/{ng_networking => gnrc_networking}/README.md (93%)
 rename examples/{ng_networking => gnrc_networking}/main.c (100%)
 rename examples/{ng_networking => gnrc_networking}/udp.c (100%)

diff --git a/examples/ng_networking/Makefile b/examples/gnrc_networking/Makefile
similarity index 98%
rename from examples/ng_networking/Makefile
rename to examples/gnrc_networking/Makefile
index 4aa5086949..2fe200cd7c 100644
--- a/examples/ng_networking/Makefile
+++ b/examples/gnrc_networking/Makefile
@@ -1,5 +1,5 @@
 # name of your application
-APPLICATION = ng_networking
+APPLICATION = gnrc_networking
 
 # If no BOARD is found in the environment, use this default:
 BOARD ?= native
diff --git a/examples/ng_networking/README.md b/examples/gnrc_networking/README.md
similarity index 93%
rename from examples/ng_networking/README.md
rename to examples/gnrc_networking/README.md
index 155de787e9..e2820e0990 100644
--- a/examples/ng_networking/README.md
+++ b/examples/gnrc_networking/README.md
@@ -1,4 +1,4 @@
-# ng_networking example
+# gnrc_networking example
 
 ## Connecting RIOT native and the Linux host
 
@@ -6,7 +6,7 @@
 you will need `netcat` (with IPv6 support). Ubuntu 14.04 comes with netcat IPv6 support pre-installed. On Debian it's available in the
 package `netcat-openbsd`. Be aware that many programs require you to add an option such as -6 to tell them to use IPv6, otherwise they
 will fail. If you're using a _Raspberry Pi_, run `sudo modprobe ipv6` before trying this example, because raspbian does not load the
-IPv6 module automatically.  
+IPv6 module automatically.
 On some systems (openSUSE for example), the _firewall_ may interfere, and prevent some packets to arrive at the application (they will
 however show up in Wireshark, which can be confusing). So be sure to adjust your firewall rules, or turn it off (who needs security anyway).
 
@@ -15,8 +15,8 @@ First, create a tap interface (to which RIOT will connect) and a bridge (to whic
     sudo ip tuntap add tap0 mode tap user ${USER}
     sudo ip link set tap0 up
 
-Now you can start the `ng_networking` example by invoking `make term`. This should automatically connect to the `tap0` interface. If
-this doesn't work for some reason, run `make` without any arguments, and then run the binary manually like so (assuming you are in the `examples/ng_networking` directory):
+Now you can start the `gnrc_networking` example by invoking `make term`. This should automatically connect to the `tap0` interface. If
+this doesn't work for some reason, run `make` without any arguments, and then run the binary manually like so (assuming you are in the `examples/gnrc_networking` directory):
 
 To verify that there is connectivity between RIOT and Linux, go to the RIOT console and run `ifconfig`:
 
@@ -63,4 +63,3 @@ Now, on the RIOT side, send a UDP packet using:
     udp send fe80::4049:5fff:fe17:b3ae 8808 testmessage
 
 You should see `testmessage` appear in netcat. Instead of using netcat, you can of course write your own software, but you may have to bind the socket to a specific interface (tap0 in this case). For an example that shows how to do so, see [here](https://gist.github.com/backenklee/dad5e80b764b3b3d0d3e).
-
diff --git a/examples/ng_networking/main.c b/examples/gnrc_networking/main.c
similarity index 100%
rename from examples/ng_networking/main.c
rename to examples/gnrc_networking/main.c
diff --git a/examples/ng_networking/udp.c b/examples/gnrc_networking/udp.c
similarity index 100%
rename from examples/ng_networking/udp.c
rename to examples/gnrc_networking/udp.c
-- 
GitLab