@@ -11,34 +11,43 @@ to write a module that collects minimal statistics on the transport layer.
1111## Instructions
1212
13131 . Get familiar with networking by using RIOTs default networking
14- example ` gnrc_networking ` [ 1 ] and exchange UDP packets between two instances
15- (either boards or RIOT native [ 2 ] ) following these steps:
16- * Go to the [ ` gnrc_networking ` application] ( https://github.com/RIOT-OS/RIOT/tree/master/examples/gnrc_networking )
17- and have a look in ` udp.c ` how packets are constructed, send and received
14+ example ` gnrc_networking ` \[ 1 \ ] and exchange UDP packets between two instances
15+ (either boards or RIOT native \[ 2 \ ] ) following these steps:
16+ * Go to the ` gnrc_networking ` application \[ 3 \] and have a look in ` udp.c ` how
17+ packets are constructed, send and received
1818* Compile, flash, and run on your board ` BOARD=samr21-xpro make all flash term `
1919 or native ` make clean all term PORT=tap0 ` resp. ` tap1 `
2020* Type ` help `
2121* Start UDP server on port 8888 using ` udp server 8888 `
2222* Get your IPv6 address using ` ifconfig `
2323* Send your neighbor some messages using ` udp send `
24- * [ Read the Doc] ( http://doc.riot-os.org/group__net__gnrc.html )
24+ * Read the Doc \[ 4 \]
2525
26262 . Now that you've used the whole UDP/IPv6 network stack, have a look inside the
27- implementation of UDP [ 3 ] . The goal is to write a software component which collects and prints
27+ implementation of UDP \[ 5 \ ] . The goal is to write a software component which collects and prints
2828 simple statistics about the amount of UDP packets and data that has been sent and received.
2929
30303 . There is an existing ` netstats ` module in RIOT which is used in ` gnrc_networking ` by default
31- and should be extended. Have a look the the header [ 4 ] and implementation for e.g. IPv6 [ 5 ]
32- and see how statistics are collected and when they are printed to the console [ 6 ] . Note that
31+ and should be extended. Have a look the the header \[ 6 \ ] and implementation for e.g. IPv6 \[ 7 \ ]
32+ and see how statistics are collected and when they are printed to the console \[ 8 \ ] . Note that
3333 this tasks requires a certain amount of personal contribution.
3434
3535Document _ all_ your actions and findings. Create an archive with your solution.
3636
3737## References
3838
39- [ 1 ] : https://github.com/RIOT-OS/RIOT/tree/master/examples/gnrc_networking
40- [ 2 ] : https://github.com/RIOT-OS/RIOT/wiki/Family%3A-native
41- [ 3 ] : https://github.com/RIOT-OS/RIOT/blob/master/sys/net/gnrc/transport_layer/udp/gnrc_udp.c
42- [ 4 ] : https://github.com/RIOT-OS/RIOT/blob/master/sys/include/net/netstats.h
43- [ 5 ] : https://github.com/RIOT-OS/RIOT/blob/master/sys/net/gnrc/network_layer/ipv6/gnrc_ipv6.c
44- [ 6 ] : https://github.com/RIOT-OS/RIOT/blob/master/sys/shell/commands/sc_netif.c
39+ \[ 1\] [ https://github.com/RIOT-OS/RIOT/tree/master/examples/gnrc_networking ] ( https://github.com/RIOT-OS/RIOT/tree/master/examples/gnrc_networking )
40+
41+ \[ 2\] [ https://github.com/RIOT-OS/RIOT/wiki/Family%3A-native ] ( https://github.com/RIOT-OS/RIOT/wiki/Family%3A-native )
42+
43+ \[ 3\] [ https://github.com/RIOT-OS/RIOT/tree/master/examples/gnrc_networking ] ( https://github.com/RIOT-OS/RIOT/tree/master/examples/gnrc_networking )
44+
45+ \[ 4\] [ http://doc.riot-os.org/group__net__gnrc.html ] ( http://doc.riot-os.org/group__net__gnrc.html )
46+
47+ \[ 5\] [ https://github.com/RIOT-OS/RIOT/blob/master/sys/net/gnrc/transport_layer/udp/gnrc_udp.c ] ( https://github.com/RIOT-OS/RIOT/blob/master/sys/net/gnrc/transport_layer/udp/gnrc_udp.c )
48+
49+ \[ 6\] [ https://github.com/RIOT-OS/RIOT/blob/master/sys/include/net/netstats.h ] ( https://github.com/RIOT-OS/RIOT/blob/master/sys/include/net/netstats.h )
50+
51+ \[ 7\] [ https://github.com/RIOT-OS/RIOT/blob/master/sys/net/gnrc/network_layer/ipv6/gnrc_ipv6.c ] ( https://github.com/RIOT-OS/RIOT/blob/master/sys/net/gnrc/network_layer/ipv6/gnrc_ipv6.c )
52+
53+ \[ 8\] [ https://github.com/RIOT-OS/RIOT/blob/master/sys/shell/commands/sc_netif.c ] ( https://github.com/RIOT-OS/RIOT/blob/master/sys/shell/commands/sc_netif.c )
0 commit comments