Joakim Nohlgård
75d0281ef3
xtimer-core: Use xtimer_now as reference time instead of future timer target
2015-09-25 16:12:06 +02:00
Martine Lenders
5cf4bd661b
Merge pull request #3968 from authmillenon/gnrc/fix/6lbr
...
6LBR: fixes
2015-09-25 12:04:39 +02:00
Martine Lenders
a225987d3e
gnrc 6Lo-ND rtr: fix array sizes for 6LBR
2015-09-25 11:26:58 +02:00
Martine Lenders
893008f1e2
gnrc_ndp_internal: fix variable scope
2015-09-25 10:53:13 +02:00
Martine Lenders
217f8a26d8
gnrc_ndp_internal: fix coding style
2015-09-25 10:52:51 +02:00
Martine Lenders
39ade25511
gnrc_ndp_internal: prevent non-terminating loop
2015-09-25 10:51:01 +02:00
161a76680f
Merge pull request #3923 from kaspar030/add_threadsafe_ringbuffer
...
sys: add threadsafe ringbuffer
2015-09-25 10:32:52 +02:00
aa321eb3f0
sys: uart_stdio: use thread-safe ringbuffer
2015-09-25 09:08:34 +02:00
185f63f768
sys: add thread-safe ringbuffer implementation
2015-09-25 09:08:34 +02:00
Martine Lenders
8621407f00
GNRC 6LR: don't include PIOs for other interface's prefixes
2015-09-25 01:11:53 +02:00
Martine Lenders
884f2c768a
Merge pull request #3964 from authmillenon/gnrc_ndp/fix/ltime-0
...
gnrc_ndp: lifetimes might be 0 in RA options
2015-09-25 01:02:30 +02:00
Martine Lenders
16151b06f7
gnrc_ndp: lifetimes might be 0 in RA options
2015-09-25 00:07:51 +02:00
René Kijewski
cecb4c8c56
crypto: remove skipjack support
...
Unused, unmaintained, buggy code for an unknown algorithm.
2015-09-25 00:05:18 +02:00
Martine Lenders
7bbb5d62b0
6lowpan IPHC: set dest context to DCI field not SCI
2015-09-24 23:21:15 +02:00
Martine Lenders
225dcaaf34
gnrc_ipv6_nc: leave UNMANAGED entries UNMANAGED
2015-09-24 21:21:25 +02:00
Oleg Hahm
cc0101472e
6lowpan: do garbage collect unreachable NCEs
...
RFC6775 says "if NUD on the router determines that the host is UNREACHABLE (based on the logic in [RFC4861]), the NCE SHOULD NOT be deleted but rather retained until the Registration Lifetime expires." Since this is a "SHOULD NOT" and not a "MUST NOT", we can still remove these NCEs to circumvent NCEs going into UNREACHABLE and never leave this state again. Actually removing these entries from the cache seems also be the better choice for memory constraint device.
2015-09-24 17:33:38 +02:00
Martine Lenders
8b2e4d5ffa
socket_base: remove deprecated header files
2015-09-24 15:45:37 +02:00
Martine Lenders
ae46d5d6a0
Merge pull request #3953 from OlegHahm/6lowpan_slaac_fixes
...
6lowpan: make SLAAC work
2015-09-24 14:14:41 +02:00
Oleg Hahm
63fda9e900
6lowpan: remove tentative flag for local addresses
...
There's no real need for this flag, but it causes problem during address registration.
2015-09-24 13:33:10 +02:00
Oleg Hahm
c5b1156909
IPv6 nd: missing parameter for debug function
2015-09-24 13:17:21 +02:00
Oleg Hahm
bb287ae7e8
6lowpan netif: set prefixes for 6LBR first
...
By adding a newly added prefix first, it is assured that the following router advertisement will already disseminate it via the PIO.
2015-09-24 13:15:38 +02:00
Hauke Petersen
7cb3f9bd5e
Merge pull request #3716 from kaspar030/ng_cc110x
...
drivers: add cc110x driver
2015-09-24 11:49:38 +02:00
Martine Lenders
5e2b4b6b23
Merge pull request #3951 from OlegHahm/6lowpan_nd_pio_fixes
...
6lowpan nd: PIO fixes
2015-09-24 02:52:45 +02:00
Martine Lenders
109b2ab522
Merge pull request #3950 from authmillenon/gnrc_sixlowpan_iphc/fix/set-mcast-ctx
...
gnrc_sixlowpan_iphc: actually set context for unicast prefix based comp
2015-09-24 02:33:16 +02:00
Oleg Hahm
fee9ad77cb
ipv6: init addresses w/ infinite validity time
2015-09-24 02:27:42 +02:00
Oleg Hahm
9b7b1bae37
6lowpan: prefixes are initially all null pointers
...
Since the prefixes list stores pointers, one need to check for null pointers first.
2015-09-24 02:27:42 +02:00
Oleg Hahm
ba023aecb8
6lowpan nd: use correct upper limit for iterating
...
While iterating over the prefixes the wrong upper limit was used for the for loop.
2015-09-24 02:27:42 +02:00
Martine Lenders
3c69d7bec3
Merge pull request #3949 from OlegHahm/iphc_set_DAC
...
6lowpan IPHC: set stateful compression mode f. dst
2015-09-24 02:25:48 +02:00
Martine Lenders
1372b9b779
gnrc_sixlowpan_iphc: actually set context for unicast prefix based comp
2015-09-24 02:15:35 +02:00
Oleg Hahm
e9d6eb8170
6lowpan IPHC: set stateful compression mode f. dst
...
For destionation addresses the stateful compression mode bit wasn't set.
2015-09-24 02:15:21 +02:00
Martine Lenders
dd7b96c840
Merge pull request #3750 from authmillenon/shell/feat/6ctx
...
shell_commands: provide command for 6Lo context administration at 6LBR
2015-09-24 02:08:35 +02:00
Martine Lenders
dd69fd0cd3
gnrc_ndp_internal: add missing include
2015-09-24 01:36:54 +02:00
Martine Lenders
cc9aa3550d
shell_commands: provide command for 6Lo context administration
2015-09-24 01:36:53 +02:00
Oleg Hahm
0cc4f57fc0
6lowpan: do not send NAs for new MC addresses
2015-09-24 00:03:06 +02:00
14d0ef6c4d
drivers: add cc110x driver
2015-09-23 18:55:11 +02:00
Martine Lenders
771e7f40cd
gnrc_ipv6_netif: a RA source MUST be link-local
2015-09-23 18:34:47 +02:00
Martine Lenders
320aa47200
Merge pull request #3876 from authmillenon/nhdp/enh/use-conn
...
nhdp: use conn instead of socket_base
2015-09-23 18:00:10 +02:00
Oleg Hahm
30885a2a2d
pktbuf: correct size for printing chunk dumps
2015-09-23 16:44:45 +02:00
Martine Lenders
e06e85d65c
gnrc_slip: reorder received packet correctly
2015-09-23 16:14:33 +02:00
Oleg Hahm
830bf36061
Merge pull request #3928 from authmillenon/gnrc_sixlowpan_nd/fix/opt-check
...
gnrc_sixlowpan_nd: fix 6ctx option check
2015-09-23 01:47:43 +02:00
Oleg Hahm
2a41861154
Merge pull request #3937 from OlegHahm/ipv6_nc_debug_fix
...
IPv6 nc: missing debug parameter
2015-09-22 23:35:13 +02:00
Martine Lenders
4508e22da8
Merge pull request #3646 from authmillenon/posix/feat/sockets
...
posix: redo socket API to use conn
2015-09-22 23:04:03 +02:00
Martine Lenders
624530c7d0
posix: redo socket API to use conn
2015-09-22 22:24:52 +02:00
Oleg Hahm
171fb8e65c
IPv6 nc: missing debug parameter
2015-09-22 21:55:29 +02:00
Martine Lenders
67786b4a8b
Merge pull request #3936 from authmillenon/gnrc_ndp_node/fix/link-local-always-on-link
...
gnrc_ndp_node: always assume link-local dst to be on-link
2015-09-22 21:25:57 +02:00
Martine Lenders
5d7501677f
gnrc_ipv6: iface might be from input on next hop determination
2015-09-22 20:43:29 +02:00
Martine Lenders
2a61ac936a
gnrc_ndp_node: always assume link-local dst to be on-link
2015-09-22 19:49:48 +02:00
Oleg Hahm
d1bd2ae0a3
Merge pull request #3931 from OlegHahm/6lbr_pick_right_next_hop
...
6lowpan: IPv6 next hop shouldn't supersede 6lo
2015-09-22 18:48:42 +02:00
Martine Lenders
4419a0a441
Merge pull request #3932 from cgundogan/pr/rpl/linklocal
...
rpl: fix src addr of outgoing control messages
2015-09-22 17:17:41 +02:00
Cenk Gündoğan
cb152c1455
rpl: fix src addr of outgoing control messages
2015-09-22 16:26:43 +02:00
Martine Lenders
8df17de95b
Merge pull request #3925 from authmillenon/gnrc_pktbuf_static/fix/short_snip
...
gnrc_pktbuf_static: fix marking of pktsnips with short payload
2015-09-22 16:20:22 +02:00
Oleg Hahm
a24b0f2b79
6lowpan: IPv6 next hop shouldn't supersede 6lo
...
If 6LoWPAN next hop determination and address resolution succeeds, it should not be superseded by IPv6 ND.
2015-09-22 16:12:00 +02:00
Martine Lenders
542c1e82ac
gnrc_sixlowpan_nd: fix 6ctx option check
2015-09-22 14:36:44 +02:00
Oleg Hahm
a0957b11d6
Merge pull request #3926 from OlegHahm/some-scan-build-warnings
...
clean up: Some scan build warnings
2015-09-22 11:43:20 +02:00
Martine Lenders
3448569eb8
Merge pull request #3916 from OlegHahm/6lowpan_rtr_adv_mc_timer
...
6lowpan nc: rtr sol timer expects an interface
2015-09-22 11:28:44 +02:00
René Kijewski
d2afdf5079
crypto: memcpy()
in overlapping data in ccm
...
`memcpy()` must not be used if the input and output ranges overlap,
because it is undefined if the data if copied from front to the end or
vice versa.
Found via valgrind.
2015-09-22 11:01:56 +02:00
René Kijewski
7af7d37531
base64: remove unused calculation in base64_encode
...
Found via scan-build.
2015-09-22 11:01:56 +02:00
René Kijewski
05eb6e73d9
bloom: fix calloc invocation
...
Fix array member type (`char` vs `uint8_t`).
Found via scan-build.
2015-09-22 11:01:55 +02:00
Oleg Hahm
f0e2f50713
6lowpan nc: rtr sol timer expects an interface
2015-09-22 10:53:08 +02:00
Martine Lenders
e5c6e3da54
gnrc_pktbuf_static: fix marking of pktsnips with short payload
2015-09-22 10:50:57 +02:00
Oleg Hahm
c006381fd8
Merge pull request #3917 from OlegHahm/6lbr_rtr_sol_adv_fixes
...
6lowpan: some border router fixes
2015-09-21 23:55:55 +02:00
Oleg Hahm
f3f4d61f93
sixlowpan nd: 6LBR shouldn't send rtr sol over 6lo
2015-09-21 23:21:22 +02:00
Oleg Hahm
38b384c713
6lowpan: 6LBR should sent only one rtr adv
...
On a 6lo interface the border router should only send one router advertisement with its new address as source address.
2015-09-21 23:21:22 +02:00
Martine Lenders
9ce1c6df05
nhdp: use conn instead of socket_base
2015-09-21 21:37:13 +02:00
Martine Lenders
fda6155071
Merge pull request #3615 from authmillenon/conn/feat/initial
...
conn: Initial import of a light-weight network application API
2015-09-21 20:47:08 +02:00
Martine Lenders
ef9acf6aee
gnrc: add GNRC-specific conn implementation
2015-09-21 16:56:27 +02:00
Martine Lenders
b87a3eab89
conn: Initial import of a light-weight network application API
2015-09-21 16:56:27 +02:00
Oleg Hahm
4b6626f8b2
Merge pull request #3902 from OlegHahm/xtimer_initialize_variables
...
xtimer: initialize struct members
2015-09-21 11:35:18 +02:00
Oleg Hahm
682bde25d9
6lowpan nd: check right NCE in AR handling
...
When checking the address registration option, the address has to be passed in order to check the correct neighbor cache entry.
2015-09-21 09:25:12 +02:00
Oleg Hahm
effe7bbde0
6lowpan: 6LBR need to initialize rtr adv interval
2015-09-20 21:42:20 +02:00
Oleg Hahm
1a0a1d6fb9
ndp: assert that rtr adv interval is never 0
2015-09-20 21:42:20 +02:00
Martine Lenders
8a554abfa6
Merge pull request #3904 from authmillenon/gnrc_sixlowpan_nd_router/fix/version-casting
...
gnrc_sixlowpan_nd_router: cast before shifting
2015-09-20 20:53:53 +02:00
Martine Lenders
7f1db3b2d0
Merge pull request #3903 from gebart/pr/gebart-nohlgard-name
...
all: Update @gebart family name, email
2015-09-20 20:53:35 +02:00
Martine Lenders
c1310d5500
Merge pull request #3889 from OlegHahm/6lowpan_nd_rtr_adv
...
6lowpan nd: send router advertisements on 6LR
2015-09-20 20:51:47 +02:00
Oleg Hahm
6f2d90a95c
6lowpan nd: send rtr adv on new address
2015-09-20 18:16:28 +02:00
Oleg Hahm
9641f8c39c
6lowpan nd: send rtr adv after receiving a rtr adv
...
A router should turn into a router after receiving a valid router advertisement.
2015-09-20 18:15:27 +02:00
Martine Lenders
f3b9e5fa8e
gnrc_sixlowpan_nd_router: cast before shifting
...
`avr-gcc` was complaining about shifting the value out of the width of
type. This is a fix for that.
2015-09-20 16:04:30 +02:00
Joakim Nohlgård
98c465008b
all: Update @gebart family name, email
2015-09-20 13:47:39 +02:00
Oleg Hahm
38148c2d48
xtimer: initialize struct members
...
The xtimer_t struct members target and long_target are used in _is_set() function in xtimer_remove(), but will be uninitialized.
2015-09-20 02:00:55 +02:00
Oleg Hahm
e15bdd257a
debug: replace __FILE__ by RIOT_RELATIVE_FILE
2015-09-20 01:51:47 +02:00
Oleg Hahm
fac95806a8
sys: replace DEBUGF with corresponding DEBUG calls
2015-09-20 01:51:47 +02:00
Joakim Gebart
0cfe6d15dc
sys/posix/pthread: Replace dINT by disableIRQ
2015-09-19 10:35:58 +02:00
Martine Lenders
b3c16b3abc
Merge pull request #3892 from authmillenon/gnrc_sixlowpan_nd/fix/nd-state-machine
...
gnrc_sixlowpan_nd: activate NC state machine
2015-09-19 04:04:45 +02:00
Martine Lenders
53fd4b6239
sc_ipv6_nc: Use more letters for type
...
I was myself a little confused when I saw `R` for a registered address,
since I interpreted it as "router" (though the node wasn't supposed to
be a router). After a wild goose chase for wrongly set flags through the
code I found that `R` stands for "REGISTERED". To prevent such a thing
in the future I opted for fixing this in the output.
2015-09-18 15:59:33 +02:00
Martine Lenders
c24fc4b2d6
Merge pull request #3875 from authmillenon/gnrc_sixlowpan_nd/fix/register-new-addr
...
gnrc_sixlowpan_nd: register new addresses for AAC
2015-09-18 01:45:16 +02:00
Martine Lenders
802e229bcb
gnrc_sixlowpan_nd: register new addresses for AAC
2015-09-18 00:23:12 +02:00
Martine Lenders
1682b76866
gnrc_ndp_internal: adapt nbr_sol send function to get src
2015-09-18 00:23:12 +02:00
Martine Lenders
79c1240590
gnrc_sixlowpan_nd: activate NC state machine
2015-09-18 00:12:19 +02:00
Martine Lenders
fdd255367c
Merge pull request #3878 from authmillenon/net_help/clean/rm
...
net_help: remove net_help module
2015-09-17 15:24:23 +02:00
Oleg Hahm
b19592c478
Merge pull request #3883 from OlegHahm/6lowpan_nd_nce_tentative
...
6lowpan nd: tentative NCE is like no NCE
2015-09-17 14:27:38 +02:00
Martine Lenders
15e6e65b11
Merge pull request #3841 from OlegHahm/slip_write_blocking
...
gnrc slip: use blocking uart writing
2015-09-17 13:55:56 +02:00
Martine Lenders
97aa4da198
net_help: remove net_help module
...
Its functionality is now divided up into several helper modules that are
already used through-out RIOT.
2015-09-17 13:32:39 +02:00
Oleg Hahm
d8824bd0c5
6lowpan nd: tentative NCE is like no NCE
2015-09-17 12:47:56 +02:00
Martine Lenders
4afecc9a87
Merge pull request #3860 from OlegHahm/gnrc_various_fixes
...
gnrc: various fixes
2015-09-17 12:40:33 +02:00
Oleg Hahm
73fe4d4e55
gnrc slip: use blocking uart writing
2015-09-17 11:48:43 +02:00
Oleg Hahm
3c6202e8ed
sixlowpan nd: ignore empty eui64 in neighbor cache
2015-09-17 11:11:26 +02:00
Oleg Hahm
d7546d0f0c
sixlowpan nd: add missing breaks for switch-case
2015-09-17 11:11:26 +02:00
Oleg Hahm
c25223cc58
ipv6 netif: don't add automatic link local address
2015-09-17 11:11:26 +02:00
Cenk Gündoğan
35df5b6857
Merge pull request #3612 from authmillenon/posix/api/inet_ntop_inet_pton
...
posix: net_help: move inet_pton/inet_ntop completely to POSIX
2015-09-17 11:08:40 +02:00
Oleg Hahm
fdf5c70ebd
ndp: another leftover from renaming...
2015-09-17 10:19:17 +02:00
Martine Lenders
108043594a
Merge pull request #3846 from OlegHahm/6lbr_address_resolution
...
6lowpan nd: always perform l2 lookup for 6LBR
2015-09-17 10:14:12 +02:00
Martine Lenders
371240e8de
Merge pull request #3874 from authmillenon/gnrc_sixlowpan_nd/fix/resched-nbr-sol
...
gnrc_sixlowpan_nd: fix reschedule of neighbor solicitations
2015-09-17 10:07:41 +02:00
Oleg Hahm
60be8fac83
sixlowpan nd: check for a potential NCE first
2015-09-17 08:56:28 +02:00
Oleg Hahm
3fee605300
6lowpan nd: always perform l2 lookup for 6LBR
2015-09-17 08:47:56 +02:00
Martine Lenders
8f2b2e15d2
Merge pull request #3836 from cgundogan/pr/ndp/rm_dupl_pio
...
ndp: pio - check if prefix has been processed before
2015-09-17 02:40:08 +02:00
Martine Lenders
08a3f0baf5
posix: net_help: move inet_pton/inet_ntop completely to POSIX
2015-09-17 02:36:08 +02:00
Martine Lenders
f1046b4e75
Merge pull request #3864 from authmillenon/posix/api/rm-strings
...
posix: remove strcasecmp functions and macros
2015-09-17 02:33:48 +02:00
Martine Lenders
1761b7b648
Merge pull request #3873 from OlegHahm/sixlowpan_nd_router_lifetime
...
6lowpan nd: set router lifetime to a default value
2015-09-17 02:30:31 +02:00
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
Martine Lenders
1486967a4b
posix: remove strcasecmp functions and macros
2015-09-16 15:40:58 +02:00
Cenk Gündoğan
55c938636b
gnrc_pktbuf_static: fix DEBUG
2015-09-16 14:35:02 +02:00
a719e7d61f
sys: xtimer: some updates
...
- more robust underflow protection in xtimer_usleep_until()
- use relative target in xtimer_spin()
- honour reference in isr when spinning until timer target
- add XTIMER_BACKOFF to xtimer_spin_until() target when backing off in
_timer_set_absolute()
- doxygen updates
2015-09-16 12:34:31 +02:00
40812e722e
sys: xtimer: use relative spin in absolute set functions
2015-09-16 11:13:42 +02:00
9203115cdc
sys: xtimer: fix xtimer_spin_until() for <32bit timers, add safety microsecond to xtimer_spin()
2015-09-16 11:13:41 +02:00
48611c0572
sys: xtimer: avoid setting timers multiple times from within ISR
2015-09-16 11:13:41 +02:00
bd19a903ab
sys: xtimer: add slow-timer-read compensation + test application
2015-09-16 11:13:41 +02:00
a0d78cf989
sys: xtimer: disable timer before shooting in isr handler
2015-09-16 10:58:56 +02:00
691fe95546
sys: xtimer: use XTIMER_SHIFT in mask, add doxygen
2015-09-16 10:58:56 +02:00
cb0337d77e
sys: xtimer: xtimer_set(): shoot directly if offset <= 1
2015-09-16 10:58:56 +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
6f21fd806c
sys: posix: pthread_cond: remove unnecessary define
2015-09-16 10:58:54 +02:00
e27ce2465f
sys: xtimer: add xtimer_wakeup64
2015-09-16 10:58:54 +02:00
fcb666dff9
sys: shell: mersenne: adapt to xtimer
2015-09-16 10:58:51 +02:00
cd715fedf6
sys: compat: remove hwtimer_compat
2015-09-16 10:58:51 +02:00
5e7036eed9
sys: introduce vtimer_compat
2015-09-16 10:58:51 +02:00
2cee6b036b
sys: remove vtimer
2015-09-16 10:58:51 +02:00
844f8a491c
sys: ps: adapt to xtimer
2015-09-16 10:58:51 +02:00
Cenk Gündoğan
067c029f92
sc_gnrc_rpl: adjust to xtimer for trickle
2015-09-16 10:58:51 +02:00
Cenk Gündoğan
052ad7cd51
trickle: switch to xtimer
2015-09-16 10:58:50 +02:00
Cenk Gündoğan
4b7a3ed236
rpl/structs.h: include vtimer
2015-09-16 10:58:50 +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
Oleg Hahm
f762d2aab2
Merge pull request #3830 from DipSwitch/fix_udp_documentation
...
doc: Fix documentation for UDP
2015-09-13 19:10:45 +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
Martine Lenders
93f555ef69
Merge pull request #3782 from OlegHahm/RIOT_assert
...
core: RIOT's own assert macro
2015-09-12 13:12:34 +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
DipSwitch
684eff4541
doc: Fix documentation for UDP
2015-09-12 12:54:56 +02:00
Oleg Hahm
dc225e2861
6lowpan nd: check for link-local first
2015-09-11 22:56:23 +02:00
Oleg Hahm
e65cc8dc6d
shell: initialize l2 addr length variable
2015-09-11 21:44:25 +02:00
Oleg Hahm
000caf4e87
shell: exit early if no IPv6 interface is found
2015-09-11 21:44:25 +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
3079b305a7
Merge pull request #3611 from authmillenon/posix/api/consolidate-include-paths
...
posix: consolidate include paths
2015-09-11 17:06:16 +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
Oleg Hahm
81a8d0e3b3
Merge pull request #3820 from authmillenon/shell/fix/output_sc_netif
...
shell: fix output for ifconfig
2015-09-11 15:52:12 +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
14ae02d768
sc_netif: piggy-back some style fixes
2015-09-11 13:14:21 +02:00
Martine Lenders
3364782614
shell: fix output for ifconfig
2015-09-11 13:13:55 +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
Oleg Hahm
e064985c1b
gnrc ipv6 netif: missing flags for 6lowpan router
2015-09-10 19:38:38 +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
Cenk Gündoğan
bad1a74b65
Merge pull request #3797 from DipSwitch/rpl_allow_instanceID_0
...
rpl: RPL Instance ID 0 must be allowed
2015-09-08 10:02:28 +02:00
DipSwitch
36d60d0c4b
rpl: Use PadN instead of 4 Pad1 options in DIS
2015-09-08 09:26:48 +02:00
DipSwitch
a3062dd8c2
rpl: RPL Instance ID 0 must be allowed
2015-09-08 09:20:20 +02:00
Oleg Hahm
3ea86c7c7a
gnrc: ipv6: netif: obey naming conventions
2015-09-07 18:32:41 +02:00
Hauke Petersen
44d4c46fc0
Merge pull request #3790 from kaspar030/fix_xtimer_usleep_until_doxygen
...
sys: xtimer: fix xtimer_usleep_until doxygen
2015-09-07 17:12:07 +02:00
Hauke Petersen
0242be0293
Merge pull request #3784 from kaspar030/workaround_shell_inline_putchar
...
sys: shell: work around inlined putchar
2015-09-07 17:10:44 +02:00
Martine Lenders
a4905b72d4
posix: consolidate include paths
2015-09-07 16:46:48 +02:00
9b07294e5b
sys: xtimer: fix xtimer_usleep_until doxygen
2015-09-07 14:23:01 +02:00
Oleg Hahm
8afecdd8a6
Merge pull request #3658 from OlegHahm/ipv6_fib
...
universal_addresses: configure sizes according to the used modules
2015-09-07 10:14:08 +02:00
Oleg Hahm
23a60e6270
universal_address: determine biggest address size
2015-09-07 09:18:30 +02:00
Oleg Hahm
7d2f414476
universal_address: make size dependent on FIB size
2015-09-07 09:18:29 +02:00
8bb6f31500
Merge pull request #2800 from kaspar030/add_driver_encx24j600
...
drivers: add driver for encx24j600 ethernet chips
2015-09-05 17:03:23 +02:00
383ada9349
sys: xtimer: always set long_target, even for short timers
2015-09-05 09:13:26 +02:00
d7b9053e23
sys: shell: work around inlined putchar
2015-09-04 19:38:16 +02:00
Hauke Petersen
7701aed546
Merge pull request #3164 from kaspar030/remove_uart0
...
sys: remove uart0
2015-09-04 18:54:30 +02:00
bd698bf574
drivers: add encx24j600 ethernet driver
2015-09-04 18:49:08 +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
e17b664e3d
sys: remove chardev_thread
2015-09-04 17:46:23 +02:00
a13bc46f3e
sys: remove uart0
2015-09-04 17:46:23 +02:00
Oleg Hahm
e2639d7f83
core: use enums for panic
2015-09-04 16:14:35 +02:00
Oleg Hahm
2d231611c7
Merge pull request #3771 from OlegHahm/ipv6_netif_more_addresses_for_router
...
ipv6: netif: compute maximum addresses
2015-09-04 16:08:14 +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
Oleg Hahm
049b9868f3
ipv6: netif: compute maximum addresses
...
RPL and ND routers need additional addresses
2015-09-04 14:52:54 +02:00
34092a3eba
sys: net: gnrc: ndp: fix type used for NETOPT_SRC_LEN
2015-09-03 23:33:41 +02:00
Hauke Petersen
076e9db374
Merge pull request #3402 from kaspar030/simplify_shell
...
sys: simplify shell
2015-09-03 15:27:01 +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
13995e878f
sys: shell: get rid of some parameters
2015-09-03 13:33:18 +02:00
Thomas Eichinger
c5a141393c
shell/netif: fix wrong type for formating
2015-09-03 11:49:57 +02:00
Thomas Eichinger
3d9b656e8a
gnrc/ndp: fix warning about double parentheses
2015-09-03 11:49:57 +02:00
Thomas Eichinger
cfea6439f6
native: fix formating warnings on OS X
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
522a7f92db
Merge pull request #3756 from OlegHahm/ipv6_netif_doc_enhancement
...
gnrc: ipv6: netif: documentation update
2015-09-02 13:06:28 +02:00
Martine Lenders
df827d9c34
Merge pull request #3752 from authmillenon/gnrc_ipv6_netif/fix/wired-flag
...
gnrc_ipv6_netif: IS_WIRED flag collides with Home Agent flag
2015-09-02 13:00:27 +02:00
Martine Lenders
6e0a44705b
sc_ipv6_nc: add capability for address-less link-layers
2015-09-02 12:51:15 +02:00
Oleg Hahm
a5b4642c0a
gnrc: ipv6: netif: documentation update
...
Added a hint to router advertisements to the IPv6 netif flag documentation.
2015-09-02 12:28:27 +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
14f3a11d33
Merge pull request #3757 from OlegHahm/gnrc_slip_auto_init_rename
...
auto_init: rename ng_slip to gnrc_slip
2015-09-02 08:53:00 +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
Oleg Hahm
3edfb772f3
auto_init: rename ng_slip to gnrc_slip
2015-09-01 19:11:30 +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
Martine Lenders
41e86bfc20
gnrc_ipv6_netif: reassign IS_WIRED flag
2015-09-01 12:49:24 +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
7b967a1e75
shell: show link-type for IPv6 interfaces
2015-09-01 11:32:16 +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
Lotte Steenbrink
9cfd2c5200
shell.h: fix tiny typo in documentation
2015-08-31 17:09:39 -07: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
27148ed0b3
Merge pull request #3734 from authmillenon/sixlowpan/api/6lo-nd-types
...
sixlowpan: initial import of 6LoWPAN-ND submodule
2015-08-31 15:35:41 +02:00
Martine Lenders
2fd1d9dc91
sixlowpan: initial import of 6LoWPAN-ND submodule
2015-08-31 15:18:42 +02:00
Martine Lenders
ef1a8ac483
ndp: update for 6LoWPAN-ND option types
2015-08-31 15:18:42 +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
Martine Lenders
36389281de
icmpv6: update for 6LoWPAN-ND message types
2015-08-27 23:37:58 +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
Oleg Hahm
4a8e897c0e
doc: minor fixing for crypto module
...
Moves the crypto module documentation to the right group and streamline the doxygen keywords.
2015-08-26 10:42:50 +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
René Kijewski
2e3a636b7e
embUnit: simplify strcmp()
implementation
...
The logic of `stdimpl_strcmp()` was needlessly complicated and not
understood by scan-build. This change fixes the warning and makes the
code more readable.
Found via scan-build.
2015-08-25 21:17:40 +02:00
René Kijewski
80fe12e483
ubjson: initialize variable in error case too
...
For an invalid input `ubjson_get_i32()` did not return a proper error
code. Because of that `_ubjson_read_length()` could have operated on
uninitialized data.
Found via scan-build.
2015-08-25 21:17:30 +02:00
bd40b2c56b
Merge pull request #3661 from authmillenon/auto_init/api/auto_init_gnrc_netif
...
sys: auto_init: rename auto_init_ng_netif to auto_init_gnrc_netif
2015-08-25 21:17:19 +02:00
Martine Lenders
8609678bcd
ng_slip: port to ng_netapi_dispatch_receive()
2015-08-25 20:40:52 +02:00
Martine Lenders
b66ada2ae7
ng_slip: fix auto initialization
2015-08-25 20:40:52 +02:00
Martine Lenders
b47c4af50b
ng_slip: fix some bugs
2015-08-25 20:40:51 +02:00
6d1aab7126
Merge pull request #2926 from kaspar030/wtimer
...
sys: add new timer subsystem
2015-08-25 19:20:07 +02:00
Andreas "Paul" Pauli
8855f593e2
Merge pull request #3676 from authmillenon/doc/fix/net
...
doc: fix and update net and net_gnrc documentation
2015-08-25 18:48:01 +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
808a8bc899
sys: xtimer: introduce new timer subsystem
2015-08-25 13:20:35 +02:00
02bc3ffb79
sys: timex: add "U" specifiers to constant definitions
2015-08-25 13:18:16 +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
ecb2bb5c2b
af: initial import of global AF_ definition header
2015-08-24 13:13:52 +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
a0b3021f60
icmpv6: remove superfluous header build functions
2015-08-22 14:32:12 +02:00
Martine Lenders
4f68b81361
doc: expand nettype doc + simplify @brief
2015-08-22 14:27:00 +02:00
Martine Lenders
2cbeab4521
doc: fix and update net and net_gnrc documentation
2015-08-22 14:27:00 +02:00
Martine Lenders
a3dfd908f5
Merge pull request #3685 from OlegHahm/dont_forward_ll
...
gnrc_ipv6: do not forward link-local packets
2015-08-22 00:02:08 +02:00
Martine Lenders
c1e24d449e
Merge pull request #3584 from cgundogan/pr/seqno
...
sys: Serial Number Arithmetic (RFC1982)
2015-08-21 23:55:08 +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
fce30a1d6c
sys/seq: Serial Number Arithmetic
2015-08-21 23:30:04 +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
942d774a44
shell: ifconfig: add support for IPv6 MTU
2015-08-21 19:05:53 +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
Oleg Hahm
bf00a19998
Merge pull request #3670 from cgundogan/pr/universal_address/docfix
...
universal_address: minor dox fixes
2015-08-20 14:48:56 +02:00
Cenk Gündoğan
5322205d34
universal_address: minor doc fixes
2015-08-20 13:59:43 +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
Martine Lenders
d438984ae5
Merge pull request #3669 from cgundogan/pr/gnrc/ipv6/remove_padding
...
gnrc_ipv6.c: remove padding added by lower layers
2015-08-20 08:35:03 +02:00
Cenk Gündoğan
29ccba3e2f
gnrc_ipv6.c: remove padding added by lower layers
2015-08-20 00:10:37 +02:00
Joakim Gebart
56b0beeebe
Merge pull request #3107 from gebart/pr/cppsupport
...
c++: Define some support functions required by GCC
2015-08-19 21:49:24 +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
c2706ef492
auto_init: rename auto_init_ng_netif to auto_init_gnrc_netif
2015-08-19 17:21:28 +02:00
Martine Lenders
4d3c55f42b
ng_slip: fix DEBUG output
2015-08-19 00:07:55 +02:00
Oleg Hahm
4d00996521
Merge pull request #3645 from authmillenon/gnrc/api/master-mv
...
gnrc: make all gnrc modules sub-modules of gnrc
2015-08-18 23:38:00 +02:00
Martine Lenders
58ff31bfe9
gnrc: make all gnrc modules sub-modules of gnrc
2015-08-18 23:00:07 +02:00
Martine Lenders
3ab2907a6e
Merge pull request #3656 from authmillenon/ipv6_addr/doc/fix
...
ipv6_addr: adapt doc to proposed changes in #3608
2015-08-18 22:36:23 +02:00
Martine Lenders
6b22e15a54
Merge pull request #3657 from cgundogan/pr/rpl/doc_verbose
...
rpl: make urls in doc more verbose
2015-08-18 20:23:44 +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
Cenk Gündoğan
28dbd1f9fa
rpl: make urls in doc more verbose
2015-08-18 19:07:15 +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
Martine Lenders
391522e1a8
ipv6_addr: adapt doc to proposed changes in #3608
2015-08-18 18:54:26 +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
acd07de676
ng_rpl: shell commands for RPL
2015-08-18 12:03:30 +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
Martine Lenders
feb8b8cc0f
Merge pull request #3639 from OlegHahm/unittest-color-output
...
Added a colored outputter to embUnit.
2015-08-17 22:06:51 +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
Janos Kutscherauer
5d7ba5b35f
Added a colored outputter to embUnit.
...
The outputter is called ColorTextOutputter and can be enabled by defining OUTPUT=COLORTEXT.
The colored outputter behaves just like the TextOutputter, but displays successful tests in GREEN and failed tests in RED. The summary message is also in GREEN/RED, but is slightly different from the TextOutputter.
Also:
* Added fancy simple none-verbose color-outputter for EmbUnit. The outputter outputs a simple statistics line in GREEN or RED, according to the test success or failure. (Also, the ColorTextOutputter was adjusted to use the statistics output of this new ColorOutputter.) The new outputter can be activated with OUTPUT=COLOR.
* Added a single character "." output for the simple color outputter and replaced the color codes by macros.
2015-08-17 15:04:27 +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
Oleg Hahm
8861834de7
Merge pull request #3641 from cgundogan/pr/netif/docfix
...
sys/include/net/ng_ipv6/netif.h: docfix
2015-08-17 12:53:45 +02:00
Cenk Gündoğan
edc609d2e2
sys/include/net/ng_ipv6/netif.h: docfix
2015-08-17 11:49:05 +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
Hauke Petersen
e93189288a
sys/libc/uio.h: added include of stdlib for size_t
2015-08-12 18:25:24 +02:00
Peter Kietzmann
5afc6700ac
Merge pull request #3616 from cgundogan/pr/shell/not_found_one_line
...
sys/shell/shell.c: command not found in one line
2015-08-12 17:11:16 +02:00
Oleg Hahm
6663679a8c
ndp: missing initialization
2015-08-12 16:09:30 +02:00
Cenk Gündoğan
4deb0213b9
sys/shell/shell.c: command not found in one line
2015-08-12 13:16:37 +02:00
Oleg Hahm
8639d2c27d
at86rf2xx: rename remaining files and variables
2015-08-11 23:52:02 +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
Oleg Hahm
9aa96509ee
Merge pull request #3441 from authmillenon/gnrc/enh/prepare-multi-ndp
...
ng_ndp: prepare for parallel NDP implementations
2015-08-11 10:02:04 +02:00
Martine Lenders
fbea5092c3
ng_ipv6_netif: add functions for routing behavior changes
2015-08-11 02:49:18 +02:00
Martine Lenders
4e5fa612c1
ng_ndp: prepare for parallel NDP implementations
2015-08-11 02:49:18 +02:00
Martine Lenders
8aa8b60807
fib: doc fix
2015-08-11 02:29:28 +02:00
Martine Lenders
2e6c974c15
Merge pull request #3568 from haukepetersen/opt_fib_ngprefix
...
net/fib: removed any ng_'s from the FIB
2015-08-11 02:28:00 +02:00
Martine Lenders
c82dfda445
Merge pull request #3567 from authmillenon/timex/enh/timex_to_str
...
timex: make timex_to_str more efficient
2015-08-11 02:21:41 +02:00
Martine Lenders
293d0e3b58
ng_netapi: enhance documentation with references
2015-08-11 01:48:28 +02:00
Martine Lenders
ea48b48dd3
timex: make timex_to_str more efficient
2015-08-11 01:33:21 +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
Hauke Petersen
b7705feeff
net/ng_nettype: added pseudo-type for IOVEC snips
2015-08-10 10:37:55 +02:00
Hauke Petersen
ae83ab52af
net/ng_pkt: added function to count snips in pkt
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
Martine Lenders
54fe08feda
Merge pull request #3591 from authmillenon/at86rf2xx/api/mv
...
at86rf2xx: remove ng_ prefix
2015-08-10 02:53:26 +02:00
Martine Lenders
8f9e1656e1
at86rf2xx: remove ng_ prefix
2015-08-10 00:08:21 +02:00
Martine Lenders
f0cb1429f0
native: rename ng_nativenet to dev_eth_tap
2015-08-09 22:04:26 +02:00
Martine Lenders
ca71ae4f59
dev_eth: fix documentation
2015-08-09 22:02:10 +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
Joakim Gebart
0a11d79e9d
sys/cpp11-compat: chrono: remove unused include cstdio
2015-08-08 14:44:41 +02:00
Joakim Gebart
d670d6eb51
sys/cpp11-compat: condition variable: fix includes
2015-08-08 14:44:41 +02:00
Joakim Gebart
248fb1c6c0
sys/cpp11-compat: Add C++ runtime helpers
...
cppsupport.cpp contains functions which are necessary in order to use
some features of the C++ language, e.g. calling static constructors or
virtual functions.
TODO/Not implemented yet:
- Test virtual functions
- Handle exceptions (stack unwinding)
- Run time type identification (RTTI)
2015-08-08 14:44:41 +02:00
Cenk Gündoğan
e24754b6eb
Merge pull request #3545 from cgundogan/pr/fib/shell
...
sys/shell: make dev parameter optional for fibroute
2015-08-08 09:22:50 +02:00
Cenk Gündoğan
6b36a0760b
sys/shell/commands/sc_fib.c: make dev param optional
2015-08-08 08:48:56 +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
59475feaff
Merge pull request #3583 from authmillenon/inet_csum/api/mv
...
inet_csum: remove ng_ prefix
2015-08-07 17:38:26 +02:00
Martine Lenders
0046d8fffb
Merge pull request #3572 from cgundogan/pr/sc_ipv6_nc/iface_optional_and_reset
...
sc_ipv6_nc: make iface optional and add reset function
2015-08-07 17:37:58 +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
Peter Kietzmann
6908e07322
Merge pull request #3578 from tfar/sandbox/tobias/2015/08/cbor_bytestring_api
...
cbor: add API to encode non null-terminated byte strings
2015-08-07 09:34:59 +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
Tobias Markmann
f5418fa666
cbor: add API to encode non null-terminated byte strings
2015-08-06 22:30:44 +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
Hauke Petersen
327de5ec06
net: made NETOPT independent from the gnrc stack
2015-08-06 15:24:52 +02:00
2633352f30
sys: make: remove obsolete ieee802154
2015-08-06 12:13:54 +02:00
a5642efc23
sys: net: remove ccnlite-ext-appserver
2015-08-06 12:13:19 +02:00
8fd237d550
sys: make: remove obsolete network Makefile includes
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
8f51256be8
sys: net: pnet: turn into dummy implementation based on gnrc
2015-08-06 12:13:19 +02:00
c60cd298c5
sys: net: get back socket_base
2015-08-06 12:13:19 +02:00
a227b7334f
sys: get back net_help include path
2015-08-06 12:13:19 +02:00
544cf33b17
sys: config: remove saving of obsolete transceiver config
2015-08-06 12:13:18 +02:00
5d8349298f
remove bulk of legacy network stack and drivers
2015-08-06 12:12:47 +02:00
Cenk Gündoğan
c7f9bce644
sc_ipv6_nc: add ncache reset functionality
2015-08-05 22:43:04 +02:00
Cenk Gündoğan
fa0b1ba441
sc_ipv6_nc: make iface optional for add
2015-08-05 22:37:25 +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
Martine Lenders
6d9b928818
Merge pull request #3536 from cgundogan/pr/doc/todo
...
Make use of doxygen todo
2015-08-05 15:59:01 +02:00
Martine Lenders
0aef65bd76
Merge pull request #3559 from OlegHahm/channel_26_as_default
...
ieee802.15.4: switch to 26 as default channel
2015-08-05 15:51:57 +02:00
Oleg Hahm
9355f05cb7
Merge pull request #3560 from gebart/pr/newlib-getpid_r
...
sys/newlib: Small fixes
2015-08-05 15:50:08 +02:00
Cenk Gündoğan
71e57aa5bf
ng_ipv6: minor debug output fix
2015-08-05 14:17:25 +02:00
Cenk Gündoğan
09aeb31f1a
ng_ndp: minor doc fix
2015-08-05 14:16:59 +02:00
Peter Kietzmann
1e2fd34d1e
Merge pull request #3557 from OlegHahm/debug_cleanup
...
debug cleanup
2015-08-05 08:26:13 +02:00
Joakim Gebart
05fd5c16eb
sys/newlib/syscalls.c: Clean up _sbrk_r implementation
2015-08-04 21:05:08 +02:00
Joakim Gebart
e7bb223eaa
sys/newlib/syscalls.c: Clean up function prototypes
2015-08-04 21:04:34 +02:00
Joakim Gebart
b52c93fdc2
sys/newlib/syscalls.c: Add _getpid_r implementation
2015-08-04 19:55:49 +02:00
Oleg Hahm
761183bfd7
ieee802.15.4: switch to 26 as default channel
...
In order to avoid collisions with IEEE 802.11b networks, channel 25 or
26 is the best choice.
See for instance https://www.cs.umd.edu/~ctas/bibs/2007/4.pdf
2015-08-04 18:02:27 +02:00
Oleg Hahm
ebd68b21f4
ccn-lite: initialize pointer
2015-08-04 17:54:27 +02:00
Oleg Hahm
4f4b924e6f
crypto: replaced printf with DEBUGF
...
also getting rid of non-ISO compliant __FUNCTION__ macros
2015-08-04 17:47:40 +02:00
Joakim Gebart
e6a1366bec
ng_sixlowpan: Fix typo in preprocessor condition for calling pktbuf statistics
2015-08-04 17:25:21 +02:00
Benoît Canet
22da1f834b
native: ng: net: Close tap device and cleanup on reboot
2015-08-03 18:17:53 +02:00
Oleg Hahm
64544ee927
Merge pull request #3543 from cgundogan/pr/universal_address/cleanup
...
sys/universal_address: Makefile cleanup
2015-08-03 12:23:36 +02:00
BytesGalore
f3494b12f5
Merge pull request #3542 from cgundogan/pr/trickle/cleanup
...
sys/trickle: Makefile and include guards cleanup
2015-08-03 11:22:39 +02:00
Cenk Gündoğan
a2f4d990c6
sys/universal_address: Makefile cleanup
2015-08-03 11:18:16 +02:00
Cenk Gündoğan
355e60c5ff
timex: use doxygen todo
2015-08-03 11:00:21 +02:00
Cenk Gündoğan
7d2fdc528e
ng_zep: use doxygen todo
2015-08-03 11:00:21 +02:00
Cenk Gündoğan
ee133344bd
ng_icmpv6: use doxygen todo
2015-08-03 11:00:21 +02:00
Cenk Gündoğan
0d73cd301d
ng_fib: use doxygen todo
2015-08-03 11:00:21 +02:00
Cenk Gündoğan
a6f04dd090
cbor: use doxygen todo
2015-08-03 11:00:21 +02:00
Cenk Gündoğan
0738f67de0
Merge pull request #3017 from BytesGalore/fix_remove_misplaced_usemodule
...
sys/Makefile: del `USEMODULE`s for `transport_layer` already present in `Makefile.dep`
2015-08-03 10:55:46 +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
Cenk Gündoğan
4a21c54547
sys/trickle: Makefile and include guard cleanup
2015-08-03 10:36:48 +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
Martine Lenders
59e15220c2
Merge pull request #3533 from cgundogan/pr/ng_pktbuf_static/enhanced_pktbuf_contains
...
ng_pktbuf_static: enhance _pktbuf_contains
2015-07-31 19:40:17 +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
Cenk Gündoğan
58b672f83d
ng_pktbuf: minor doc fixes
2015-07-31 18:26:00 +02:00
Martine Lenders
5174f75bc2
ng_ipv6_netif: find source addresses for destinations from other subnets
2015-07-31 00:11:02 +02:00
Lotte Steenbrink
02f502ddab
Merge pull request #3492 from BytesGalore/fib_changed_prefix_size_name
...
fib: changed misleading parameter name and documentation
2015-07-30 23:31:32 +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
Hauke Petersen
db862f13a1
sys/shell_commands: fixed formatting in Makefile
2015-07-30 15:15:31 +02:00
Cenk Gündoğan
56170819d9
ng_fib: fix fib_print_address typo
2015-07-30 12:31:44 +02:00
Martine Lenders
c699fbaaf0
Merge pull request #3448 from authmillenon/ng_netreg/doc/its-a-trap
...
ng_netreg: warn about context overwrite
2015-07-29 14:22:19 +02:00
Martine Lenders
611e7f9335
ng_sixlowpan_frag: preempt fragmentation
2015-07-29 13:53:47 +02:00
Martine Lenders
074bb83628
auto_init: make MAC priorities higher than IPv6's
...
(and equal to 6LoWPAN's)
2015-07-29 13:51:07 +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
Oleg Hahm
60198e494c
Merge pull request #3515 from haukepetersen/rm_net_deprecated
...
net: removed deprecated non-gnrc netapi
2015-07-29 01:07:21 +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
Martine Lenders
41b0a2661a
ng_pktbuf: simplify API by extension
...
This simplifies the `ng_pktbuf` API by adding a new function
`ng_pktbuf_mark()` which takes over some functionality of
`ng_pktbuf_add()`. `size == 0` for `ng_pktbuf_add()` is now illegal.
2015-07-29 00:47:29 +02:00
Martine Lenders
9aff73b4a9
Merge pull request #3514 from authmillenon/shell/fix/icmpv6-stupid
...
shell: sc_icmpv6_echo: prepare for stupid users
2015-07-28 23:58:27 +02:00
Martine Lenders
952bee6804
Merge pull request #3513 from authmillenon/shell/fix/icmpv6_echo_pktbuf_full
...
shell: sc_icmpv6_echo: don't fail if packet buffer is full
2015-07-28 23:18:33 +02:00
Hauke Petersen
bce198ebf8
net: removed deprecated non-gnrc netapi
2015-07-28 23:10:21 +02:00
Martine Lenders
ce9b6e1990
shell: sc_icmpv6_echo: prepare for stupid users
2015-07-28 23:05:15 +02:00
Martine Lenders
e9cbadd3cd
shell: sc_icmpv6_echo: don't fail if packet buffer is full
2015-07-28 22:35:20 +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
6a868d5f4c
gnrc: rename ng_netconf to ng_netopt
...
Since [NETCONF](https://tools.ietf.org/html/rfc4741 ) is also a network
protocol, the naming of this module already led to some issues regarding
communicating about it. This is just an initial rename commit to ask for
comments. If there is interest I will adapt the code using the types
defined here.
2015-07-28 13:30:17 +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
BytesGalore
a0c891b5db
sys/Makefile: removed USEMODULE
s for transport_layer
already present in Makefile.dep
2015-07-27 14:04:30 +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
Tobias Markmann
f5a991c476
shell: Fix statistic calculation in ping shell command
2015-07-26 16:15:30 +02:00
Martine Lenders
58d6f124b0
shell: ifconfig add capability to (un)set IPHC
2015-07-23 17:03:34 +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
Lucas Jenß
b7bf949484
Merge pull request #2759 from x3ro/pr-1342-cryptofoo
...
Unified Cipher API and Block cipher operation modes: ECB, CBC, CTR and CCM
2015-07-22 21:16:32 +02:00
Martine Lenders
139a056f9c
Merge pull request #3479 from OlegHahm/sc_netif_default_prefix_len
...
shell: set default prefix length to 64 for ifconfig
2015-07-22 20:53:42 +02:00
Cenk Gündoğan
d4f5715a58
Merge pull request #3477 from OlegHahm/increase_ipv6_netif_numof
...
ipv6: increase number of addresses per interface
2015-07-22 20:51:33 +02:00
Oleg Hahm
3bae1a7066
shell: set default prefix length to 64 for ifconfig
2015-07-22 20:19:49 +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
2ffd688e66
ipv6: increase number of addresses per interface
2015-07-22 19:54:12 +02:00
Nico von Geyso
4a4235c622
Unified Cipher API and Block cipher operation modes
2015-07-22 19:18:34 +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
75f38c026b
Merge pull request #3412 from OlegHahm/doxygen_fixes_ng
...
doxygen: documentation hierarchy fixes
2015-07-21 11:04:42 +02:00
Oleg Hahm
8b23e90883
doc: fix doxygen group for dev_eth_autoinit
2015-07-21 10:00:11 +02:00
Oleg Hahm
6dd92dcab8
doc: fix doxygen group for RPL SRH
2015-07-21 10:00:11 +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
Oleg Hahm
f10cd90b31
Merge pull request #3447 from OlegHahm/fix_unsigned_char_in_od
...
od: signedness and constantness of input parameter
2015-07-20 18:15:30 +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
Oleg Hahm
94596cdd10
od: input parameter should be constant
2015-07-20 14:00:04 +02:00
Oleg Hahm
13b776194d
od: fixed signedness of input data
2015-07-20 14:00:04 +02: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
cc9af00789
aodvv2: tidy debug output, remove VDEBUG(), add LOG()
2015-07-19 10:11:16 -07:00
Lotte Steenbrink
b63625679b
fib: check dst and next_hop for invalid pointers
2015-07-19 10:05:20 -07:00
Martine Lenders
7885c486cf
ng_netreg: warn about context overwrite
2015-07-19 11:22:29 +02:00
René Kijewski
06da693933
Merge pull request #3443 from authmillenon/random/doc/fix-range
...
random: fix doc of genrand_uint32_range()
2015-07-18 19:13:04 +02:00
Lucas Jenß
38a5f410a3
Merge pull request #3442 from cgundogan/trickle_remove_rpl_dep
...
sys/trickle: remove unneccessary rpl.h include
2015-07-18 17:47:36 +02:00
Cenk Gündoğan
ec2c52b62f
sys/trickle: remove unneccessary rpl.h include
2015-07-18 17:44:15 +02:00
Martine Lenders
b9f4cfbcd9
random: fix doc of genrand_uint32_range()
2015-07-18 17:40:09 +02:00
Martine Lenders
2b5a9049f4
Merge pull request #3440 from authmillenon/random/feat/range
...
random: provide range functionality
2015-07-18 17:37:59 +02:00
Martine Lenders
94f913c204
random: provide range functionality
2015-07-18 17:13:00 +02:00
Martine Lenders
1b47066548
Merge pull request #3436 from kaspar030/fix_NG_NETIF_NUMOF_compile_warning
...
sys: shell: commands: fix NG_NETIF_NUMOF related compile warning
2015-07-18 13:23:52 +02:00
80ed1d84a0
sys: shell: commands: fix NG_NETIF_NUMOF related compile warning
2015-07-17 12:18:07 +02: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