Searched refs:dhcp_desc (Results 1 – 2 of 2) sorted by relevance
85 struct dhcp_netdev_desc dhcp_desc; in netdev_fetch() local94 dhcp_desc.type = desc->bus_type; in netdev_fetch()95 dhcp_desc.vendor = htons ( desc->vendor ); in netdev_fetch()96 dhcp_desc.device = htons ( desc->device ); in netdev_fetch()97 if ( len > sizeof ( dhcp_desc ) ) in netdev_fetch()98 len = sizeof ( dhcp_desc ); in netdev_fetch()99 memcpy ( data, &dhcp_desc, len ); in netdev_fetch()100 return sizeof ( dhcp_desc ); in netdev_fetch()
1086 struct dhcp_netdev_desc dhcp_desc; in dhcp_create_request() local1119 fetch_setting ( &netdev->settings.settings, &busid_setting, &dhcp_desc, in dhcp_create_request()1120 sizeof ( dhcp_desc ) ); in dhcp_create_request()1121 if ( ( rc = dhcppkt_store ( dhcppkt, DHCP_EB_BUS_ID, &dhcp_desc, in dhcp_create_request()1122 sizeof ( dhcp_desc ) ) ) != 0 ) { in dhcp_create_request()