search for: macaddr_c

Displaying 3 results from an estimated 3 matches for "macaddr_c".

2010 Apr 26
0
[PATCH matahari] Created the NetworkDevice agent.
...t_netmask(netmask); - mgmt_object->set_broadcast(broadcast); - mgmt_object->set_bandwidth(bandwidth); -} - -NICWrapper *NICWrapper::getNIC(ManagementAgent *agent, - LibHalContext *hal_ctx, - char *nic_handle) -{ - // Used to get the data - char *macaddr_c; - char *interface_c; - int sock, ret; - struct ifreq ifr; - struct ethtool_cmd ecmd; - - // The data that we care about - NICWrapper *nic = NULL; - string macaddr; - string interface; - string ipaddr; - string netmask; - string broadcast; - int bandwidth; - -...
2010 Apr 26
2
Patch supercedes previous patch...
In looking at the code I realized that the last of the HAL depenencies were removed with this patch. So, I'm pushing an updated patch that contains none of the HAL code in it.
2010 Mar 15
0
[PATCH] Updated the list of ignored files and fixed whitespace issues.
...); } -NICWrapper *NICWrapper::getNIC(ManagementAgent *agent, - LibHalContext *hal_ctx, - char *nic_handle) +NICWrapper *NICWrapper::getNIC(ManagementAgent *agent, + LibHalContext *hal_ctx, + char *nic_handle) { // Used to get the data char *macaddr_c; @@ -102,12 +102,12 @@ NICWrapper *NICWrapper::getNIC(ManagementAgent *agent, string netmask; string broadcast; int bandwidth; - + // Grab the MAC Address from libhal macaddr_c = libhal_device_get_property_string(hal_ctx, - nic_handle, - "net.address&quot...