init_stack
The init_stack function attaches the EMAC driver to the stack.
Syntax
void init_stack(
struct stack_cfg *scfg
);
Parameters
scfg
The options that are used to configure the stack. The options are defined in the structure stack_cfg.