nip_disp_params_t Union Reference

Dispatcher Command Parameters. More...

#include <dispatcher.h>

Collaboration diagram for nip_disp_params_t:

Collaboration graph
[legend]

Data Fields

struct {
   void(*   func )(void)
 pointer to custom function
   nip_net_if_id_t   net_if_id
 Network Interface.
   nip_net_if_trans_t *   trans
 pointer to current transmission
   uint8_t   remote_hw_addr [NIP_MAX_HW_ADDR_SIZE]
 remote hardware address
common
 parameter included in all calls.
struct {
   void(*   func )(void)
 pointer to custom function
   nip_net_if_id_t   net_if_id
 Network Interface.
   nip_net_if_trans_t *   trans
 pointer to current transmission
   uint8_t   remote_hw_addr [NIP_MAX_HW_ADDR_SIZE]
 remote hardware address
   nip_tcp_sock_id_t   sockid
   uint8_t   flags
tcp

Detailed Description

Dispatcher Command Parameters.

Todo:
switch from function pointers to the above nip_disp_cmd_t and have one global table to be set up in nip_init() which resolves commands to functions. Benefit: Protocolls are easy exchangable, even IP.

Definition at line 83 of file dispatcher.h.


Field Documentation

void(* nip_disp_params_t::func)(void) ( void   ) 

pointer to custom function

Network Interface.

Definition at line 88 of file dispatcher.h.

pointer to current transmission

Definition at line 89 of file dispatcher.h.

Referenced by nip_tcp_disp_receive(), nip_tcp_disp_send(), and nip_udp_disp_receive().

uint8_t nip_disp_params_t::remote_hw_addr[NIP_MAX_HW_ADDR_SIZE]

remote hardware address

Definition at line 90 of file dispatcher.h.

struct { ... } nip_disp_params_t::common

parameter included in all calls.

Referenced by nip_tcp_disp_receive(), nip_tcp_disp_send(), and nip_udp_disp_receive().

pointer to current transmission

Definition at line 102 of file dispatcher.h.

Definition at line 107 of file dispatcher.h.

Referenced by nip_tcp_disp_check(), nip_tcp_disp_receive(), and nip_tcp_disp_send().

struct { ... } nip_disp_params_t::tcp


The documentation for this union was generated from the following file:

Generated on Thu Jul 10 01:10:08 2008 for NIP by  doxygen 1.5.5