Oleg Hahm
a1158092a4
sixlowpan nd: move set_rtr_adv function to router
2015-09-17 02:08:52 +02:00
Martine Lenders
e76f1cf27f
Merge pull request #3840 from OlegHahm/sixlowpan_nd_stale_null_pointer
...
6lowpan nd: fix null pointer handling in staling
2015-09-17 01:38:21 +02:00
Martine Lenders
a19a04c753
Merge pull request #3853 from OlegHahm/6lowpan_nd_router_fixes
...
6lowpan nd router fixes
2015-09-17 01:37:39 +02:00
Martine Lenders
b1e98e3337
gnrc_sixlowpan_nd: fix reschedule of neighbor solicitations
2015-09-17 01:28:11 +02:00
Oleg Hahm
b28dd897f2
6lowpan nd: set router lifetime to a default value
2015-09-17 01:23:37 +02:00
Oleg Hahm
af0ed51559
Merge pull request #3839 from OlegHahm/6lr_fixes
...
6lowpan nd: router fixes
2015-09-17 00:43:40 +02:00
Oleg Hahm
46fcb4632c
6lowpan nd: fix null pointer handling in staling
2015-09-17 00:19:04 +02:00
Oleg Hahm
9deb315b6d
sixlowpan nd: remove superfluous check in stale
2015-09-17 00:12:08 +02:00
Oleg Hahm
b15660033a
sixlowpan nd: send actually router advertisements
2015-09-16 23:59:43 +02:00
Oleg Hahm
dbb754e131
6lbr: check registered flag only for 6LoWPAN ifs
2015-09-16 23:58:55 +02:00
Oleg Hahm
bf22190434
6lowpan nd: set rtr adv flag on rtr adv reception
...
A 6LoWPAN router should turn into a 6LoWPAN router as soon as it has
been configured by receiving an advertisement itself.
2015-09-16 23:53:47 +02:00
Oleg Hahm
596ef55641
6lowpan nd: join all routers multicast group
...
A 6LR should join the all routers multicast group as soon as it turns
into a router which is indicated by setting the router advertisement
flag.
2015-09-16 23:53:08 +02:00
Cenk Gündoğan
92cbc1f254
ndp: pio - check if prefix has been processed before
2015-09-16 22:58:45 +02:00
Oleg Hahm
d2541c84cc
Merge pull request #3852 from cgundogan/pr/pktbuf/debug
...
gnrc_pktbuf_static: fix DEBUG
2015-09-16 16:42:24 +02:00
Cenk Gündoğan
55c938636b
gnrc_pktbuf_static: fix DEBUG
2015-09-16 14:35:02 +02:00
5a485c3f73
sys: net: fib: switch to xtimer
2015-09-16 10:58:56 +02:00
Cenk Gündoğan
3609dce47d
sc_gnrc_rpl: adjust rpl shell for xtimer usage
2015-09-16 10:58:56 +02:00
Cenk Gündoğan
50392b6256
rpl: switch to xtimer
2015-09-16 10:58:56 +02:00
Cenk Gündoğan
12bcc46f15
gnrc_sixlowpan_iphc: move assert to a valid position
2015-09-16 09:54:08 +02:00
Oleg Hahm
f8f74468b3
Merge pull request #3822 from authmillenon/ipv6_addr/enh/opt-ipv4-sup
...
ipv6_addr: make IPv4 compatible addresses optional
2015-09-15 10:47:36 +02:00
Martine Lenders
345a5795e5
Merge pull request #3825 from OlegHahm/gnrc_scan_build_fixes
...
gnrc: scan build fixes
2015-09-12 16:41:37 +02:00
Martine Lenders
609867000e
Merge pull request #3831 from cgundogan/pr/ndp/pio_prefix_len
...
ndp: assertify pio prefix len check and include 0 and 128
2015-09-12 16:06:41 +02:00
Martine Lenders
e7bbbf080b
Merge pull request #3813 from OlegHahm/sixlowpan_nd_router_deps
...
gnrc: 6lowpan-nd: some broken router dependencies
2015-09-12 15:58:11 +02:00
Cenk Gündoğan
14d899bf83
ndp: assertify pio prefix len check and include 0 and 128
2015-09-12 13:11:01 +02:00
Oleg Hahm
a182977161
gnrc ipv6: 6lowpan router needs sol. node address
2015-09-12 12:56:28 +02:00
Oleg Hahm
dc225e2861
6lowpan nd: check for link-local first
2015-09-11 22:56:23 +02:00
Oleg Hahm
04022be770
gnrc: netdev2: eth: check for empty multicast
2015-09-11 21:44:25 +02:00
Martine Lenders
85c1c17090
ipv6_addr: make IPv4 compatible addresses optional
2015-09-11 20:03:46 +02:00
Martine Lenders
93a92dfa03
Merge pull request #3134 from authmillenon/ng_sixlowpan/feat/6lo-nd
...
gnrc_sixlowpan_nd_border_router: initial import of border router behavior of 6LoWPAN-ND
2015-09-11 19:58:36 +02:00
Martine Lenders
05a3e056f2
Merge pull request #3821 from authmillenon/gnrc_ndp/fix/add-pio
...
gnrc_ndp: add PIO to router advertisements
2015-09-11 19:58:01 +02:00
Martine Lenders
b9fcd2bfea
Merge pull request #3608 from authmillenon/ipv4_addr/api/initial
...
ipv4_addr: initial import
2015-09-11 18:41:23 +02:00
Martine Lenders
4da5c8095c
gnrc: adapt for gnrc_sixlowpan_nd_border_router
2015-09-11 16:45:43 +02:00
Martine Lenders
e6c96cde53
gnrc_sixlowpan_nd_border_router: initial import
2015-09-11 16:45:38 +02:00
Martine Lenders
db56507ff9
ipv4_addr: initial import
2015-09-11 16:32:36 +02:00
Martine Lenders
e51786910d
gnrc_ndp: add PIO to router advertisements
...
The PIOs for the configured prefixes were generated, but never added to
the packet, causing some problems in the packet buffer.
Fixes #3815 (possibly)
2015-09-11 15:54:57 +02:00
Cenk Gündoğan
540022d224
Merge pull request #3814 from cgundogan/pr/rpl/prefix_memset
...
rpl: use memset before using prefix
2015-09-11 14:51:37 +02:00
Oleg Hahm
5e69ec4a28
Merge pull request #3330 from authmillenon/ng_sixlowpan/doc/behavior
...
gnrc_sixlowpan: document behavior for blackbox testing
2015-09-11 14:39:40 +02:00
Martine Lenders
2364621eb2
gnrc_ndp: fix setting of addresses by PIO
2015-09-11 11:51:08 +02:00
Martine Lenders
a6625e86d3
gnrc_sixlowpan: document behavior for blackbox testing
2015-09-11 11:28:33 +02:00
Cenk Gündoğan
d18834a941
rpl: use memset before using prefix
2015-09-10 20:43:09 +02:00
Martine Lenders
2bb3376e5e
Merge pull request #3811 from DipSwitch/ndp_option_parse
...
ndp: fix bug in option parsing of RTR_ADV and add debug support
2015-09-10 15:26:30 +02:00
Martine Lenders
94979362cc
Merge pull request #3810 from DipSwitch/ndp_fix_pi_opt
...
ndp: fix NDP PI option length validation and option processing in RTR_ADV msg
2015-09-10 15:07:10 +02:00
DipSwitch
80a4834d98
ndp: fix bug in option parsing of RTR_ADV and add debug support
2015-09-10 14:30:38 +02:00
Martine Lenders
639fd0068e
Merge pull request #3807 from OlegHahm/sixlowpan_nd_rtr_sol
...
gnrc: 6lowpan: router solicitation retransmission fixes
2015-09-10 13:54:56 +02:00
Oleg Hahm
46939f9c25
6lowpan: boundaries for rtr sol retransmissions
...
Also avoid setting the retransmission time to 0.
2015-09-10 13:16:17 +02:00
DipSwitch
d770561616
ndp: fix the NDP PI option length checking
2015-09-10 11:28:36 +02:00
Oleg Hahm
8b16f3ef06
Merge pull request #3749 from authmillenon/gnrc_sixlowpan_nd_router/feat/initial
...
gnrc_sixlowpan_nd_router: initial import of router behavior of 6LoWPAN-ND
2015-09-10 10:49:36 +02:00
Martine Lenders
40912d3d66
gnrc: adapt for gnrc_sixlowpan_nd_router
2015-09-10 02:13:45 +02:00
Martine Lenders
132f5e1b9c
gnrc_sixlowpan_nd_router: initial import
2015-09-10 02:13:44 +02:00
Oleg Hahm
b4c00d5f6e
gnrc: ndp: fix PIO address validity check
2015-09-10 01:31:32 +02:00
Oleg Hahm
5576ab7c40
gnrc: ndp: reset router solicitation counter
...
The counter should be reseted after the reception of a router advertisement.
2015-09-09 23:48:34 +02:00
Martine Lenders
84768b1747
Merge pull request #3748 from authmillenon/gnrc_sixlowpan_nd/feat/initial
...
gnrc_sixlowpan_nd: initial import of host behavior of 6LoWPAN-ND
2015-09-09 11:58:01 +02:00
Martine Lenders
ea3426eee5
gnrc: adapt for gnrc_sixlowpan_nd
2015-09-09 11:16:10 +02:00
Martine Lenders
2a1c243ad2
gnrc_sixlowpan_nd: initial import
2015-09-08 20:37:36 +02:00
DipSwitch
36d60d0c4b
rpl: Use PadN instead of 4 Pad1 options in DIS
2015-09-08 09:26:48 +02:00
48baf5ddcf
Merge pull request #3683 from kaspar030/add_gnrc_netdev2_support
...
sys: net: add gnrc netdev2 support
2015-09-04 18:00:18 +02:00
ef972735dc
sys: net: replace dev_eth with netdev2, adapt native tap driver
2015-09-04 15:39:04 +02:00
78b4bf6f58
sys: net: gnrc: add basic netdev2 support
2015-09-04 15:39:04 +02:00
34092a3eba
sys: net: gnrc: ndp: fix type used for NETOPT_SRC_LEN
2015-09-03 23:33:41 +02:00
Thomas Eichinger
fa11195e38
Merge pull request #3393 from thomaseichinger/pr/fix_osx_warnings_errors
...
native: fix warning error OS X
2015-09-03 14:04:45 +02:00
Thomas Eichinger
3d9b656e8a
gnrc/ndp: fix warning about double parentheses
2015-09-03 11:49:57 +02:00
Martine Lenders
fc6896b0c7
Merge pull request #3049 from authmillenon/ng_ndp/feat/rtr-dscvry
...
gnrc_ndp_router: Initial import of router behavior of router discovery
2015-09-03 00:22:40 +02:00
Martine Lenders
10e571df5e
gnrc: adapt for gnrc_ndp_router
2015-09-02 23:28:37 +02:00
Oleg Hahm
4fa3bb89ea
Merge pull request #3744 from authmillenon/gnrc_ipv6_nc/enh/6lo-nd
...
gnrc_ipv6_nc: adapt neighbor cache for different ND implementations
2015-09-02 21:54:35 +02:00
Martine Lenders
abe63b3f71
gnrc_ndp_router: initial import
2015-09-02 21:42:10 +02:00
Thomas Eichinger
d9c9c87cf3
ng_netdev_eth: functions are not used
2015-09-02 17:34:47 +02:00
Martine Lenders
c367477d44
gnrc: adapt for gnrc_ndp_host
2015-09-02 17:31:10 +02:00
Martine Lenders
b033ff590b
gnrc_ndp_host: initial import
2015-09-02 17:31:09 +02:00
Martine Lenders
a65804027f
gnrc_ipv6_nc: adapt neighbor cache for different ND implementations
2015-09-02 14:21:40 +02:00
Oleg Hahm
df21f1b59d
Merge pull request #3761 from kaspar030/fix_wired_flag_assignment
...
sys: net: fix GNRC_IPV6_NETIF_FLAGS_IS_WIRED assignment
2015-09-02 14:06:32 +02:00
Oleg Hahm
6786da07e2
Merge pull request #3628 from authmillenon/ng_ndp/enh/0-length-addr
...
gnrc_ndp: add support for address-less link-layers
2015-09-02 13:53:22 +02:00
2ddf3c7429
sys: net: fix GNRC_IPV6_NETIF_FLAGS_IS_WIRED assignment
2015-09-02 13:37:26 +02:00
Martine Lenders
a980155250
ng_ndp: add support for address-less link-layers
2015-09-02 12:01:10 +02:00
Cenk Gündoğan
4a9d08e268
Merge pull request #3745 from authmillenon/gnrc_ipv6_netif/enh/rtr-disc-prep
...
gnrc_ipv6_netif: prepare for router discovery
2015-09-01 19:25:08 +02:00
Martine Lenders
b81a4dd695
gnrc_ipv6_netif: prepare for router discovery
2015-09-01 18:50:40 +02:00
daniel-k
6f705a5189
at86rf2xx: implement CSMA settings
2015-09-01 18:45:47 +02:00
Oleg Hahm
eac7f3e3ce
Merge pull request #3697 from OlegHahm/netopt_wireless_ro
...
gnrc: link-type flag
2015-09-01 11:54:48 +02:00
Oleg Hahm
61a61c35b1
gnrc netif: add link-type indicator for IPv6 IFs
2015-09-01 11:32:16 +02:00
Oleg Hahm
4dbd491097
netopt: introduced link type (wired or wireless)
2015-09-01 11:32:16 +02:00
Oleg Hahm
b514eeab04
Merge pull request #3706 from OlegHahm/fib_size_parameter
...
fib: add size parameter
2015-09-01 11:28:55 +02:00
Oleg Hahm
751c7438dc
fib: use memset for (de)initialization
2015-09-01 11:10:00 +02:00
Oleg Hahm
86cabbd102
fib: add data struct for meta information
...
In order to properly make use of different FIB tables, handling of different sizes is required. The fib_table_t provides a pointer to the array of entries and its size.
2015-09-01 11:09:10 +02:00
Martine Lenders
170fa70d9e
Merge pull request #3708 from authmillenon/gnrc/fix/i3707
...
gnrc(_udp|_ipv6): write protect preceding headers and hand actually hand them over on send
2015-08-31 22:07:37 +02:00
Martine Lenders
82924c6dd6
gnrc_ndp: adapt for API change in gnrc_ndp_internal
2015-08-31 18:03:12 +02:00
Martine Lenders
a913c01e99
gnrc_ndp_internal: add capability to add external options to NAs
2015-08-31 18:03:12 +02:00
Martine Lenders
d731d24d3a
gnrc_ndp_node: put next_hop_actual in correct scope
...
In the if-block the pointer gets free'd as soon as the if-block is
exited. This PR prevents that.
2015-08-31 13:19:45 +02:00
René Kijewski
5ef0f8d1ff
Merge pull request #3717 from authmillenon/doc/fix/net
...
doc: add net to sys group
2015-08-30 15:24:01 +02:00
Martine Lenders
8708c32f0a
doc: add net to sys group
2015-08-30 14:00:33 +02:00
Cenk Gündoğan
eff4653d44
rpl: options validity check
2015-08-29 10:13:39 +02:00
Cenk Gündoğan
ec3274994f
rpl: dio validity check
2015-08-29 10:13:39 +02:00
Cenk Gündoğan
6738fd67ba
rpl: dis validity check
2015-08-29 10:13:39 +02:00
Cenk Gündoğan
b96e6b508a
rpl: dao-ack validity check
2015-08-29 10:13:39 +02:00
Cenk Gündoğan
8bbcb3ba51
rpl: dao validity check
2015-08-29 10:13:39 +02:00
Cenk Gündoğan
050671c235
Merge pull request #3687 from cgundogan/pr/rpl/poisoning_cleanup_timer
...
rpl: reduce poisoning timer to clean dodags faster
2015-08-29 10:00:57 +02:00
Martine Lenders
5863dd908e
Merge pull request #3740 from authmillenon/gnrc_ipv6/doc/dispatch_rcv
...
gnrc_ipv6: add comment why calling *netapi_dispatch_receive is impossible
2015-08-29 09:34:20 +02:00
Cenk Gündoğan
2584bc1adf
Merge pull request #3679 from cgundogan/pr/rpl/trickle_reset_infinite_dio
...
rpl: reset trickle if INFINITE_RANK DIO from child recvd
2015-08-29 09:31:18 +02:00
Martine Lenders
0c6e6b7ba4
gnrc_ipv6: add comment why *netapi_dispatch_receive is not possible
2015-08-29 09:23:51 +02:00
Martine Lenders
e58cbecc7d
Merge pull request #3738 from cgundogan/pr/netapi/gnrc_netapi_dispatch
...
gnrc_netapi: generic dispatch
2015-08-28 16:10:32 +02:00
Cenk Gündoğan
7d2129ea56
gnrc_netapi: generic dispatch
2015-08-28 15:44:22 +02:00
Cenk Gündoğan
b8c0498fb4
rpl: allow 0 as instance id
2015-08-27 14:38:08 +02:00
Cenk Gündoğan
02071ca826
rpl: reset trickle if INFINITE_RANK DIO from child recvd
2015-08-27 08:49:38 +02:00
Cenk Gündoğan
dce62132f6
rpl: reduce poisoning timer to clean dodags faster
2015-08-27 08:12:50 +02:00
BytesGalore
b16b8a9609
Merge pull request #3718 from cgundogan/pr/rpl/make_funcs_global
...
rpl: make _root_dodag_init and _gnrc_rpl_send global functions
2015-08-26 22:25:23 +02:00
BytesGalore
ebd18f4903
Merge pull request #3678 from cgundogan/pr/rpl/parse_opt_from_pref_parent
...
rpl: parse DIO and options only for DIOs from pref. parent
2015-08-26 22:22:00 +02:00
Cenk Gündoğan
d57e603b9f
rpl: make _root_dodag_init and _gnrc_rpl_send global
2015-08-26 22:09:58 +02:00
Martine Lenders
293c5322de
Merge pull request #3137 from authmillenon/slip/fix/some-fixes
...
gnrc_slip: Fixes
2015-08-25 22:19:37 +02:00
Martine Lenders
8609678bcd
ng_slip: port to ng_netapi_dispatch_receive()
2015-08-25 20:40:52 +02:00
Martine Lenders
b47c4af50b
ng_slip: fix some bugs
2015-08-25 20:40:51 +02:00
Martine Lenders
f81f43ea38
gnrc_udp: fix #3707
2015-08-25 18:12:59 +02:00
Martine Lenders
8a07f8c548
gnrc_ipv6: fix #3707
2015-08-25 17:48:17 +02:00
Martine Lenders
882080460a
Merge pull request #3660 from authmillenon/af/api/initial
...
af: initial import of global AF_ definition header
2015-08-25 09:14:44 +02:00
Martine Lenders
ac0e2f4371
net: remove redefinitions and their dependencies throughout the stack
2015-08-24 13:13:53 +02:00
Martine Lenders
4cc2742a1a
gnrc_ipv6: make IPv6 dependencies optional
2015-08-24 00:45:07 +02:00
Cenk Gündoğan
b604c99155
rpl: rename defines from NG_ to GNRC_
2015-08-23 18:29:16 +02:00
Oleg Hahm
0c14734a02
gnrc_ipv6: do not forward link-local packets
2015-08-21 23:46:43 +02:00
Oleg Hahm
8977cc1175
Merge pull request #3675 from authmillenon/gnrc_ipv6/fix/check-mtu
...
gnrc_ipv6: check link MTU before sending
2015-08-21 23:45:52 +02:00
Cenk Gündoğan
04a8c159d1
Merge pull request #3674 from authmillenon/gnrc_sixlowpan/fix/max-datagram-size
...
gnrc_sixlowpan: don't send packets that exceed maximum datagram size
2015-08-21 23:08:53 +02:00
Martine Lenders
52c57be621
gnrc_sixlowpan: don't send packets that exceed maximum datagram size
2015-08-21 22:51:54 +02:00
Martine Lenders
e5b03dfddd
netdev_eth: return payload length instead of frame length
2015-08-21 19:05:54 +02:00
Martine Lenders
d88ae14d90
gnrc_ipv6: check link MTU before sending
2015-08-21 19:05:53 +02:00
Martine Lenders
f1864fd2b6
gnrc_ipv6_netif: initialize MTU from device, if possible
2015-08-21 19:05:52 +02:00
Oleg Hahm
79ac710ee5
Merge pull request #3677 from cgundogan/pr/rpl/cleanup
...
rpl: minor cleanup
2015-08-21 14:59:36 +02:00
Cenk Gündoğan
5ee36c6ac4
rpl: minor code cleanup
2015-08-21 13:54:39 +02:00
Cenk Gündoğan
baa57a6fc9
rpl: parse DIO and options only from pref. parent
2015-08-21 13:17:07 +02:00
d18cb7a9c3
sys: add netopt to string map function and netopt module
2015-08-21 11:03:56 +02:00
Oleg Hahm
155b91bd06
Merge pull request #3655 from OlegHahm/fib_multiple_instances
...
fib: allow for multiple instances of FIB
2015-08-20 16:39:13 +02:00
Oleg Hahm
1f7da4e436
Merge pull request #3659 from cgundogan/pr/rpl/dao_global_instance
...
rpl: omit dodag id in DAO(-ACK) for global instances
2015-08-20 15:54:51 +02:00
Oleg Hahm
4267212502
fib: allow for multiple instances of FIB
2015-08-20 15:47:27 +02:00
Martine Lenders
ab9d57dec5
gnrc_sixlowpan_iphc: set correct length for IPv6 header
2015-08-20 12:35:44 +02:00
Cenk Gündoğan
2ae99d9073
rpl: remove superfluous ifdef MODULE_IPV6_ADDR
2015-08-20 08:41:10 +02:00
Cenk Gündoğan
0894343092
rpl: omit dodag id in DAO(-ACK) for global instances
2015-08-20 08:41:10 +02:00
Cenk Gündoğan
29ccba3e2f
gnrc_ipv6.c: remove padding added by lower layers
2015-08-20 00:10:37 +02:00
Martine Lenders
6dc125e08b
gnrc_sixlowpan: compare with actual packet size for fragmentation
...
Not with the uncompressed version
2015-08-19 17:51:54 +02:00
Martine Lenders
4d3c55f42b
ng_slip: fix DEBUG output
2015-08-19 00:07:55 +02:00
Martine Lenders
58ff31bfe9
gnrc: make all gnrc modules sub-modules of gnrc
2015-08-18 23:00:07 +02:00
Martine Lenders
cb63a4e221
Merge pull request #3489 from cgundogan/ng_rpl_prefix_info
...
ng_rpl: auto address configuration
2015-08-18 20:23:21 +02:00
Martine Lenders
70d40f17b0
Merge pull request #3653 from authmillenon/gnrc_rpl/fix/deps
...
gnrc_rpl: fix dependencies
2015-08-18 20:22:30 +02:00
Martine Lenders
d0f530da8e
Merge pull request #3602 from authmillenon/ndp/api/take-out-msg-types
...
ndp: move type definitions out of ng_ context
2015-08-18 20:22:08 +02:00
Martine Lenders
618a765bdc
ndp: move type definitions out of ng_ context
2015-08-18 19:01:29 +02:00
Cenk Gündoğan
94b8d69dd9
ng_rpl: auto address configuration
2015-08-18 19:00:01 +02:00
Martine Lenders
4283b1515d
gnrc_rpl: fix dependencies
...
The dependency conditional for RPL was at the very end of
`Makefile.dep`, giving depending modules no chance to pull in their
dependencies.
Also it pulled in the deprecated module `net_help`, though it did not
use any of it's functions (it just included `inet_pton.h` for `AF_INET6`).
2015-08-18 18:59:02 +02:00
Oleg Hahm
e5d5c37362
Merge pull request #3654 from OlegHahm/rpl_scan_findings
...
RPL: clang analyzer findings
2015-08-18 18:53:36 +02:00
Oleg Hahm
147bf75d5b
Merge pull request #3599 from authmillenon/icmpv6/api/take-hdrs-out
...
icmpv6: put message definitions in their own files
2015-08-18 18:17:28 +02:00
Oleg Hahm
687cc6e175
rpl: removed superfluous assignment
2015-08-18 17:53:29 +02:00
Oleg Hahm
2e1b90f107
rpl: added assertions for null pointer checks
2015-08-18 17:53:11 +02:00
Martine Lenders
89009ae2f1
icmpv6: put message definitions in their own files
2015-08-18 17:30:23 +02:00
Martine Lenders
93031c9b60
sixlowpan: move non-GNRC stuff to its own module
2015-08-18 17:03:47 +02:00
Martine Lenders
87c222d2fa
Merge pull request #3595 from authmillenon/gnrc/api/mv
...
gnrc: rename ng_netbase to gnrc
2015-08-18 16:59:34 +02:00
Oleg Hahm
e3edf34527
Merge pull request #3050 from cgundogan/ng_rpl_fib
...
ng_rpl: port to the new network stack
2015-08-18 16:48:29 +02:00
Martine Lenders
b969eeb217
gnrc: rename ng_netbase to gnrc
2015-08-18 16:11:55 +02:00
Oleg Hahm
72334c2847
sixlowpan: IPHC assertion
...
Just to tranquilize clang analyzer
2015-08-18 16:08:09 +02:00
Oleg Hahm
86a6b8a552
pktbuf: check NULL pointer before merging snips
2015-08-18 16:08:09 +02:00
Oleg Hahm
3757e57e71
netdev_eth: drop multicast with empty payload
2015-08-18 16:08:09 +02:00
Oleg Hahm
85fe445db8
pktbuf: assert for potential null pointer
...
In practice, this should not happen, since `_first_unused` should be
already set, if `_too_small_hole()` returns true.
2015-08-18 16:06:47 +02:00
Cenk Gündoğan
7f6966aacc
ng_rpl: RPL for the gnrc network stack
2015-08-18 12:03:28 +02:00
Oleg Hahm
b68213a410
Merge pull request #3561 from OlegHahm/ipv6_source_candidate_set
...
IPv6: implement source address candidate selection
2015-08-18 01:17:38 +02:00
Oleg Hahm
04d77bd3f2
IPv6: implement source address selection
...
see http://tools.ietf.org/html/rfc6724#section-4 and
http://tools.ietf.org/html/rfc6724#section-5
2015-08-17 23:10:55 +02:00
Oleg Hahm
bbe6ec50de
Merge pull request #3613 from authmillenon/ng_sixlowpan/fix/issue-3588
...
ng_sixlowpan: fix #3588
2015-08-17 17:34:05 +02:00
Martine Lenders
56817ba015
Merge pull request #3596 from authmillenon/udp/api/disintangle
...
udp: put UDP header in its own module
2015-08-17 16:00:06 +02:00
Martine Lenders
1129f56741
ng_sixlowpan: fix #3588
2015-08-17 14:43:48 +02:00
Oleg Hahm
bc3aba24a4
Merge pull request #3594 from authmillenon/ipv6/api/disentengle-hdr-ext
...
ipv6: move non-GNRC types and functions in their own module
2015-08-17 13:11:51 +02:00
Martine Lenders
bce1cf618d
Merge pull request #3586 from daniel-k/fix/pktbuf_release_check_contains
...
ng_pktbuf_static: check if pkt is in buffer before derefencing in ng_pktbuf_release
2015-08-17 10:22:44 +02:00
Martine Lenders
2903667494
tests: adapt unittests for ipv6_hdr module division
2015-08-14 17:18:37 +02:00
Martine Lenders
4f650b31f9
ipv6: move non-GNRC types and functions in their own modules
2015-08-14 17:18:35 +02:00
Martine Lenders
9f3cef5f6a
gnrc_ipv6: return receive after forwarding
2015-08-14 14:19:31 +02:00
Martine Lenders
b82f11be81
gnrc_ndp: only lookup non-link-local addresses in FIB
2015-08-14 14:19:31 +02:00
Martine Lenders
2206e877e8
gnrc_ndp: assume anything in neighbor cache to be on-link
2015-08-13 20:44:38 +02:00
Martine Lenders
7d44d00379
gnrc_ndp: don't use FIB as destination cache for now
2015-08-13 20:44:07 +02:00
Hauke Petersen
e6a9549d16
Merge pull request #3213 from haukepetersen/add_pktbuf_iovecexport
...
net/ng_pktbuf: added IOVEC export function
2015-08-12 19:46:01 +02:00
Oleg Hahm
6663679a8c
ndp: missing initialization
2015-08-12 16:09:30 +02:00
daniel-k
420d5e48ca
ng_pktbuf_static: check if pkt is in buffer before derefencing in ng_pktbuf_release
2015-08-11 23:40:04 +02:00
Martine Lenders
203561e741
ipv6_addr: remove ng_ prefix
2015-08-11 13:27:07 +02:00
Martine Lenders
4e5fa612c1
ng_ndp: prepare for parallel NDP implementations
2015-08-11 02:49:18 +02:00
Hauke Petersen
85fe67e629
net/fib: removed all ng prefixes from fib
2015-08-10 15:43:55 +02:00
Hauke Petersen
219fd0641f
net/ng_pktbuf: added IOVEC export function
2015-08-10 10:37:55 +02:00
Martine Lenders
a5e039cf4d
udp: put UDP header in its own module
2015-08-10 03:18:09 +02:00
Oleg Hahm
9e5d717466
ipv6: fix and improve check for global address
...
* embedded IPv4 addresses are considered as global
* remove check for multicast
* consolidate loopback and unspecified check
2015-08-09 20:22:21 +02:00
Cenk Gündoğan
1168b1020d
ng_fib: pretty print ipv6 addresses
2015-08-08 08:17:39 +02:00
Martine Lenders
b256b9c256
Merge pull request #3579 from authmillenon/ether/api/mv-ether
...
ethernet/ethertype: remove ng_ prefix
2015-08-07 18:20:14 +02:00
Martine Lenders
9607ade1a1
Merge pull request #3582 from authmillenon/ieee802154/api/mv
...
ieee802154: remove ng_ prefix
2015-08-07 17:42:02 +02:00
Martine Lenders
472ee315f0
ethernet/ethertype: remove ng_ prefix
2015-08-07 17:09:19 +02:00
Martine Lenders
5c03268516
inet_csum: remove ng_ prefix
2015-08-07 16:59:13 +02:00
Martine Lenders
e8d5d5576a
gnrc: piggy-back some code style changes
2015-08-07 16:53:05 +02:00
Martine Lenders
b7545365df
protnum: remove ng_ prefix
2015-08-07 16:02:09 +02:00
Martine Lenders
9cf5e5fb6a
ieee802154: remove ng_ prefix
2015-08-07 14:36:04 +02:00
Oleg Hahm
1373795ec5
Merge pull request #3575 from OlegHahm/ipv6_more_address_types
...
Ipv6: more address types
2015-08-07 09:22:50 +02:00
Oleg Hahm
7845110369
ipv6: added checks for more address types
...
Added checks for:
* Global Unicast Addresses
* IPv6 Addresses with Embedded IPv4 Addresses
* IPv4-Compatible IPv6 Address
* IPv4-Mapped IPv6 Address
* Site-Local IPv6 Unicast Addresses
2015-08-07 08:15:05 +02:00
Martine Lenders
73a42314a5
Merge pull request #3576 from haukepetersen/mv_netopt
...
net: remove ng_ from netopt header
2015-08-07 07:17:42 +02:00
Oleg Hahm
edfd8012ed
ipv6: removed null-pointer reference in debug
2015-08-06 16:48:17 +02:00
Hauke Petersen
38956457a1
sys: adapted to renamed netopt header
2015-08-06 15:37:11 +02:00
a5642efc23
sys: net: remove ccnlite-ext-appserver
2015-08-06 12:13:19 +02:00
00a44c9147
sys: net: remove AODVv2
...
(will be upgraded to gnrc soon)
2015-08-06 12:13:19 +02:00
c60cd298c5
sys: net: get back socket_base
2015-08-06 12:13:19 +02:00
5d8349298f
remove bulk of legacy network stack and drivers
2015-08-06 12:12:47 +02:00
Hauke Petersen
ce73a7d1ca
Merge pull request #3558 from OlegHahm/initialize_pointer
...
ccn-lite: initialize pointer
2015-08-05 18:25:55 +02:00
Cenk Gündoğan
71e57aa5bf
ng_ipv6: minor debug output fix
2015-08-05 14:17:25 +02:00
Oleg Hahm
ebd68b21f4
ccn-lite: initialize pointer
2015-08-04 17:54:27 +02:00
Joakim Gebart
e6a1366bec
ng_sixlowpan: Fix typo in preprocessor condition for calling pktbuf statistics
2015-08-04 17:25:21 +02:00
Oleg Hahm
2795d51d90
Merge pull request #3058 from cgundogan/universal_address_fib_split
...
sys/universal_address: separate universal_address from fib
2015-08-03 10:42:59 +02:00
Peter Kietzmann
ecf0f96ce4
Merge pull request #3519 from authmillenon/ng_sixlowpan_frag/bug/preempt-frag-sending
...
ng_sixlowpan_frag: preempt fragmentation
2015-08-03 08:32:41 +02:00
Martine Lenders
4d5d65a718
Merge pull request #3534 from cgundogan/pr/ng_pktbuf_static/minor_style_fix
...
ng_pktbuf_static: remove unnecessary parens
2015-07-31 19:45:07 +02:00
Cenk Gündoğan
aec0a703c6
ng_pktbuf_static: remove unnecessary parens
2015-07-31 19:14:49 +02:00
Cenk Gündoğan
b475bfd8f0
ng_pktbuf_static: enhance _pktbuf_contains
2015-07-31 18:44:39 +02:00
Martine Lenders
5174f75bc2
ng_ipv6_netif: find source addresses for destinations from other subnets
2015-07-31 00:11:02 +02:00
BytesGalore
f04c912493
fib: changed misleading parameter name and documentation
2015-07-30 19:10:04 +02:00
Cenk Gündoğan
ea5e371383
sys/universal_address: separate universal_address from fib
2015-07-30 18:34:48 +02:00
Cenk Gündoğan
56170819d9
ng_fib: fix fib_print_address typo
2015-07-30 12:31:44 +02:00
Martine Lenders
611e7f9335
ng_sixlowpan_frag: preempt fragmentation
2015-07-29 13:53:47 +02:00
Martine Lenders
3d9945667f
Merge pull request #3496 from authmillenon/ng_pktbuf/enh/new_default
...
ng_pktbuf: new default packet buffer implementation
2015-07-29 02:08:46 +02:00
Martine Lenders
386d9f30cc
Merge pull request #3516 from authmillenon/ng_sixlowpan/fix/fix-the-dereviewed-fixes
...
ng_sixlowpan: fix the kaputt-reviewed fixes
2015-07-29 02:04:00 +02:00
Martine Lenders
810654e178
ng_sixlowpan: fix the kaputt-reviewed fixes
2015-07-29 00:50:22 +02:00
Martine Lenders
377f5ccbee
gnrc: replace ng_pktbuf_add() with ng_pktbuf_mark() where it's needed
2015-07-29 00:47:30 +02:00
Martine Lenders
9e823076f4
ng_pktbuf: new default packet buffer implementation
2015-07-29 00:47:30 +02:00
Hauke Petersen
bce198ebf8
net: removed deprecated non-gnrc netapi
2015-07-28 23:10:21 +02:00
Martine Lenders
cc298d8dd2
ng_sixlowpan: DEBUG fixes
2015-07-28 22:07:02 +02:00
Martine Lenders
c6fb2618c4
ng_{sixlowpan|ipv6}_netif: don't create ng_sixlowpan_netif_ts adhoc
2015-07-28 22:07:02 +02:00
Martine Lenders
dc2113d67a
ng_sixlowpan_frag: fixes
2015-07-28 22:07:02 +02:00
Oleg Hahm
03b7c7349a
Merge pull request #3457 from authmillenon/gnrc/api/rename-netconf
...
gnrc: rename ng_netconf to ng_netopt
2015-07-28 18:21:09 +02:00
Martine Lenders
de7dc143b7
ng_netapi: piggy-back cppcheck catch
2015-07-28 13:33:24 +02:00
Martine Lenders
6f56b983f0
gnrc: replace all instances of ng_netconf with ng_netopt
2015-07-28 13:33:12 +02:00
Martine Lenders
a583482c06
Merge pull request #3498 from authmillenon/ng_ipv6/fix/write-protect
...
ng_ipv6: fix write protect
2015-07-28 09:57:48 +02:00
Martine Lenders
26458336a8
ng_ipv6: fix write protect
2015-07-28 09:42:27 +02:00
Martine Lenders
f29f3ab97d
ng_ipv6: piggy-back some astyle-fixes
2015-07-27 00:58:58 +02:00
Martine Lenders
f4989cc002
ng_ipv6: use ng_netapi_dispatch_send to dispatch to 6LoWPAN
2015-07-27 00:58:21 +02:00
BytesGalore
63cf9a3d4b
Merge pull request #3487 from OlegHahm/ndp_fib_fix_fix
...
ng_ndp: passing integer instead of pointer to fib
2015-07-23 10:39:39 +02:00
Thomas Eichinger
e416937398
Merge pull request #3390 from thomaseichinger/pr/fix_warning_errors_freebsd
...
native: fix warning errors freebsd
2015-07-23 10:11:29 +02:00
Oleg Hahm
2e05b1a5b3
ng_ndp: passing integer instead of pointer to fib
...
c1e20c5156
broke it.
2015-07-23 09:54:48 +02:00
Martine Lenders
3a47459ca0
ng_pktbuf: provide more detailed information in packet buffer stats
2015-07-22 23:20:23 +02:00
Oleg Hahm
c1e20c5156
ndp: pass size to fib_get_next_hop as a pointer
2015-07-22 20:19:13 +02:00
Oleg Hahm
ebcd07f6aa
sixlowpan: suppress clang-analyzer report
2015-07-22 15:56:56 +02:00
Oleg Hahm
d4a0b3f5bd
gnrc: add some assertions
2015-07-22 15:56:52 +02:00
Oleg Hahm
e3165b49ac
gnrc: avoid potential null pointer dereferencing
2015-07-22 15:56:30 +02:00
Thomas Eichinger
b7f6f3c8fb
ng_netdev_eth: functions are not used
2015-07-21 18:31:13 +02:00
Oleg Hahm
7c24c4a73b
Merge pull request #3464 from gebart/pr/iphc-payload-length
...
sys/net/network_layer/ng_sixlowpan/iphc: Set IPv6 header length after decoding
2015-07-21 09:46:25 +02:00
Joakim Gebart
0693aeb19d
sys/net/network_layer/fib: Remove unnecessary check for pointer validity to static array
2015-07-21 05:31:12 +02:00
Joakim Gebart
cde4393557
sys/net/network_layer/ng_ndp: Remove redundant parentheses
2015-07-21 05:31:12 +02:00
Joakim Gebart
f52b9ae972
sys/net/network_layer/ng_sixlowpan/iphc: Set IPv6 header length after decoding.
2015-07-21 05:15:28 +02:00
Lotte Steenbrink
257882bc06
Merge pull request #3404 from Lotterleben/aodvv2_debug_cleanup
...
aodvv2: tidy debug output, remove VDEBUG(), add LOG()
2015-07-20 15:55:08 +02:00
Lotte Steenbrink
cc9af00789
aodvv2: tidy debug output, remove VDEBUG(), add LOG()
2015-07-19 10:11:16 -07:00
Joakim Gebart
f15a5391b6
sys/net/network_layer/ng_sixlowpan/iphc: compile error fix for EUI64 initializer.
2015-07-20 12:35:03 +02:00
Joakim Gebart
b04db5409a
sys/net/network_layer/ng_sixlowpan/iphc: Correct 8 bit multicast decoding
2015-07-20 12:35:02 +02:00
Lotte Steenbrink
b63625679b
fib: check dst and next_hop for invalid pointers
2015-07-19 10:05:20 -07:00
Oleg Hahm
717a4c8152
Merge pull request #3143 from authmillenon/ng_sixlowpan_ctx/api/comp-flag
...
ng_sixlowpan_ctx: add compression flag support
2015-07-17 08:23:05 +02:00
Martine Lenders
a808834fc1
ng_sixlowpan_iphc: adapt for compression flag in ng_sixlowpan_ctx
2015-07-17 07:59:16 +02:00
Martine Lenders
dd6ea99fd4
ng_sixlowpan_ctx: add compression flag support
...
The compression flag allows a context to be invalidated for compression,
but still be valid for decompression. This is needed for context
dissimination in a LoWPAN.
2015-07-17 07:59:15 +02:00
Lotte Steenbrink
3b020a4dcc
fib: add newlines to DEBUG output.
2015-07-16 10:36:12 -07:00
Hauke Petersen
e530a79516
Merge pull request #3431 from BytesGalore/fib_fix_signal_rp
...
fib: fixed wrong passed destination address size and return value
2015-07-16 18:51:18 +02:00
BytesGalore
0d5080fa49
fib: fixed wrong passed destination address size
2015-07-16 15:50:35 +02:00
BytesGalore
d97694f106
fib: repaired prefix/default gateway determination and added two according unittests
2015-07-16 13:46:36 +02:00
Martine Lenders
ae7701e0ef
Merge pull request #3424 from authmillenon/ng_sixlowpan_iphc/fix/null_iphc2
...
ng_sixlowpan_iphc: null correct byte for IPHC2 dispatch
2015-07-15 23:21:46 +02:00
Martine Lenders
36655a82d7
ng_sixlowpan_iphc: null correct byte for IPHC2 dispatch
2015-07-15 22:49:25 +02:00
Joakim Gebart
487169f3cd
sys/net/network_layer/ng_sixlowpan/iphc: Encode 48 bit multicast addresses properly
...
Fixes a copy+paste mistake.
2015-07-15 22:00:09 +02:00
Martine Lenders
f3dffd22e3
Merge pull request #3414 from authmillenon/ng_sixlowpan/fix/issue-3411
...
ng_sixlowpan: fix IPHC dispatch check
2015-07-15 16:22:38 +02:00
Martine Lenders
e324178a12
ng_sixlowpan: fix IPHC dispatch check
2015-07-15 13:05:38 +02:00
Joakim Gebart
d74a982314
Merge pull request #3401 from gebart/pr/sixlowpan-ip-get-best-src-dont-filter-ula
...
sys/net/network_layer/sixlowpan/ip.c: Allow unique local unicast addresses to be selected as the best source address
2015-07-15 08:19:42 +02:00
Lotte Steenbrink
51ac879fa2
add FIB to AODVv2
2015-07-14 12:32:17 -07:00
Joakim Gebart
9a0a5e8816
sys/net/network_layer/sixlowpan/ip.c: Allow unique local unicast addresses to be selected as the best source address
...
It makes no sense preferring ::1 over any unique local address when communicating with other nodes.
2015-07-14 19:31:21 +02:00
Martine Lenders
6f85433fa8
ng_ndp: fix _get_l2src
2015-07-14 16:30:31 +02:00
Martine Lenders
fba8cd9f49
Merge pull request #3386 from authmillenon/ng_ndp/enh/debug-output
...
ng_ndp: enhance debug output
2015-07-14 15:55:09 +02:00
Martine Lenders
c14587f829
Merge pull request #3183 from authmillenon/ng_ipv6/enh/loopback
...
ng_ipv6: add loopback support
2015-07-14 15:11:02 +02:00
Martine Lenders
ac0a0a95a2
ng_ndp: enhance debug output
2015-07-14 15:06:40 +02:00
Martine Lenders
c7d3992eea
ng_ipv6: add loopback support
2015-07-14 13:33:26 +02:00
Peter Kietzmann
f6f112ab18
Merge pull request #3388 from authmillenon/ng_ipv6_netif/enh/use-long
...
ng_ipv6_netif: use EUI-64 as base for 6LoWPAN IPv6 addresses
2015-07-14 09:30:45 +02:00
Joakim Gebart
2706816b80
sys/net/ccn_lite/ccn-lite-relay: Use intermediate uint16_t variable to avoid strict-aliasing violation
2015-07-14 08:11:19 +02:00
Joakim Gebart
cfe657b1ee
sys/net/routing/etx_beaconing: Fix warnings and comment style
2015-07-14 08:11:15 +02:00
Joakim Gebart
4562f6b824
sys/net/sixlowpan: Add ul suffix to constants to fix warnings on msp430
2015-07-14 08:11:15 +02:00
Martine Lenders
618df44837
ng_ipv6_netif: use EUI-64 as base for 6LoWPAN IPv6 addresses
...
[RFC 6775](https://tools.ietf.org/html/rfc6775#section-1.3 ) suggests
strongly to use the EUI-64 as basis for the IPv6 addresses, since
otherwise duplicate address detection and some measures to give new
addresses (in case of duplicate) e.g. DHCPv6 needs to be in place.
2015-07-14 02:01:46 +02:00
Martine Lenders
789744c89d
Merge pull request #3375 from authmillenon/ng_pktbuf/fix/equal-size
...
ng_pktbuf: handle size == pkt->size case for ng_pktbuf_add()
2015-07-13 21:44:54 +02:00
Martine Lenders
16e10b46cf
ng_pktbuf: handle size == pkt->size case for ng_pktbuf_add()
2015-07-13 20:18:56 +02:00
Martine Lenders
2f71cadd99
ng_ndp: only check NS retransmission in correct state
2015-07-13 18:41:45 +02:00
Martine Lenders
d1b34aec35
ng_pktbuf: fix possible packet corruption in case of internal error
...
Fixes #3365
2015-07-11 12:21:40 +02:00
Martine Lenders
a04becb4f8
ng_pktbuf: fix debug output for _pktbuf_add_unsafe
2015-07-09 12:31:58 +02:00
Martine Lenders
1e262e3e73
Merge pull request #3336 from kaspar030/fix_ng_ipv6_netif_init_by_dev_mutex_unlock
...
gnrc: fix possibly ommited mutex unlock in ng_ipv6_netif_init_by_dev
2015-07-08 11:47:32 +02:00
Peter Kietzmann
c3814a7127
Merge pull request #3316 from authmillenon/ng_pktbuf/fix/align
...
ng_pktbuf: fix alignment overwrite issue
2015-07-08 10:49:26 +02:00
3efd2e9fae
gnrc: fix possibly ommited mutex unlock in ng_ipv6_netif_init_by_dev
2015-07-08 09:24:08 +02:00
Martine Lenders
3b133811d6
ng_pktbuf: fix alignment overwrite issue
...
Currently it can happen if there is a spot of size `n` free that a chunk
of size `n + 1` is inserted, if `n` is devisable by the word length of
the platform. This patch fixes this issue.
2015-07-07 17:02:23 +02:00
Joakim Gebart
64b948f0e9
sys/net/network_layer/ng_ndp: Add missing inttypes.h include
2015-07-07 09:48:11 +02:00
Joakim Gebart
b1dcd89390
sys/net/network_layer/ng_ipv6/nc: Add missing inttypes.h include
2015-07-07 09:47:53 +02:00
Joakim Gebart
767d3eb4df
sys/net/crosslayer/ng_netif/hdr/ng_netif_hdr_print.c: Add missing inttypes.h include
2015-07-07 09:47:26 +02:00
Joakim Gebart
5c5b644602
sys/net/transport_layer/ng_udp: Add missing inttypes.h include
2015-07-07 00:53:27 +02:00
Joakim Gebart
c2aa2aa91f
sys/net/link_layer/ng_nomac: Add missing inttypes.h include
2015-07-07 00:53:27 +02:00
Joakim Gebart
b35c2782da
sys/net/link_layer/net_if: Add missing inttypes.h include
2015-07-07 00:53:27 +02:00
Joakim Gebart
6577d21049
sys/net/ccn_lite: Add missing inttypes.h include
2015-07-07 00:53:27 +02:00
Joakim Gebart
aaeaa968e6
sys/net/application_layer/ng_zep: Add missing inttypes.h includes
2015-07-07 00:53:26 +02:00
Joakim Gebart
8f2da1d3d0
sys/net/routing/aodvv2: Add missing inttypes.h includes
2015-07-07 00:53:26 +02:00
Joakim Gebart
de3bd08798
sys/net/network_layer/fig: Add missing inttypes.h includes
2015-07-07 00:53:26 +02:00
Joakim Gebart
299e0eae03
sys/net/network_layer/ng_icmpv6: Add missing inttypes.h includes
2015-07-07 00:53:26 +02:00
Joakim Gebart
84114f3cc5
sys/net/network_layer/ng_ipv6: Add missing inttypes.h includes
2015-07-07 00:53:26 +02:00
Joakim Gebart
42cfa32077
sys/net/network_layer/ng_sixlowpan: Add missing inttypes.h includes
2015-07-07 00:53:26 +02:00
Martine Lenders
c5318336ae
net: intial import of the ZEP protocol
2015-07-02 15:47:19 +02:00
Martine Lenders
75ff56a21f
Merge pull request #3247 from authmillenon/ng_nettest/fix/bugfixes
...
ng_nettest: some fixes
2015-07-02 14:29:28 +02:00
Martine Lenders
e6811e8c28
Merge pull request #3295 from authmillenon/ng_udp/doc/fix
...
ng_udp: fix documentation
2015-07-02 13:41:01 +02:00
Martine Lenders
74eac9b144
ng_nettest: change function prototypes to allow for exp_pkts == 0
2015-07-02 13:35:00 +02:00
Martine Lenders
871a6f9cde
ng_nettest: some fixes
2015-07-02 13:35:00 +02:00
Martine Lenders
297f2cadcc
Merge pull request #3286 from authmillenon/ng_nomac/enh/use-dispatch-func
...
ng_nomac: use dispatch function
2015-07-02 13:22:33 +02:00
Martine Lenders
69992ee7eb
Merge pull request #3293 from authmillenon/ng_inet_csum/fix/wrap-around
...
ng_inet_csum: fix double-wrap around of carry
2015-07-02 12:55:27 +02:00
Martine Lenders
380c53c3e1
ng_udp: fix NULL pointer check in ng_udp_calc_csum
2015-07-02 12:20:55 +02:00
Martine Lenders
90d3af596e
ng_nomac: piggy-back some indentation fixes
2015-07-02 12:08:43 +02:00
Martine Lenders
dae00a81fb
ng_nomac: use dispatch function
2015-07-02 12:08:42 +02:00
Martine Lenders
ad6c02b349
ng_inet_csum: fix double-wrap around of carry
2015-07-02 12:06:31 +02:00
Martine Lenders
0465b83b7c
ng_ndp: cache determined next-hop in FIB
2015-07-01 22:34:12 +02:00
Martine Lenders
6687bbaea6
ng_inet_csum: add debug output
2015-07-01 18:25:40 +02:00
Martine Lenders
773ecc3615
ng_ipv6: remove redefinition of ifnum
2015-07-01 13:30:09 +02:00
Peter Kietzmann
fb6440c397
Merge pull request #2893 from authmillenon/ng_net/enh/centralize-dispatch
...
ng_netapi: centralize packet dispatchment for RCV and SND
2015-07-01 13:19:13 +02:00
Martine Lenders
56b4af60fd
Merge pull request #3245 from authmillenon/ng_ipv6/fix/multicast-multi-iface
...
ng_ipv6: fix behavior for multicast over multiple interfaces
2015-07-01 13:05:14 +02:00
Martine Lenders
3238ccd47e
Merge pull request #3159 from authmillenon/ng_net/feat/iid
...
ng_net: add IID option and simplify upper layers accordingly
2015-07-01 12:47:49 +02:00
Martine Lenders
4065e5ae05
ng_udp: use new netapi function
2015-07-01 12:38:59 +02:00
Martine Lenders
018dbb04b8
ng_sixlowpan: use new netapi functions
2015-07-01 12:38:59 +02:00
Martine Lenders
59f62e5366
ng_netapi: centralize packet dispatchment for RCV and SND
2015-07-01 12:38:59 +02:00
Martine Lenders
ba75602f14
ng_ipv6: fix behavior for multicast over multiple interfaces
2015-07-01 12:36:45 +02:00
Martine Lenders
cda934d2e1
ng_ipv6/netif: fix dereference interface correctly
2015-06-30 22:43:15 +02:00
Cenk Gündoğan
3162ca5408
Merge pull request #3272 from authmillenon/ng_ndp/fix/fib_get_next_hop
...
ng_ndp: fix ng_ndp_get_next_hop() for FIB fix in #3250
2015-06-30 18:13:17 +02:00
Oleg Hahm
fedb0e03be
Merge pull request #3226 from authmillenon/ng_ndp/enh/restructure-functions
...
ng_ndp: code restructuring
2015-06-30 17:41:45 +02:00
Lotte Steenbrink
6d1b1ad077
aodvv2: fix rreq route cost calculation
...
store targseqnum from rreq in the right substruct, calculate rreq route cost from targaddr metric.
2015-06-29 09:04:23 -07:00
Martine Lenders
1b4a05e5a8
ng_ndp: fix ng_ndp_get_next_hop() for FIB fix in #3250
2015-06-29 14:46:52 +02:00
Lotte Steenbrink
04719b326c
Merge pull request #3266 from Lotterleben/aodvv2_fix_warn
...
aodvv2: fix return values of reader helper functions
2015-06-29 12:13:47 +02:00
Benoît Canet
5e7ea2d9e4
msg: Fix incorrect queues initializations
...
From core/include/msg.h:
/**
* @brief Initialize the current thread's message queue.
*
* @param[in] array Pointer to preallocated array of ``msg_t`` structures, must
* not be NULL.
* @param[in] num Number of ``msg_t`` structures in array.
* **MUST BE POWER OF TWO!**
*
* @return 0, if successful
* @return -1, on error
*/
int msg_init_queue(msg_t *array, int num);
sizeof(array) does does not compute an array size. Replace calls to sizeof()
with proper values
Closes #3269 .
Fix two crashes in the tests and probably more in the network stack.
2015-06-29 06:58:24 +02:00
Lotte Steenbrink
de2296d524
aodvv2: fix return values of reader helper functions
2015-06-25 16:48:15 -07:00
BytesGalore
db18e5760a
fib: added check for passing NULL pointers to fib_get_next_hop()
2015-06-24 09:05:24 +02:00
Martine Lenders
0103fa2e91
Merge pull request #3234 from authmillenon/ng_pktqueue/api/take-out-prio
...
ng_pktqueue: remove priority queue dependency
2015-06-23 23:47:52 +02:00
Martine Lenders
6b6c0c3322
Merge pull request #3241 from haukepetersen/ng_frag_send_missingreturn
...
net/ng_sixlowpan_frag: added missing return
2015-06-23 17:58:40 +02:00
Oleg Hahm
b85f076027
Merge pull request #3098 from authmillenon/ng_nettest/feat/initial
...
ng_nettest: initial import of a ng_netapi test framework
2015-06-23 17:02:11 +02:00
Lotte Steenbrink
8f4dd8dc13
aodvv2: fix one-off metric bug
2015-06-23 07:13:16 -07:00
Martine Lenders
4a34635d14
ng_ndp: stop for loop over packet nodes earlier
2015-06-23 15:25:13 +02:00
Martine Lenders
f28c5041eb
ng_nettest: initial import of a ng_netapi test framework
2015-06-23 15:22:55 +02:00
Hauke Petersen
b2efe73f87
Merge pull request #3243 from BytesGalore/ndp_comment_on_fall_through
...
ndp: added a word why we fall through into `NG_IPV6_NC_STATE_DELAY`
2015-06-23 13:54:28 +02:00
BytesGalore
9082ffb70d
Merge pull request #3237 from haukepetersen/ng_fix_frag_sendnth_ptrcheck
...
net/ng_sixlowpan: fix check for pkt==NULL
2015-06-23 13:48:01 +02:00
BytesGalore
e08d7a4434
ndp: added a word why we fall through into NG_IPV6_NC_STATE_DELAY
2015-06-23 12:51:12 +02:00
haukepetersen
6a44f56939
net/ng_sixlowpan_frag: added missing return
2015-06-23 02:56:21 +02:00
haukepetersen
a38d881424
net/ng_sixlowpan: fix check for pkt==NULL
2015-06-23 02:07:33 +02:00
haukepetersen
80205b6749
net/ng_sixlowpan: fix check of pktbuf return val
2015-06-23 01:55:01 +02:00
Martine Lenders
0ca2cb1c93
ng_ndp: use new pktqueue
2015-06-22 18:19:55 +02:00
Martine Lenders
72b17d9620
ng_ipv6_nc: use new pktqueue
2015-06-22 18:19:55 +02:00
Hauke Petersen
a4f3bf49d3
net/ng_udp: mark received payload as NETTYPE_UNDEF
2015-06-22 16:37:03 +02:00
Martine Lenders
1f8e1cbbf3
Merge pull request #3218 from haukepetersen/ng_fix_sixlowpan_static
...
net/ng_sixlowpan: declared private methods static
2015-06-22 15:57:48 +02:00
Cenk Gündoğan
dd7f6c4218
ng_ndp: remove vtimer before setting it again
2015-06-20 12:09:45 +02:00
Martine Lenders
245c51f821
ng_sixlowpan: piggy-back cppcheck suppression
2015-06-19 17:17:29 +02:00
Martine Lenders
74430228cb
ng_sixlowpan: add missing return
2015-06-19 17:13:10 +02:00
Martine Lenders
1e4f8b4837
ng_ndp: code restructuring
...
Some code restructuring to be in line with other code of similar format.
2015-06-19 15:42:43 +02:00
Martine Lenders
b3acefd340
ng_sixlowpan: write protect pkt
2015-06-19 14:52:51 +02:00
6b2774640e
sys: net: ng_pktdump: add missing errno.h
...
file misses "ENOTSUP" otherwise
2015-06-18 13:28:39 +02:00
Hauke Petersen
dc82b801ac
net/ng_sixlowpan: declared private methods static
2015-06-17 17:25:08 +02:00
Martine Lenders
f183197d56
ng_sixlowpan_iphc: use NETCONF_OPT_IPV6_IID and ng_ieee802154_get_iid
2015-06-15 12:32:14 +02:00
Martine Lenders
bd20b9975d
ng_ipv6_netif: use NETCONF_OPT_IPV6_IID initialization for init
2015-06-15 12:32:14 +02:00
Martine Lenders
bdb1b6036d
ng_netdev_eth: add NETCONF_OPT_IPV6_IID handler
2015-06-15 12:32:13 +02:00
René Kijewski
98aec32f6b
ng_netif: more formats for ng_netif_addr_from_str
2015-06-13 13:38:11 +02:00
René Kijewski
7d3d8dee21
ng_netif: make const what is const
2015-06-12 21:53:59 +02:00
René Kijewski
5eed801072
ng_netif: non-destructive ng_netif_addr_from_str
2015-06-12 21:53:59 +02:00
Martine Lenders
64303f663d
ng_ipv6: add demux debug output
2015-06-11 16:32:25 +02:00
Martine Lenders
b580ce1c13
ng_icmpv6_echo: add missing od.h include for DEBUG output
2015-06-11 16:32:06 +02:00
Cenk Gündoğan
2fda604ef3
ng_icmpv6: fix release of pkt
2015-06-11 13:49:01 +02:00
Cenk Gündoğan
da2cd90ff7
Merge pull request #3177 from authmillenon/ng_ndp/doc/nbr_adv_timer
...
ng_ndp: expand documentation on ng_ipv6_nc_t::nbr_adv_timer
2015-06-10 12:10:34 +02:00
Martine Lenders
2bdf22af97
ng_ndp: expand documentation on ng_ipv6_nc_t::nbr_adv_timer
2015-06-09 19:34:34 +02:00
Martine Lenders
f0134f613c
ng_ndp: fix neighbor advertisement handling
...
The setting of the states and reset of the retransmission timers is
broken in the current implementation. This patch fixes that behavior and
simplifies the code a little.
2015-06-09 19:05:36 +02:00
Cenk Gündoğan
ece64548a6
Merge pull request #2818 from BytesGalore/fib_get_conditionlal_entry_set
...
sys/net/fib: added function to request a set of destination addresses
2015-06-05 22:07:22 +02:00
Martine Lenders
46a0fe6cdd
pktdump: add 6LoWPAN dump
2015-06-05 16:14:56 +02:00
Hauke Petersen
3967f48852
net/ng_pktdump: added printing of udp header
2015-06-05 09:47:53 +02:00
Hauke Petersen
70acc31675
net/ng_udp: added ng_udp_print_hdr() function
2015-06-05 09:47:52 +02:00
Hauke Petersen
853594df82
net/eth_netdev: fixed debug hex_dump condition
2015-06-04 16:00:56 +02:00
Martine Lenders
e7fde544af
Merge pull request #3145 from authmillenon/ng_ipv6_netif/fix/debug
...
ng_ipv6_netif: fix debug output
2015-06-03 12:56:19 +02:00
rajithr
70fa494666
sixlowpan/ip: Fixing an out of bounds access issue reported by Coverity Scan
...
sixlowpan/ip: Fixing an out of bounds access issue reported by Coverity Scan
2015-06-03 10:29:43 +05:30
Martine Lenders
aa3452063d
Merge pull request #3089 from authmillenon/pktbuf/enh/debug-output
...
ng_pktbuf: add DEBUG output
2015-06-02 21:20:14 +02:00
Martine Lenders
c6af1b2c21
Merge pull request #3092 from authmillenon/ng_pktbuf/fix/some-fixes
...
ng_pktbuf: Some fixes
2015-06-02 18:32:57 +02:00
Martine Lenders
9bb46e97b0
ng_ipv6_netif: fix debug output
2015-06-02 17:58:41 +02:00
Martine Lenders
76f80939f5
ng_pktbuf: add DEBUG output
2015-06-02 17:33:41 +02:00
BytesGalore
9079e30da0
sys/net/fib: added function to request a set of destination addresses
2015-06-02 16:42:47 +02:00
Cenk Gündoğan
bdc12b05cd
Merge pull request #2783 from BytesGalore/fib_support_all_zero_addr
...
net/network_layer/fib: corrected handling of all 0 addresses
2015-06-02 11:50:41 +02:00
BytesGalore
b39afa8649
ip: added a define to enable a FIB compatibility mode replacing get_next_hop()
2015-06-01 17:31:45 +02:00
Martine Lenders
4d89ac6d03
Merge pull request #3085 from authmillenon/ng_net/fix/printf-stacksize
...
ng_net: use printf-stack size where it is needed
2015-05-29 07:32:37 +02:00
Martine Lenders
df18566576
Merge pull request #3103 from cgundogan/ng_netif_addr_to_str
...
ng_netif: clear out buffer before creating output
2015-05-29 07:30:02 +02:00
Martine Lenders
5a8a4312de
ng_udp: piggy-back fix for coding conventions
2015-05-28 23:22:44 +02:00
Martine Lenders
3db17eedbf
ng_net: use printf-stack size where it is needed
2015-05-28 23:22:44 +02:00
Cenk Gündoğan
16cdeb8759
ng_netif: clear out buffer before creating output
2015-05-28 20:05:16 +02:00
a10beb25f4
Merge pull request #3105 from cgundogan/ng_netdev_eth_marshall
...
ng_netdev_eth: default to NG_ETHERTYPE_UNKNOWN when no payload avail.
2015-05-28 18:35:16 +02:00
Lotte Steenbrink
104ea3ceb1
Merge pull request #3091 from Lotterleben/fib_helper_fn
...
Fib helper fn
2015-05-28 18:33:23 +02:00
Cenk Gündoğan
4bda0f6f54
ng_netdev_eth: default to NG_ETHERTYPE_UNKNOWN when no payload avail.
2015-05-28 18:20:32 +02:00
Hauke Petersen
9943f51080
global: renamed cpu-conf.h into cpu_conf.h
2015-05-28 15:45:05 +02:00
Oleg Hahm
c441e7d9f6
ng_ndp: remove warning
2015-05-27 22:02:12 +02:00
Martine Lenders
ae3d88fcae
Merge pull request #2806 from authmillenon/ng_sixlowpan_iphc/feat/initial
...
ng_sixlowpan: Initial import of IP header compression
2015-05-27 18:07:11 +02:00
Martine Lenders
1168544e6b
ng_pktbuf: don't use atomic_dec()
2015-05-27 15:37:31 +02:00
Martine Lenders
9cea4b6618
ng_pktbuf: only duplicate header
2015-05-27 15:37:14 +02:00
Martine Lenders
85bd69314c
Merge pull request #3084 from OlegHahm/ndp_fib_fix
...
ng_ndp: fix call to FIB
2015-05-27 14:22:43 +02:00
Fabian Nack
1ccf1335fe
Merge pull request #2592 from fnack/nhdp_ext_metric
...
sys/nhdp: Add metric infrastructure and DAT metric computation
2015-05-27 13:07:13 +02:00
Oleg Hahm
e857ca7f51
Merge pull request #2933 from gebart/pr/atomic-set-return-deprecated
...
core: remove atomic_set_return
2015-05-27 12:33:39 +02:00
Oleg Hahm
15e12dd06b
ng_ndp: fix call to FIB
2015-05-27 11:57:54 +02:00
Martine Lenders
9a989264d8
ng_sixlowpan: initial import of IP header compression
2015-05-27 11:54:50 +02:00
Fabian Nack
5fbafbf8ad
sys/nhdp: Add link metric calculation
2015-05-27 11:05:13 +02:00
Oleg Hahm
64f3db7f3f
ng_ipv6: only try to parse ext header if enabled
2015-05-27 11:00:18 +02:00
Martine Lenders
41aad42d8f
Merge pull request #3074 from authmillenon/ng_ipv6_ext/fix/exit-early
...
ng_ipv6_ext: exit early on invalid size
2015-05-27 01:43:21 +02:00
Lotte Steenbrink
d14191467f
fib: add FIB_DEVEL_HELPER flag and fib_devel_get_lifetime()
2015-05-26 15:34:31 -07:00
Lotte Steenbrink
b7d58d0310
Merge pull request #3073 from Lotterleben/ng_netif_dont_shift
...
ng_netif: don't shift entries upon remove
2015-05-26 22:19:23 +02:00
Joakim Gebart
6821350835
ng_pktbuf: Use atomic_dec instead of atomic_set_return
2015-05-26 21:23:49 +02:00
1c91baed8b
sys: net: add ng_netdev_eth netdev driver for dev_eth based ethernet devices
2015-05-26 21:05:19 +02:00
Martine Lenders
475bfe6e5f
Merge pull request #2944 from authmillenon/ipv6_netif/opt/auto-init-addr
...
ipv6_netif: initialize device dependent values
2015-05-26 21:01:55 +02:00
Martine Lenders
e509c101fe
ng_ipv6_ext: exit early on invalid size
2015-05-26 20:20:02 +02:00
Martine Lenders
e3bdc53c37
Merge pull request #2898 from authmillenon/ng_ipv6_ext/feat/initial
...
ng_ipv6_ext: initial import of extension header handling (including RPL SRH)
2015-05-26 20:16:50 +02:00
Lotte Steenbrink
e203eae8c6
ng_netif: don't shift entries upon remove
2015-05-26 10:33:09 -07:00
Martine Lenders
971ee86de6
ipv6_netif: initialize device dependent values
2015-05-26 18:46:49 +02:00
PeterKietzmann
837e57635a
ng_sixlowpan_netif: add ENABLE_DEBUG flag
2015-05-26 14:45:57 +02:00
Martine Lenders
4310ab37ba
Merge pull request #3048 from authmillenon/ipv6_netif/fix/get-best-src-mc
...
ipv6_netif: fix ng_ipv6_netif_find_best_src_addr() for multicast
2015-05-25 23:19:20 +02:00