Lines Matching defs:fu
1440 exacct_attach_flow_item(flow_usage_t *fu, ea_object_t *record, int res)
1446 if (fu->fu_isv4) {
1447 (void) ea_attach_item(record, &fu->fu_saddr[3],
1450 (void) ea_attach_item(record, &fu->fu_saddr,
1451 sizeof (fu->fu_saddr), EXT_RAW |
1456 if (fu->fu_isv4) {
1457 (void) ea_attach_item(record, &fu->fu_daddr[3],
1460 (void) ea_attach_item(record, &fu->fu_daddr,
1461 sizeof (fu->fu_daddr), EXT_RAW |
1466 (void) ea_attach_item(record, &fu->fu_sport,
1470 (void) ea_attach_item(record, &fu->fu_dport,
1474 (void) ea_attach_item(record, &fu->fu_protocol,
1478 (void) ea_attach_item(record, &fu->fu_dsfield,
1482 (void) ea_attach_item(record, &fu->fu_ctime,
1486 (void) ea_attach_item(record, &fu->fu_lseen,
1490 (void) ea_attach_item(record, &fu->fu_nbytes,
1494 (void) ea_attach_item(record, &fu->fu_npackets,
1498 if (fu->fu_projid >= 0) {
1499 (void) ea_attach_item(record, &fu->fu_projid,
1504 if (fu->fu_userid >= 0) {
1505 (void) ea_attach_item(record, &fu->fu_userid,
1510 (void) ea_attach_item(record, fu->fu_aname,
1511 strlen(fu->fu_aname) + 1, EXT_STRING | EXD_FLOW_ANAME);
1520 exacct_assemble_flow_record(flow_usage_t *fu, ulong_t *mask,
1532 count += exacct_attach_flow_item(fu, record, res);
1541 exacct_assemble_flow_usage(ac_info_t *ac_flow, flow_usage_t *fu,
1562 flow_usage = exacct_assemble_flow_record(fu, mask, record_type);