Displaying 3 results from an estimated 3 matches for "getnic".
2010 Mar 15
0
[PATCH] Updated the list of ignored files and fixed whitespace issues.
...pp - Copyright (C) 2009 Red Hat, Inc.
* Written by Arjun Roy <arroy at redhat.com>
*
* This program is free software; you can redistribute it and/or modify
@@ -83,9 +83,9 @@ void NICWrapper::syncQMFObject(void)
mgmt_object->set_bandwidth(bandwidth);
}
-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 @@ NICWra...
2010 Apr 26
0
[PATCH matahari] Created the NetworkDevice agent.
...mgmt_object->set_interface(interfaceName);
- mgmt_object->set_macaddr(macaddr);
- mgmt_object->set_ipaddr(ipaddr);
- mgmt_object->set_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
-...
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.