Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NetDev_Stop()

...

The next function within the device API structure is the device Stop() function. This function is called once each time an interface is stopped. Anchor11097811109781

Files

...

1109782Every device driver’s net_dev.c Anchor11097891109789

Prototype

...

rowspan2

...

Anchor11097901109790 

 

Note that since every device driver’s Stop() function is accessed only by function pointer via the device driver’s API structure, it doesn’t need to be globally available and should therefore be declared as ‘static’static. Anchor11097911109791

Arguments

Anchor11318421131842 p_if Anchor11318431131843pif

Pointer to the interface to start a network device.

Anchor11318441131844 p_err Anchor11318451131845perr

Pointer to variable that will receive the return error code from this function.

...

...

Returned Value

...

1109775None. Anchor11102631110263

Required Configuration

...

None. Anchor11102651110265

Notes / Warnings

Anchor10910721091072The Stop() function must perform the following operations:

...