Commit graph

1681 commits

Author SHA1 Message Date
adamdunkels
ca359a6314 Removed the explicit header buffer; both the header and data are not in the same 'physical' buffer. Added function for copying referenced data into the rimebuf. 2007-03-13 10:28:16 +00:00
adamdunkels
21ef887f07 +Documentation 2007-03-13 10:27:36 +00:00
adamdunkels
2d7aab3ffe Initial import of the experimental Rime code into the SourceForge CVS. 2007-02-28 16:38:51 +00:00
bg-
abbde5d8fa * Use convince macro uip_ipaddr_to_quad.
* Printf format check and fix format strings.

* More info in some printfs.

* Be conservative about keeping working routes in RREQ (forward) path.

* Put some spacing between forwarded packet and RREQ.
2007-02-01 14:33:05 +00:00
bg-
539ad552bd * Convince macro uip_ipaddr_to_quad. 2007-02-01 14:27:17 +00:00
bg-
90cbfbba9c * Conditional compilation on CC2420_RADIO rather than TMOTE_SKY. 2007-01-24 16:32:34 +00:00
oliverschmidt
cada8d324f Up to now the DNS resolver relied on the uIP 1/2 second polling for its retry management (implementing a linear back-off). But Contiki 2.x uIP doesn't implement the 1/2 second polling for UDP connections anymore! Therefore I added an event timer to the DNS resolver for its retry management. I went for a 1 second interval (still with the same linear back-off) as compromise between officially recommended longer intervals (i.e. BIND with 5 seconds and exponential back-off) and a reasonable user experience for the self induced packet loss in ARP setups. 2007-01-07 13:52:25 +00:00
adamdunkels
35395c10e0 Added *experimental* module for sending raw (non-routed) packets from Contiki. The name of the module is likely to change. 2006-10-22 12:31:46 +00:00
adamdunkels
528760f924 Updated code 2006-10-09 11:53:56 +00:00
adamdunkels
a2befb9dd0 Made headercompression work on external buffer 2006-10-09 11:53:43 +00:00
adamdunkels
e117830406 Must reset uip_slen to zero after transmit to avoid confusing uIP if it is invoked after this function 2006-09-26 22:12:59 +00:00
adamdunkels
b9607d3be2 Fixed the order of the statistics fields, added UIP_APPDATA_PTR pointer that always points to the application data space in the uip_buf buffer, added the documentation for an uip_ipaddr_isbroadcast() function. 2006-09-26 21:02:35 +00:00
oliverschmidt
9e9677b4f0 Added the CCIF (Contiki Core InterFace) declarations necessary for a loadable ARP handler. 2006-09-23 20:10:08 +00:00
oliverschmidt
3e92f843ba More uip_ipaddr_t fixes. 2006-09-18 23:27:42 +00:00
oliverschmidt
83561d8963 Added the CCIF (Contiki Core InterFace) declarations necessary for a loadable packet driver. 2006-09-09 23:24:39 +00:00
bg-
35e6053795 Use ticks for s.ticks. 2006-09-07 15:57:59 +00:00
adamdunkels
b8bf33f53f Functions for sending individual UDP datagrams 2006-08-31 09:35:27 +00:00
oliverschmidt
98bb911ffa Avoid compiler warnings. 2006-08-27 00:07:15 +00:00
oliverschmidt
424fde144d Added the CCIF (Contiki Core InterFace) declarations used by the applications which are currently part of the Win32 build. 2006-08-26 23:54:00 +00:00
oliverschmidt
3aa884cb20 Get uip_ethaddr declaration. 2006-08-26 23:40:46 +00:00
bg-
f0a14fbeae * Some ntohs stuff.
* Etimer package only allows you to sleep half as many ticks as one
  would expect. Adjust for this.
2006-08-17 12:51:07 +00:00
oliverschmidt
5bd04b9c0d Avoid compiler warnings. 2006-08-14 23:31:40 +00:00
bg-
eb7fcb54b4 * Change uip_ipaddr_t to be initialized from bytes rather than 2006-08-14 13:58:28 +00:00
oliverschmidt
ffb4edc3e3 Removed designated union initializers from recent change to avoid dependence on ISO C99 compliant compilers. 2006-08-13 14:53:45 +00:00
oliverschmidt
fab4acbfe4 Avoid compiler warning. 2006-08-13 14:06:24 +00:00
bg-
e8030141f2 More uip_ipaddr_t fixes. 2006-08-10 16:43:32 +00:00
bg-
fb94d50410 Change typedef of uip_ipaddr_t from a vector type to a union.
typedef union uip_ip4addr_t {
  u16_t u16[2];
  u8_t  u8[4];
} uip_ip4addr_t;

typedef uip_ip4addr_t uip_ipaddr_t;

This implies that one must consistently pass pointers to
uip_ipaddr_t:s and not mix and match pointers with
uip_ipaddr_t:s as was done earlier.
2006-08-09 16:13:39 +00:00
nifi
8ed2e44003 changed to use constant instead of numeric value 2006-07-07 06:45:45 +00:00
gpz
82170f0015 added cast in line 254 to make cc65 happy 2006-06-24 17:59:28 +00:00
adamdunkels
5221a7b124 Moved PPP code that was inadvertedly put into the net/ directory into its own ppp/ subdirectory 2006-06-17 22:48:08 +00:00
adamdunkels
c9e808d638 Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-17 22:41:10 +00:00