Lines Matching refs:field
255 * Set a field in a structure that's at least 16 bits to the given
259 lacp_uint16_set(uint8_t * field, uint16_t value)
262 memcpy((void *)field, (void *)&tmp_value, sizeof(uint16_t));
269 * Get a field in a structure that's at least 16 bits, converting
273 lacp_uint16_get(const uint8_t * field)
276 memcpy((void *)&tmp_field, (void *)field, sizeof(uint16_t));
283 * Set a field in a structure that's at least 32 bits to the given
287 lacp_uint32_set(uint8_t * field, uint32_t value)
290 memcpy((void *)field, (void *)&tmp_value, sizeof(uint32_t));
297 * Get a field in a structure that's at least 32 bits, converting
301 lacp_uint32_get(const uint8_t * field)
304 memcpy((void *)&tmp_field, (void *)field, sizeof(uint32_t));