- Timestamp:
- Aug 4, 2009, 10:17:33 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/communication/networkinfo/NetworkInterface.h
r3690 r5638 63 63 bool isBroadcast; 64 64 bool isMulticast; 65 int mtu;66 int txQueueLen;65 int mtu; 66 int txQueueLen; 67 67 68 68 static NetworkInterface UNDEFINED; 69 69 70 inline bool operator==(const NetworkInterface& rh ){ 70 NetworkInterface& operator=(const NetworkInterface& rh){ 71 name = rh.name; 72 index = rh.index; 73 isRunning = rh.isRunning; 74 isUp = rh.isUp; 75 isLoopback = rh.isLoopback; 76 isBroadcast = rh.isBroadcast; 77 isMulticast = rh.isMulticast; 78 mtu = rh.mtu; 79 txQueueLen = rh.txQueueLen; 80 return *this; 81 } 82 83 bool operator==(const NetworkInterface& rh ){ 71 84 // equality means same name 72 85 return ( name.compare(rh.name) == 0 );
Note:
See TracChangeset
for help on using the changeset viewer.