...
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. Anchor
Files
...
net_dev.c
Prototype
...
rowspan | 2 |
---|
...
Anchor
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
’. Anchor
Arguments
Anchor
pif
Pointer to the interface to start a network device.
Anchor
perr
Pointer to variable that will receive the return error code from this function.
...
...
Returned Value
...
Required Configuration
...
None. Anchor
Notes / Warnings
Anchor
Stop()
function must perform the following operations:...