Changeset 6919 for source/ariba/communication/networkinfo
- Timestamp:
- Nov 13, 2009, 1:41:34 PM (15 years ago)
- Location:
- source/ariba/communication/networkinfo
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/communication/networkinfo/AddressDiscovery.cpp
r5789 r6919 95 95 void AddressDiscovery::discover_ip_addresses( endpoint_set& endpoints ) { 96 96 struct ifaddrs* ifaceBuffer = NULL; 97 struct ifaddrs* tmpAddr = NULL;98 97 void* tmpAddrPtr = NULL; 99 98 -
source/ariba/communication/networkinfo/NetworkChangeDetection.cpp
r3690 r6919 190 190 191 191 for( ; bytesRead > 0; header = NLMSG_NEXT(header, bytesRead)) { 192 if ( !NLMSG_OK(header,bytesRead) ||192 if (!NLMSG_OK(header, (int)bytesRead) || 193 193 (size_t) bytesRead < sizeof(struct nlmsghdr) || 194 (size_t) bytesRead < header->nlmsg_len) {194 (size_t) bytesRead < (size_t)header->nlmsg_len) { 195 195 continue; 196 196 } -
source/ariba/communication/networkinfo/NetworkChangeDetection.h
r3690 r6919 93 93 void stopMonitoring(); 94 94 95 volatile bool running; 95 96 boost::thread* monitoringThread; 96 volatile bool running;97 97 static void monitoringThreadFunc( NetworkChangeDetection* obj ); 98 98 -
source/ariba/communication/networkinfo/NetworkInterface.cpp
r3690 r6919 47 47 name( "" ), index( -1 ), isRunning( false ), 48 48 isUp( false ), isLoopback(false ), isBroadcast( false ), 49 mtu( -1 ), isMulticast( false), txQueueLen( -1 )49 isMulticast( false ), mtu( -1 ), txQueueLen( -1 ) 50 50 { 51 51 }
Note:
See TracChangeset
for help on using the changeset viewer.