Rev 1063 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
352 | giacomo | 1 | /* |
2 | * Project: S.Ha.R.K. |
||
3 | * |
||
4 | * Coordinators: |
||
5 | * Giorgio Buttazzo <giorgio@sssup.it> |
||
6 | * Paolo Gai <pj@gandalf.sssup.it> |
||
7 | * |
||
8 | * Authors : |
||
9 | * Paolo Gai <pj@gandalf.sssup.it> |
||
10 | * Massimiliano Giorgi <massy@gandalf.sssup.it> |
||
11 | * Luca Abeni <luca@gandalf.sssup.it> |
||
12 | * (see the web pages for full authors list) |
||
13 | * |
||
14 | * ReTiS Lab (Scuola Superiore S.Anna - Pisa - Italy) |
||
15 | * |
||
16 | * http://www.sssup.it |
||
17 | * http://retis.sssup.it |
||
18 | * http://shark.sssup.it |
||
19 | */ |
||
20 | |||
21 | #ifndef __TRACE_QUDP_H |
||
22 | #define __TRACE_QUDP_H |
||
23 | |||
24 | #include <kernel/model.h> |
||
25 | #include <drivers/udpip.h> |
||
26 | #include "ll/sys/cdefs.h" |
||
27 | |||
28 | __BEGIN_DECLS |
||
29 | |||
30 | typedef struct TAGtrc_udp_queue_args_t { |
||
31 | int size; |
||
32 | UDP_ADDR local,remote; |
||
33 | TASK_MODEL *model; |
||
34 | } TRC_UDP_PARMS; |
||
35 | |||
36 | #define trc_udp_default_parms(m,l,r) (m).size=8192, \ |
||
37 | (m).model = NULL, \ |
||
38 | (m).local = (l), \ |
||
39 | (m).remote = (r); |
||
40 | |||
41 | #define trc_udp_def_size(m,s) (m).size=(s) |
||
42 | #define trc_udp_def_local(m,l) (m).local=(l) |
||
43 | #define trc_udp_def_remote(m,r) (m).remote=(r) |
||
44 | #define trc_udp_def_model(m,mod) (m).model=(mod) |
||
45 | |||
46 | |||
47 | int trc_register_udp_queue(void); |
||
48 | |||
49 | __END_DECLS |
||
50 | #endif |