Home
last modified time | relevance | path

Searched refs:flow_desc (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_bcast.c342 flow_desc_t flow_desc; in mac_bcast_add() local
361 bzero(&flow_desc, sizeof (flow_desc)); in mac_bcast_add()
362 bcopy(addr, &flow_desc.fd_dst_mac, addr_len); in mac_bcast_add()
363 flow_desc.fd_mac_len = (uint32_t)addr_len; in mac_bcast_add()
365 flow_desc.fd_mask = FLOW_LINK_DST; in mac_bcast_add()
367 flow_desc.fd_vid = vid; in mac_bcast_add()
368 flow_desc.fd_mask |= FLOW_LINK_VID; in mac_bcast_add()
375 rc = mac_flow_create(&flow_desc, NULL, flow_name, in mac_bcast_add()
H A Dmac_client.c489 flow_desc_t flow_desc; in mac_client_vid() local
496 mac_flow_get_desc(mcip->mci_flent, &flow_desc); in mac_client_vid()
497 if ((flow_desc.fd_mask & FLOW_LINK_VID) != 0) in mac_client_vid()
498 vid = flow_desc.fd_vid; in mac_client_vid()
785 flow_desc_t flow_desc; in i_mac_flow_vid() local
787 mac_flow_get_desc(flent, &flow_desc); in i_mac_flow_vid()
789 if ((flow_desc.fd_mask & FLOW_LINK_VID) != 0) in i_mac_flow_vid()
790 return (flow_desc.fd_vid); in i_mac_flow_vid()
852 flow_desc_t flow_desc; in mac_unicast_update_client_flow() local
857 mac_flow_get_desc(flent, &flow_desc); in mac_unicast_update_client_flow()
[all …]
H A Dmac_flow.c1211 flow_desc_t *flow_desc, mac_resource_props_t *mrp) in mac_link_flow_add() argument
1231 err = mac_flow_create(flow_desc, mrp, flow_name, NULL, in mac_link_flow_add()
/illumos-gate/usr/src/uts/common/io/dld/
H A Ddld_flow.c40 dld_add_flow(datalink_id_t linkid, char *flow_name, flow_desc_t *flow_desc, in dld_add_flow() argument
43 return (mac_link_flow_add(linkid, flow_name, flow_desc, mrp)); in dld_add_flow()