PXENV_UNDI_CLEAR_STATISTICS
[PXE UNDI API]

UNDI CLEAR STATISTICS. More...


Data Structures

struct  s_PXENV_UNDI_CLEAR_STATISTICS
 Parameter block for pxenv_undi_clear_statistics(). More...

Defines

#define PXENV_UNDI_CLEAR_STATISTICS   0x000e
 PXE API function code for pxenv_undi_clear_statistics().

Typedefs

typedef struct
s_PXENV_UNDI_CLEAR_STATISTICS 
PXENV_UNDI_CLEAR_STATISTICS_t

Functions

PXENV_EXIT_t pxenv_undi_clear_statistics (struct s_PXENV_UNDI_CLEAR_STATISTICS *undi_clear_statistics)


Detailed Description

UNDI CLEAR STATISTICS.

Define Documentation

#define PXENV_UNDI_CLEAR_STATISTICS   0x000e

PXE API function code for pxenv_undi_clear_statistics().

Definition at line 1290 of file pxe_api.h.

Referenced by pxe_api_call(), and pxeparent_function_name().


Typedef Documentation

Definition at line 1297 of file pxe_api.h.


Function Documentation

PXENV_EXIT_t pxenv_undi_clear_statistics ( struct s_PXENV_UNDI_CLEAR_STATISTICS undi_clear_statistics  ) 

Definition at line 474 of file pxe_undi.c.

References DBG, memset(), PXENV_EXIT_SUCCESS, PXENV_STATUS_SUCCESS, net_device::rx_stats, s_PXENV_UNDI_CLEAR_STATISTICS::Status, and net_device::tx_stats.

Referenced by pxe_api_call().

00475                                                                     {
00476         DBG ( "PXENV_UNDI_CLEAR_STATISTICS\n" );
00477 
00478         memset ( &pxe_netdev->tx_stats, 0, sizeof ( pxe_netdev->tx_stats ) );
00479         memset ( &pxe_netdev->rx_stats, 0, sizeof ( pxe_netdev->rx_stats ) );
00480 
00481         undi_clear_statistics->Status = PXENV_STATUS_SUCCESS;
00482         return PXENV_EXIT_SUCCESS;
00483 }


Generated on Tue Apr 6 20:01:59 2010 for gPXE by  doxygen 1.5.7.1