Merge pull request #2377 from joelmartinez/docs-multiassembly-extension-fix
[mono.git] / mcs / class / referencesource / System / net / System / Net / NetworkInformation / IPInterfaceStatistics.cs
1
2
3 namespace System.Net.NetworkInformation
4 {
5     public abstract class IPInterfaceStatistics
6     {
7
8         /// Gets the number of bytes received on the interface.
9         public abstract long BytesReceived { get; }
10
11         /// Gets the number of bytes sent on the interface.
12         public abstract long BytesSent { get; }
13
14         /// Gets the number of incoming packets discarded.
15         public abstract long IncomingPacketsDiscarded { get; }
16
17         /// Gets the number of incoming packets with errors.
18         public abstract long IncomingPacketsWithErrors { get; }
19
20         /// Gets the number of incoming packets with an unknown protocol.
21         public abstract long IncomingUnknownProtocolPackets { get; }
22
23         /// Gets the number of non-unicast packets received on the interface.
24         public abstract long NonUnicastPacketsReceived { get; }
25
26         /// Gets the number of non-unicast packets sent on the interface.
27         public abstract long NonUnicastPacketsSent { get; }
28
29         /// Gets the number of outgoing packets that were discarded.
30         public abstract long OutgoingPacketsDiscarded { get; }
31
32         /// Gets the number of outgoing packets with errors.
33         public abstract long OutgoingPacketsWithErrors { get; }
34
35         /// Gets the length of the output queue.
36         public abstract long OutputQueueLength { get; }
37
38         /// Gets the number of unicast packets received on the interface.
39         public abstract long UnicastPacketsReceived { get; }
40
41         /// Gets the number of unicast packets sent on the interface.
42         public abstract long UnicastPacketsSent { get; }
43
44     }
45     
46     // Despite the naming, the results are not IPv4 specific
47     // Do not use this type.  Use IPInterfaceStatistics instead.
48     public abstract class IPv4InterfaceStatistics
49     {
50     
51         /// Gets the number of bytes received on the interface.
52         public abstract long BytesReceived{get;}
53     
54         /// Gets the number of bytes sent on the interface.
55         public abstract long BytesSent{get;}
56     
57         /// Gets the number of incoming packets discarded.
58         public abstract long IncomingPacketsDiscarded{get;}
59     
60         /// Gets the number of incoming packets with errors.
61         public abstract long IncomingPacketsWithErrors{get;}
62     
63         /// Gets the number of incoming packets with an unknown protocol.
64         public abstract long IncomingUnknownProtocolPackets{get;}
65     
66         /// Gets the number of non-unicast packets received on the interface.
67         public abstract long NonUnicastPacketsReceived{get;}
68     
69         /// Gets the number of non-unicast packets sent on the interface.
70         public abstract long NonUnicastPacketsSent{get;}
71     
72         /// Gets the number of outgoing packets that were discarded.
73         public abstract long OutgoingPacketsDiscarded{get;}
74     
75         /// Gets the number of outgoing packets with errors.
76         public abstract long OutgoingPacketsWithErrors{get;}
77     
78         /// Gets the length of the output queue.
79         public abstract long OutputQueueLength{get;}
80     
81         /// Gets the number of unicast packets received on the interface.
82         public abstract long UnicastPacketsReceived{get;}
83     
84         /// Gets the number of unicast packets sent on the interface.
85         public abstract long UnicastPacketsSent{get;}
86     
87     }
88     
89 }
90