Searched refs:capdata (Results 1 – 2 of 2) sorted by relevance
| /netbsd-src/sbin/ifconfig/ |
| H A D | ether.c | 100 prop_data_t capdata; in getethercaps() local 102 capdata = (prop_data_t)prop_dictionary_get(env, "ethercaps"); in getethercaps() 104 if (capdata != NULL) { in getethercaps() 105 tmpeccr = prop_data_value(capdata); in getethercaps() 113 capdata = prop_data_create_copy(&eccr, sizeof(eccr)); in getethercaps() 115 rc = prop_dictionary_set(oenv, "ethercaps", capdata); in getethercaps() 117 prop_object_release((prop_object_t)capdata); in getethercaps() 127 prop_data_t capdata; in setethercaps() local 142 if ((capdata = prop_data_create_copy(&eccr, sizeof(eccr))) == NULL) in setethercaps() 145 rc = prop_dictionary_set(oenv, "ethercaps", capdata); in setethercaps() [all …]
|
| H A D | ifconfig.c | 1095 prop_data_t capdata; in getifcaps() 1097 capdata = (prop_data_t)prop_dictionary_get(env, "ifcaps"); in getifcaps() 1099 if (capdata != NULL) { in getifcaps() 1100 tmpifcr = prop_data_value(capdata); in getifcaps() 1108 capdata = prop_data_create_copy(&ifcr, sizeof(ifcr)); in getifcaps() 1110 rc = prop_dictionary_set(oenv, "ifcaps", capdata); in getifcaps() 1112 prop_object_release((prop_object_t)capdata); in getifcaps() 1122 prop_data_t capdata; in setifcaps() 1137 if ((capdata = prop_data_create_copy(&ifcr, sizeof(ifcr))) == NULL) in setifcaps() 1140 rc = prop_dictionary_set(oenv, "ifcaps", capdata); in setifcaps() 1093 prop_data_t capdata; getifcaps() local 1120 prop_data_t capdata; setifcaps() local [all...] |