OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [Common/] [ethernet/] [FreeTCPIP/] [net/] [uipopt.h] - Blame information for rev 606

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 606 jeremybenn
/**
2
 * \addtogroup uip
3
 * @{
4
 */
5
 
6
/**
7
 * \defgroup uipopt Configuration options for uIP
8
 * @{
9
 *
10
 * uIP is configured using the per-project configuration file
11
 * "uipopt.h". This file contains all compile-time options for uIP and
12
 * should be tweaked to match each specific project. The uIP
13
 * distribution contains a documented example "uipopt.h" that can be
14
 * copied and modified for each project.
15
 *
16
 * \note Contiki does not use the uipopt.h file to configure uIP, but
17
 * uses a per-port uip-conf.h file that should be edited instead.
18
 */
19
 
20
/**
21
 * \file
22
 * Configuration options for uIP.
23
 * \author Adam Dunkels <adam@dunkels.com>
24
 *
25
 * This file is used for tweaking various configuration options for
26
 * uIP. You should make a copy of this file into one of your project's
27
 * directories instead of editing this example "uipopt.h" file that
28
 * comes with the uIP distribution.
29
 */
30
 
31
/*
32
 * Copyright (c) 2001-2003, Adam Dunkels.
33
 * All rights reserved.
34
 *
35
 * Redistribution and use in source and binary forms, with or without
36
 * modification, are permitted provided that the following conditions
37
 * are met:
38
 * 1. Redistributions of source code must retain the above copyright
39
 *    notice, this list of conditions and the following disclaimer.
40
 * 2. Redistributions in binary form must reproduce the above copyright
41
 *    notice, this list of conditions and the following disclaimer in the
42
 *    documentation and/or other materials provided with the distribution.
43
 * 3. The name of the author may not be used to endorse or promote
44
 *    products derived from this software without specific prior
45
 *    written permission.
46
 *
47
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
48
 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
49
 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
50
 * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
51
 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
52
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
53
 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
54
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
55
 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
56
 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
57
 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
58
 *
59
 * This file is part of the uIP TCP/IP stack.
60
 *
61
 * $Id: uipopt.h 2 2011-07-17 20:13:17Z filepang@gmail.com $
62
 *
63
 */
64
#ifndef __UIPOPT_H__
65
#define __UIPOPT_H__
66
 
67
#ifndef UIP_LITTLE_ENDIAN
68
#define UIP_LITTLE_ENDIAN       3412
69
#endif /* UIP_LITTLE_ENDIAN */
70
#ifndef UIP_BIG_ENDIAN
71
#define UIP_BIG_ENDIAN  1234
72
#endif /* UIP_BIG_ENDIAN */
73
 
74
#include "uip-conf.h"
75
//_RB_#include "contiki-conf.h"
76
 
77
/*------------------------------------------------------------------------------*/
78
 
79
/**
80
 * \defgroup uipoptstaticconf Static configuration options
81
 * @{
82
 *
83
 * These configuration options can be used for setting the IP address
84
 * settings statically, but only if UIP_FIXEDADDR is set to 1. The
85
 * configuration options for a specific node includes IP address,
86
 * netmask and default router as well as the Ethernet address. The
87
 * netmask, default router and Ethernet address are applicable only
88
 * if uIP should be run over Ethernet.
89
 *
90
 * This options are meaningful only for the IPv4 code.
91
 *
92
 * All of these should be changed to suit your project.
93
 */
94
 
95
/**
96
 * Determines if uIP should use a fixed IP address or not.
97
 *
98
 * If uIP should use a fixed IP address, the settings are set in the
99
 * uipopt.h file. If not, the macros uip_sethostaddr(),
100
 * uip_setdraddr() and uip_setnetmask() should be used instead.
101
 *
102
 * \hideinitializer
103
 */
104
#ifdef UIP_CONF_FIXEDADDR
105
#define UIP_FIXED_ADDR UIP_CONF_FIXEDADDR
106
#define UIP_FIXEDADDR   1
107
#endif
108
 
109
/**
110
 * Ping IP address assignment.
111
 *
112
 * uIP uses a "ping" packets for setting its own IP address if this
113
 * option is set. If so, uIP will start with an empty IP address and
114
 * the destination IP address of the first incoming "ping" (ICMP echo)
115
 * packet will be used for setting the hosts IP address.
116
 *
117
 * \note This works only if UIP_FIXEDADDR is 0.
118
 *
119
 * \hideinitializer
120
 */
121
#ifdef UIP_CONF_PINGADDRCONF
122
#define UIP_PINGADDRCONF        UIP_CONF_PINGADDRCONF
123
#else /* UIP_CONF_PINGADDRCONF */
124
#define UIP_PINGADDRCONF        0
125
#endif /* UIP_CONF_PINGADDRCONF */
126
 
127
/**
128
 * Specifies if the uIP ARP module should be compiled with a fixed
129
 * Ethernet MAC address or not.
130
 *
131
 * If this configuration option is 0, the macro uip_setethaddr() can
132
 * be used to specify the Ethernet address at run-time.
133
 *
134
 * \hideinitializer
135
 */
136
#define UIP_FIXEDETHADDR        0
137
 
138
/** @} */
139
 
140
/*------------------------------------------------------------------------------*/
141
 
142
/**
143
 * \defgroup uipoptip IP configuration options
144
 * @{
145
 *
146
 */
147
 
148
/**
149
 * The IP TTL (time to live) of IP packets sent by uIP.
150
 *
151
 * This should normally not be changed.
152
 */
153
#define UIP_TTL 64
154
 
155
/**
156
 * The maximum time an IP fragment should wait in the reassembly
157
 * buffer before it is dropped.
158
 *
159
 */
160
#define UIP_REASS_MAXAGE        60      /*60s*/
161
 
162
/**
163
 * Turn on support for IP packet reassembly.
164
 *
165
 * uIP supports reassembly of fragmented IP packets. This features
166
 * requires an additional amount of RAM to hold the reassembly buffer
167
 * and the reassembly code size is approximately 700 bytes.  The
168
 * reassembly buffer is of the same size as the uip_buf buffer
169
 * (configured by UIP_BUFSIZE).
170
 *
171
 * \note IP packet reassembly is not heavily tested.
172
 *
173
 * \hideinitializer
174
 */
175
#ifdef UIP_CONF_REASSEMBLY
176
#define UIP_REASSEMBLY  UIP_CONF_REASSEMBLY
177
#else /* UIP_CONF_REASSEMBLY */
178
#define UIP_REASSEMBLY  0
179
#endif /* UIP_CONF_REASSEMBLY */
180
 
181
/** @} */
182
 
183
/*------------------------------------------------------------------------------*/
184
 
185
/**
186
 * \defgroup uipoptipv6 IPv6 configuration options
187
 * @{
188
 *
189
 */
190
 
191
/** The maximum transmission unit at the IP Layer*/
192
#define UIP_LINK_MTU    1280
193
 
194
#ifndef UIP_CONF_IPV6
195
 
196
/** Do we use IPv6 or not (default: no) */
197
#define UIP_CONF_IPV6   0
198
#endif
199
#ifndef UIP_CONF_IPV6_QUEUE_PKT
200
 
201
/** Do we do per %neighbor queuing during address resolution (default: no) */
202
#define UIP_CONF_IPV6_QUEUE_PKT 0
203
#endif
204
#ifndef UIP_CONF_IPV6_CHECKS
205
 
206
/** Do we do IPv6 consistency checks (highly recommended, default: yes) */
207
#define UIP_CONF_IPV6_CHECKS    1
208
#endif
209
#ifndef UIP_CONF_IPV6_REASSEMBLY
210
 
211
/** Do we do IPv6 fragmentation (default: no) */
212
#define UIP_CONF_IPV6_REASSEMBLY        0
213
#endif
214
#ifndef UIP_CONF_NETIF_MAX_ADDRESSES
215
 
216
/** Default number of IPv6 addresses associated to the node's interface */
217
#define UIP_CONF_NETIF_MAX_ADDRESSES    3
218
#endif
219
#ifndef UIP_CONF_ND6_MAX_PREFIXES
220
 
221
/** Default number of IPv6 prefixes associated to the node's interface */
222
#define UIP_CONF_ND6_MAX_PREFIXES       3
223
#endif
224
#ifndef UIP_CONF_ND6_MAX_NEIGHBORS
225
 
226
/** Default number of neighbors that can be stored in the %neighbor cache */
227
#define UIP_CONF_ND6_MAX_NEIGHBORS      4
228
#endif
229
#ifndef UIP_CONF_ND6_MAX_DEFROUTERS
230
 
231
/** Minimum number of default routers */
232
#define UIP_CONF_ND6_MAX_DEFROUTERS 2
233
#endif
234
 
235
/** @} */
236
 
237
/*------------------------------------------------------------------------------*/
238
 
239
/**
240
 * \defgroup uipoptudp UDP configuration options
241
 * @{
242
 *
243
 * \note The UDP support in uIP is still not entirely complete; there
244
 * is no support for sending or receiving broadcast or multicast
245
 * packets, but it works well enough to support a number of vital
246
 * applications such as DNS queries, though
247
 */
248
 
249
/**
250
 * Toggles whether UDP support should be compiled in or not.
251
 *
252
 * \hideinitializer
253
 */
254
#ifdef UIP_CONF_UDP
255
#define UIP_UDP UIP_CONF_UDP
256
#else /* UIP_CONF_UDP */
257
#define UIP_UDP 0
258
#endif /* UIP_CONF_UDP */
259
 
260
/**
261
 * Toggles if UDP checksums should be used or not.
262
 *
263
 * \note Support for UDP checksums is currently not included in uIP,
264
 * so this option has no function.
265
 *
266
 * \hideinitializer
267
 */
268
#ifdef UIP_CONF_UDP_CHECKSUMS
269
#define UIP_UDP_CHECKSUMS       UIP_CONF_UDP_CHECKSUMS
270
#else
271
#define UIP_UDP_CHECKSUMS       0
272
#endif
273
 
274
/**
275
 * The maximum amount of concurrent UDP connections.
276
 *
277
 * \hideinitializer
278
 */
279
#ifdef UIP_CONF_UDP_CONNS
280
#define UIP_UDP_CONNS   UIP_CONF_UDP_CONNS
281
#else /* UIP_CONF_UDP_CONNS */
282
#define UIP_UDP_CONNS   10
283
#endif /* UIP_CONF_UDP_CONNS */
284
 
285
/**
286
 * The name of the function that should be called when UDP datagrams arrive.
287
 *
288
 * \hideinitializer
289
 */
290
 
291
/** @} */
292
 
293
/*------------------------------------------------------------------------------*/
294
 
295
/**
296
 * \defgroup uipopttcp TCP configuration options
297
 * @{
298
 */
299
 
300
/**
301
 * Toggles whether UDP support should be compiled in or not.
302
 *
303
 * \hideinitializer
304
 */
305
#ifdef UIP_CONF_TCP
306
#define UIP_TCP UIP_CONF_TCP
307
#else /* UIP_CONF_UDP */
308
#define UIP_TCP 1
309
#endif /* UIP_CONF_UDP */
310
 
311
/**
312
 * Determines if support for opening connections from uIP should be
313
 * compiled in.
314
 *
315
 * If the applications that are running on top of uIP for this project
316
 * do not need to open outgoing TCP connections, this configuration
317
 * option can be turned off to reduce the code size of uIP.
318
 *
319
 * \hideinitializer
320
 */
321
#ifndef UIP_CONF_ACTIVE_OPEN
322
#define UIP_ACTIVE_OPEN 1
323
#else /* UIP_CONF_ACTIVE_OPEN */
324
#define UIP_ACTIVE_OPEN UIP_CONF_ACTIVE_OPEN
325
#endif /* UIP_CONF_ACTIVE_OPEN */
326
 
327
/**
328
 * The maximum number of simultaneously open TCP connections.
329
 *
330
 * Since the TCP connections are statically allocated, turning this
331
 * configuration knob down results in less RAM used. Each TCP
332
 * connection requires approximately 30 bytes of memory.
333
 *
334
 * \hideinitializer
335
 */
336
#ifndef UIP_CONF_MAX_CONNECTIONS
337
#define UIP_CONNS       10
338
#else /* UIP_CONF_MAX_CONNECTIONS */
339
#define UIP_CONNS       UIP_CONF_MAX_CONNECTIONS
340
#endif /* UIP_CONF_MAX_CONNECTIONS */
341
 
342
/**
343
 * The maximum number of simultaneously listening TCP ports.
344
 *
345
 * Each listening TCP port requires 2 bytes of memory.
346
 *
347
 * \hideinitializer
348
 */
349
#ifndef UIP_CONF_MAX_LISTENPORTS
350
#define UIP_LISTENPORTS 20
351
#else /* UIP_CONF_MAX_LISTENPORTS */
352
#define UIP_LISTENPORTS UIP_CONF_MAX_LISTENPORTS
353
#endif /* UIP_CONF_MAX_LISTENPORTS */
354
 
355
/**
356
 * Determines if support for TCP urgent data notification should be
357
 * compiled in.
358
 *
359
 * Urgent data (out-of-band data) is a rarely used TCP feature that
360
 * very seldom would be required.
361
 *
362
 * \hideinitializer
363
 */
364
#define UIP_URGDATA 0
365
 
366
/**
367
 * The initial retransmission timeout counted in timer pulses.
368
 *
369
 * This should not be changed.
370
 */
371
#define UIP_RTO 3
372
 
373
/**
374
 * The maximum number of times a segment should be retransmitted
375
 * before the connection should be aborted.
376
 *
377
 * This should not be changed.
378
 */
379
#define UIP_MAXRTX      8
380
 
381
/**
382
 * The maximum number of times a SYN segment should be retransmitted
383
 * before a connection request should be deemed to have been
384
 * unsuccessful.
385
 *
386
 * This should not need to be changed.
387
 */
388
#define UIP_MAXSYNRTX   5
389
 
390
/**
391
 * The TCP maximum segment size.
392
 *
393
 * This is should not be to set to more than
394
 * UIP_BUFSIZE - UIP_LLH_LEN - UIP_TCPIP_HLEN.
395
 */
396
#ifdef UIP_CONF_TCP_MSS
397
#define UIP_TCP_MSS UIP_CONF_TCP_MSS
398
#else
399
#define UIP_TCP_MSS ( UIP_BUFSIZE - UIP_LLH_LEN - UIP_TCPIP_HLEN )
400
#endif
401
 
402
/**
403
 * The size of the advertised receiver's window.
404
 *
405
 * Should be set low (i.e., to the size of the uip_buf buffer) if the
406
 * application is slow to process incoming data, or high (32768 bytes)
407
 * if the application processes data quickly.
408
 *
409
 * \hideinitializer
410
 */
411
#ifndef UIP_CONF_RECEIVE_WINDOW
412
#define UIP_RECEIVE_WINDOW      UIP_TCP_MSS
413
#else
414
#define UIP_RECEIVE_WINDOW      UIP_CONF_RECEIVE_WINDOW
415
#endif
416
 
417
/**
418
 * How long a connection should stay in the TIME_WAIT state.
419
 *
420
 * This configuration option has no real implication, and it should be
421
 * left untouched.
422
 */
423
#define UIP_TIME_WAIT_TIMEOUT   120
424
 
425
/** @} */
426
 
427
/*------------------------------------------------------------------------------*/
428
 
429
/**
430
 * \defgroup uipoptarp ARP configuration options
431
 * @{
432
 */
433
 
434
/**
435
 * The size of the ARP table.
436
 *
437
 * This option should be set to a larger value if this uIP node will
438
 * have many connections from the local network.
439
 *
440
 * \hideinitializer
441
 */
442
#ifdef UIP_CONF_ARPTAB_SIZE
443
#define UIP_ARPTAB_SIZE UIP_CONF_ARPTAB_SIZE
444
#else
445
#define UIP_ARPTAB_SIZE 8
446
#endif
447
 
448
/**
449
 * The maximum age of ARP table entries measured in 10ths of seconds.
450
 *
451
 * An UIP_ARP_MAXAGE of 120 corresponds to 20 minutes (BSD
452
 * default).
453
 */
454
#define UIP_ARP_MAXAGE  120
455
 
456
/** @} */
457
 
458
/*------------------------------------------------------------------------------*/
459
 
460
/**
461
 * \defgroup uipoptmac layer 2 options (for ipv6)
462
 * @{
463
 */
464
#define UIP_DEFAULT_PREFIX_LEN  64
465
 
466
/** @} */
467
 
468
/*------------------------------------------------------------------------------*/
469
 
470
/**
471
 * \defgroup uipoptsics 6lowpan options (for ipv6)
472
 * @{
473
 */
474
 
475
/**
476
 * Timeout for packet reassembly at the 6lowpan layer
477
 * (should be < 60s)
478
 */
479
#ifdef SICSLOWPAN_CONF_MAXAGE
480
#define SICSLOWPAN_REASS_MAXAGE SICSLOWPAN_CONF_MAXAGE
481
#else
482
#define SICSLOWPAN_REASS_MAXAGE 20
483
#endif
484
 
485
/**
486
 * Do we compress the IP header or not (default: no)
487
 */
488
#ifndef SICSLOWPAN_CONF_COMPRESSION
489
#define SICSLOWPAN_CONF_COMPRESSION 0
490
#endif
491
 
492
/**
493
 * If we use IPHC compression, how many address contexts do we support
494
 */
495
#ifndef SICSLOWPAN_CONF_MAX_ADDR_CONTEXTS
496
#define SICSLOWPAN_CONF_MAX_ADDR_CONTEXTS       1
497
#endif
498
 
499
/**
500
 * Do we support 6lowpan fragmentation
501
 */
502
#ifndef SICSLOWPAN_CONF_FRAG
503
#define SICSLOWPAN_CONF_FRAG    0
504
#endif
505
 
506
/** @} */
507
 
508
/*------------------------------------------------------------------------------*/
509
 
510
/**
511
 * \defgroup uipoptgeneral General configuration options
512
 * @{
513
 */
514
 
515
/**
516
 * The size of the uIP packet buffer.
517
 *
518
 * The uIP packet buffer should not be smaller than 60 bytes, and does
519
 * not need to be larger than 1514 bytes. Lower size results in lower
520
 * TCP throughput, larger size results in higher TCP throughput.
521
 *
522
 * \hideinitializer
523
 */
524
#ifndef UIP_CONF_BUFFER_SIZE
525
#define UIP_BUFSIZE UIP_LINK_MTU + UIP_LLH_LEN
526
#else /* UIP_CONF_BUFFER_SIZE */
527
#define UIP_BUFSIZE UIP_CONF_BUFFER_SIZE
528
#endif /* UIP_CONF_BUFFER_SIZE */
529
 
530
/**
531
 * Determines if statistics support should be compiled in.
532
 *
533
 * The statistics is useful for debugging and to show the user.
534
 *
535
 * \hideinitializer
536
 */
537
#ifndef UIP_CONF_STATISTICS
538
#define UIP_STATISTICS  0
539
#else /* UIP_CONF_STATISTICS */
540
#define UIP_STATISTICS  UIP_CONF_STATISTICS
541
#endif /* UIP_CONF_STATISTICS */
542
 
543
/**
544
 * Determines if logging of certain events should be compiled in.
545
 *
546
 * This is useful mostly for debugging. The function uip_log()
547
 * must be implemented to suit the architecture of the project, if
548
 * logging is turned on.
549
 *
550
 * \hideinitializer
551
 */
552
#ifndef UIP_CONF_LOGGING
553
#define UIP_LOGGING 0
554
#else /* UIP_CONF_LOGGING */
555
#define UIP_LOGGING UIP_CONF_LOGGING
556
#endif /* UIP_CONF_LOGGING */
557
 
558
/**
559
 * Broadcast support.
560
 *
561
 * This flag configures IP broadcast support. This is useful only
562
 * together with UDP.
563
 *
564
 * \hideinitializer
565
 *
566
 */
567
#ifndef UIP_CONF_BROADCAST
568
#define UIP_BROADCAST   0
569
#else /* UIP_CONF_BROADCAST */
570
#define UIP_BROADCAST   UIP_CONF_BROADCAST
571
#endif /* UIP_CONF_BROADCAST */
572
 
573
/**
574
 * Print out a uIP log message.
575
 *
576
 * This function must be implemented by the module that uses uIP, and
577
 * is called by uIP whenever a log message is generated.
578
 */
579
void    uip_log( char *msg );
580
 
581
/**
582
 * The link level header length.
583
 *
584
 * This is the offset into the uip_buf where the IP header can be
585
 * found. For Ethernet, this should be set to 14. For SLIP, this
586
 * should be set to 0.
587
 *
588
 * \note we probably won't use this constant for other link layers than
589
 * ethernet as they have variable header length (this is due to variable
590
 * number and type of address fields and to optional security features)
591
 * E.g.: 802.15.4 -> 2 + (1/2*4/8) + 0/5/6/10/14
592
 *       802.11 -> 4 + (6*3/4) + 2
593
 * \hideinitializer
594
 */
595
#ifdef UIP_CONF_LLH_LEN
596
#define UIP_LLH_LEN UIP_CONF_LLH_LEN
597
#else /* UIP_LLH_LEN */
598
#define UIP_LLH_LEN 14
599
#endif /* UIP_CONF_LLH_LEN */
600
 
601
/** @} */
602
 
603
/*------------------------------------------------------------------------------*/
604
 
605
/**
606
 * \defgroup uipoptcpu CPU architecture configuration
607
 * @{
608
 *
609
 * The CPU architecture configuration is where the endianess of the
610
 * CPU on which uIP is to be run is specified. Most CPUs today are
611
 * little endian, and the most notable exception are the Motorolas
612
 * which are big endian. The BYTE_ORDER macro should be changed to
613
 * reflect the CPU architecture on which uIP is to be run.
614
 */
615
 
616
/**
617
 * The byte order of the CPU architecture on which uIP is to be run.
618
 *
619
 * This option can be either UIP_BIG_ENDIAN (Motorola byte order) or
620
 * UIP_LITTLE_ENDIAN (Intel byte order).
621
 *
622
 * \hideinitializer
623
 */
624
#ifdef UIP_CONF_BYTE_ORDER
625
#define UIP_BYTE_ORDER  UIP_CONF_BYTE_ORDER
626
#else /* UIP_CONF_BYTE_ORDER */
627
#define UIP_BYTE_ORDER  UIP_LITTLE_ENDIAN
628
#endif /* UIP_CONF_BYTE_ORDER */
629
 
630
/** @} */
631
 
632
/*------------------------------------------------------------------------------*/
633
 
634
/**
635
 * \defgroup uipoptapp Application specific configurations
636
 * @{
637
 *
638
 * An uIP application is implemented using a single application
639
 * function that is called by uIP whenever a TCP/IP event occurs. The
640
 * name of this function must be registered with uIP at compile time
641
 * using the UIP_APPCALL definition.
642
 *
643
 * uIP applications can store the application state within the
644
 * uip_conn structure by specifying the type of the application
645
 * structure by typedef:ing the type uip_tcp_appstate_t and uip_udp_appstate_t.
646
 *
647
 * The file containing the definitions must be included in the
648
 * uipopt.h file.
649
 *
650
 * The following example illustrates how this can look.
651
 \code
652
 
653
 void httpd_appcall(void);
654
 #define UIP_APPCALL     httpd_appcall
655
 
656
 struct httpd_state {
657
 u8_t state;
658
 u16_t count;
659
 char *dataptr;
660
 char *script;
661
 };
662
 typedef struct httpd_state uip_tcp_appstate_t
663
 \endcode
664
*/
665
 
666
/**
667
 * \var #define UIP_APPCALL
668
 *
669
 * The name of the application function that uIP should call in
670
 * response to TCP/IP events.
671
 *
672
 */
673
 
674
/**
675
 * \var typedef uip_tcp_appstate_t
676
 *
677
 * The type of the application state that is to be stored in the
678
 * uip_conn structure. This usually is typedef:ed to a struct holding
679
 * application state information.
680
 */
681
 
682
/**
683
 * \var typedef uip_udp_appstate_t
684
 *
685
 * The type of the application state that is to be stored in the
686
 * uip_conn structure. This usually is typedef:ed to a struct holding
687
 * application state information.
688
 */
689
 
690
/** @} */
691
#endif /* __UIPOPT_H__ */
692
 
693
/** @} */
694
 
695
/** @} */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.