nvt-se
9765df97e5
support udp_broadcast_new also when using IPv6. Suggested by Wolf-Bastian Pttner.
2009-04-13 19:54:07 +00:00
nvt-se
461ba4082c
in case UIP_CONF_ROUTING is set, check if we have a registered routing
...
module and use it for looking up the next hop of an address.
2009-04-06 13:18:12 +00:00
adamdunkels
4ec5167276
Rewrote the tcpip_output() and tcpip_set_outputfunc() so that the latter is a proper function (which simplifies debugging) and so that tcpip_output() checks if the output callback function is NULL before calling it
2009-02-20 21:21:56 +00:00
julienabeille
10deaa6fc6
Removed CLOCK_SECOND from stimers in uIPv6, stimers are already in seconds
2009-02-20 07:59:35 +00:00
oliverschmidt
75ffd0640c
Inform user about (most likely unintentional) call of dummy_tcpip_output_function.
2008-11-10 21:00:53 +00:00
adamdunkels
3b283a5ff3
Added dummy function so that tcpip_output() always is defined, even if tcpip_set_outputfunc() never has been called. This fixes a bug with programs attempting to use the network when compiled for the native platform.
2008-11-09 12:29:24 +00:00
adamdunkels
e931260603
Added more curly brackets to ensure ANSI C compliance when UIP_TCP is defined;
2008-10-15 08:52:30 +00:00
adamdunkels
91910f82dd
added curly brackets to ensure ANSI C compliance when UIP_TCP is defined; some automatic whitespace removal
2008-10-15 07:59:34 +00:00
julienabeille
f95cdc5abb
Main uIPv6 files addition
2008-10-14 09:40:56 +00:00
adamdunkels
31ea41d8db
Changed the name of UIP_CONF_TCP_FORWARD to UIP_CONF_IP_FORWARD since forwarding is done at the IP level
2008-05-14 19:19:28 +00:00
oliverschmidt
59145615b0
Changed packet forwarding from a runtime option to a compiletime option. This avoids pulling in uip-fw.o if forwarding isn't required (saves > 1400 bytes on 6502 targets).
...
*** This change breaks all platforms calling tcpip_set_forwarding() ! These calls were intentionally not removed as they need to be replaced by setting the new compiletime option UIP_CONF_TCP_FORWARD - which should be done by the platform owners. ***
2008-03-29 15:19:25 +00:00
oliverschmidt
29b2d1d236
Allow to link with UIP_CONF_ACTIVE_OPEN set to 0.
2007-12-08 23:06:02 +00:00
matsutsuka
a6527b34d9
When UIP_UDP is off, turn off udp functions more accurately.
2007-09-29 03:54:18 +00:00
oliverschmidt
5f3296e943
Changed packet drivers from services to plain processes.
...
Now tcpip_output() is a function pointer that is supposed to be set via the macro tcpip_set_outputfunc(). Packet drivers do so on process startup.
Thus if there are several packet drivers in a Contiki system the one started last is the one actually used. This behaviour is especially useful for the 'IP forwarding' "meta" packet driver.
2007-05-20 21:29:39 +00:00
oliverschmidt
c32b2ca581
Replaced function with macro.
2007-05-20 00:04:18 +00:00
bg-
7ec3d191a2
* Need to track if we at the moment are doing forwarding or sending.
2007-05-08 08:28:59 +00:00
adamdunkels
2b119b054e
const qualifiers
2007-03-15 19:41:29 +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
adamdunkels
c9e808d638
Import of the contiki-2.x development code from the SICS internal CVS server
2006-06-17 22:41:10 +00:00