Commit Graph

120 Commits

Author SHA1 Message Date
Simon Duquennoy 4018b31123 Removed need for global uip_ext_opt_offset 2018-10-18 15:50:54 +02:00
Simon Duquennoy d4bc09e002 Move function for clearing uip_buf to uipbuf module 2018-10-18 15:50:54 +02:00
Simon Duquennoy b4d45d7f56 Removed comment that was no longer necessary 2018-10-18 15:50:54 +02:00
Simon Duquennoy 22f4a19994 Clean up usage of uip_ext_len 2018-10-18 15:50:34 +02:00
Simon Duquennoy 56b85b6475 uip.h: clarify comment 2018-10-17 17:47:57 +02:00
Simon Duquennoy 3384de64b7 Rework buffer access in roll-tm.c 2018-10-17 17:37:12 +02:00
Simon Duquennoy 0531c555e8 Minor enhancements to uip6.c 2018-10-17 17:25:04 +02:00
Simon Duquennoy bbb641a450 Rework uip-nd6 buffer access 2018-10-17 17:24:53 +02:00
Simon Duquennoy 01b795a4c2 Rework uIP6 extension header options access 2018-10-17 17:07:17 +02:00
Simon Duquennoy 8152342c11 Rework uIP6 extension header access 2018-10-17 16:33:48 +02:00
Simon Duquennoy 4035d840dd Rework uip.h buffer definitions 2018-10-17 16:25:17 +02:00
Simon Duquennoy a528395eb2 roll-tm.c: removing unused define 2018-10-17 16:20:34 +02:00
Simon Duquennoy 59852d33f2 Use global uip.h buffer definitions in a number of other modules 2018-10-17 16:20:34 +02:00
Simon Duquennoy 86e9790e6e Minor improvement to uip.h 2018-10-17 16:20:15 +02:00
Simon Duquennoy 2f9b60215e Removing tcpip and udpip data strcutures, unsafe in cases with IPv6 extension headers 2018-10-17 11:22:05 +02:00
Simon Duquennoy 1bd9ac781b Define ICMP, UDP, and TCP buffer pointers globally in uip.h 2018-10-17 11:18:32 +02:00
Simon Duquennoy caa02ae51e Define UIP_IP_BUF globally in uip.h 2018-10-17 11:18:32 +02:00
Simon Duquennoy ee5b722c65 uip.h: removed unused define 2018-10-17 11:18:32 +02:00
Simon Duquennoy b56ff259dc uIP: remove leftover IPv4 code 2018-10-17 11:18:20 +02:00
Rehan MALAK cc7c2312ec missing header inttypes.h 2018-09-21 10:15:43 +02:00
Simon Duquennoy ba8f8b9bda
Merge branch 'develop' into bugfix/mcast-stats 2018-09-16 20:03:30 +02:00
Afonso Oliveira 1e7e721395 correct identation 2018-09-10 10:49:06 +01:00
Afonso Oliveira 81429bf499 Merge branch 'develop' of https://github.com/contiki-ng/contiki-ng into develop 2018-09-10 10:42:48 +01:00
George Oikonomou bf9fa6d34f Fix multicast engine stats extension usage 2018-09-09 20:25:21 +01:00
Afonso Oliveira 57f1042bf3 add qualifier const to uip-ds6-route methods 2018-09-07 16:39:53 +01:00
Andreas Urke b18320415d Fix incorrect parsing of record TTL into expiration time 2018-08-30 13:48:36 +02:00
Toshio Ito 840bab8f6c uip_icmp6_send: move log messages at the end of function.
It prints UIP_IP_BUF->destipaddr, but this is updated in the middle of
this function. Before this fix, the address was NOT the destination of
the ICMPv6 packet, but was whatever destination that previous operation
wrote to uip_buf.
2018-07-06 13:46:36 +09:00
Simon Duquennoy 95208a804a Deployment: use node-id for compact address logging 2018-06-06 15:38:26 +02:00
George Oikonomou 92e4ff3ef4 Tidy-up doxygen for uiplib 2018-05-26 02:22:43 +01:00
Simon Duquennoy bc9934ee5a Implement function uip_sr_link_snprint 2018-05-18 08:43:19 -07:00
George Oikonomou a0f43087e3
Merge branch 'develop' into neighbor-discovery-bug 2018-05-18 13:40:06 +01:00
Rehan MALAK dc46ae2033 better clarity of memcmp test 2018-05-18 00:57:26 +02:00
Simon Duquennoy ff1f57509a Introduce UIPLIB_IPV6_MAX_STR_LEN 2018-05-16 12:25:42 -07:00
Simon Duquennoy 29061e9885 Rework uiplib_ipaddr_snprint, and use it from logging module and shell 2018-05-16 12:25:41 -07:00
Rehan MALAK 8cae7a9a91 Fix neighbor discovery bug
return value of memcmp is positive or negative or null
and should not be cast in an uint8_t

make -C "tests/09-ipv6" works now on 64bits
2018-05-16 20:57:47 +02:00
kkrentz c89a513ad1 uip-ds6.c: Avoid compilation warning 2018-05-14 09:22:45 -07:00
Simon Duquennoy d22ab9413d Various logging improvements 2018-05-14 03:02:12 -07:00
Simon Duquennoy 981c8fbe30 Fix uip6 log 2018-05-13 06:41:35 -07:00
Simon Duquennoy 9de0f76b83 Merge remote-tracking branch 'origin/develop' into contrib/sicslowpan 2018-05-13 06:41:12 -07:00
kkrentz 4ba95b0768 uip-ds6.c: Compacted code for deriving IIDs from short addresses 2018-05-12 02:42:53 -07:00
kkrentz 21dd6209ff uip: Support for IEEE 802.15.4 short addresses 2018-05-12 02:29:33 -07:00
George Oikonomou b45d284be2 Merge branch 'release-4.1' into develop 2018-05-09 22:18:01 +01:00
Niclas Finne 01a4b38fc8 uiplib: ensure string is null-terminated when printing unspecified address 2018-04-25 16:53:46 +02:00
Simon Duquennoy f9a1f958e1 Merge remote-tracking branch 'origin/release-4.1' into develop 2018-04-20 08:37:14 -07:00
Simon Duquennoy eae1e7eb5a sicslowpan: abort fragmentation in case the header does not fit the first fragment 2018-04-11 04:19:03 -07:00
Simon Duquennoy 0c9d2b4049 sicslowpan: when compressing, make sure never to overflow packetbuf with headers 2018-04-11 02:07:25 -07:00
Simon Duquennoy 8abd9ad984
Merge branch 'develop' into pr/ndc-bugfix 2018-04-07 14:30:04 +02:00
Simon Duquennoy b45276775e sicslowpan: fix compilation with fragmentation disabled 2018-04-06 12:47:09 -07:00
Simon Duquennoy 07c3e411ea Fix typos in comments 2018-04-06 12:47:08 -07:00
Simon Duquennoy b10274d042 sicslowpan: neater logs 2018-04-06 12:47:08 -07:00