net/layer/pipe.h header reference
[Abstract network stack module]
The source code of this header can be browsed online.
Description [link]
this header defines a factory for a pair of layers forwarding packet each to the other.
Members [link]
Function [link]
- error_t net_pipe_create(struct net_scheduler_s *scheduler, const struct net_addr_s *addr0, void *delegate0, const struct net_layer_delegate_vtable_s *delegate_vtable0, struct net_layer_s **layer0, const struct net_addr_s *addr1, void *delegate1, const struct net_layer_delegate_vtable_s *delegate_vtable1, struct net_layer_s **layer1)
Members detail [link]
#define NET_LAYER_DUMPER_H_ [link]
This macro is declared in net/layer/pipe.h source file, line 21.
error_t net_pipe_create(struct net_scheduler_s *scheduler, const struct net_addr_s *addr0, void *delegate0, const struct net_layer_delegate_vtable_s *delegate_vtable0, struct net_layer_s **layer0, const struct net_addr_s *addr1, void *delegate1, const struct net_layer_delegate_vtable_s *delegate_vtable1, struct net_layer_s **layer1) [link]
This function is declared in net/layer/pipe.h source file, line 51.
this function creates a layer pair.
The return value is 0 if completed.