Displaying 3 results from an estimated 3 matches for "interface_c".
Did you mean:
interface_
2010 Apr 26
0
[PATCH matahari] Created the NetworkDevice agent.
...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;
-
- // Grab the MAC Address...
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.
....255",
inet_ntoa(((struct sockaddr_in *) &ifr.ifr_addr)->sin_addr))) {
struct sockaddr_in *addr = (struct sockaddr_in *) &ifr.ifr_addr;
@@ -205,11 +205,11 @@ NICWrapper *NICWrapper::getNIC(ManagementAgent *agent,
macaddr = macaddr_c;
interface = interface_c;
nic = new NICWrapper(interface,
- macaddr,
- ipaddr,
- netmask,
- broadcast,
- bandwidth);
+ macaddr,
+ ipaddr,
+ netmask,
+ broadcast,
+ bandwidth);
/...