Home
last modified time | relevance | path

Searched refs:fd_mask (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/lib/libdladm/common/
H A Dflowattr.c137 fd->fd_mask |= mask; in do_check_ip_addr()
149 fdesc->fd_mask |= FLOW_IP_PROTOCOL; in do_check_protocol()
179 fdesc->fd_mask |= FLOW_ULP_PORT_LOCAL; in do_check_port()
182 fdesc->fd_mask |= FLOW_ULP_PORT_REMOTE; in do_check_port()
261 if ((flowdesc->fd_mask & in dladm_flow_attrlist_extract()
263 (flowdesc->fd_mask & FLOW_IP_PROTOCOL) == 0) in dladm_flow_attrlist_extract()
314 fd->fd_mask |= FLOW_IP_DSFIELD; in do_check_dsfield()
360 if (fdesc.fd_mask & FLOW_IP_LOCAL) { in dladm_flow_attr_ip2str()
374 } else if (fdesc.fd_mask & FLOW_IP_REMOTE) { in dladm_flow_attr_ip2str()
407 if (fdesc.fd_mask & FLOW_ULP_PORT_LOCAL) { in dladm_flow_attr_port2str()
[all …]
H A Dlibdlflow.c193 attr->fi_flow_desc.fd_mask |= FLOW_IP_PROTOCOL; in dladm_flow_parse_db()
198 attr->fi_flow_desc.fd_mask |= FLOW_ULP_PORT_LOCAL; in dladm_flow_parse_db()
204 attr->fi_flow_desc.fd_mask |= FLOW_ULP_PORT_REMOTE; in dladm_flow_parse_db()
243 if (attr->fi_flow_desc.fd_mask & FLOW_IP_DSFIELD) in i_dladm_flow_fput_grp()
248 if (attr->fi_flow_desc.fd_mask & FLOW_IP_LOCAL) { in i_dladm_flow_fput_grp()
275 if (attr->fi_flow_desc.fd_mask & FLOW_IP_REMOTE) { in i_dladm_flow_fput_grp()
302 if (attr->fi_flow_desc.fd_mask & FLOW_IP_PROTOCOL) in i_dladm_flow_fput_grp()
306 if (attr->fi_flow_desc.fd_mask & FLOW_ULP_PORT_LOCAL) in i_dladm_flow_fput_grp()
310 if (attr->fi_flow_desc.fd_mask & FLOW_ULP_PORT_REMOTE) in i_dladm_flow_fput_grp()
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_flow.c296 mask = flent->fe_flow_desc.fd_mask; in mac_flow_add()
326 if ((*p)->fe_flow_desc.fd_mask != in mac_flow_add()
327 flent->fe_flow_desc.fd_mask) in mac_flow_add()
420 mask = flent->fe_flow_desc.fd_mask; in mac_flow_add_subflow()
1763 if ((fd->fd_mask & FLOW_LINK_VID) != 0) { in flow_l2_accept_fe()
1868 if ((fd->fd_mask & FLOW_IP_LOCAL) != 0) { in flow_ip_v4_match()
2021 if (fd->fd_mask == FLOW_IP_DSFIELD) { in flow_ip_accept_fe()
2039 mask = fd->fd_mask & ~FLOW_IP_VERSION; in flow_ip_accept_fe()
2115 ASSERT(fd1->fd_mask == fd2->fd_mask); in flow_ip_match_fe()
2116 if (fd1->fd_mask == FLOW_IP_DSFIELD) { in flow_ip_match_fe()
[all …]
H A Dmac_bcast.c365 flow_desc.fd_mask = FLOW_LINK_DST; in mac_bcast_add()
368 flow_desc.fd_mask |= FLOW_LINK_VID; in mac_bcast_add()
H A Dmac_client.c497 if ((flow_desc.fd_mask & FLOW_LINK_VID) != 0) in mac_client_vid()
789 if ((flow_desc.fd_mask & FLOW_LINK_VID) != 0) in i_mac_flow_vid()
858 ASSERT(flow_desc.fd_mask & FLOW_LINK_DST); in mac_unicast_update_client_flow()
2192 flow_desc.fd_mask = FLOW_LINK_DST; in mac_unicast_flow_create()
2195 flow_desc.fd_mask |= FLOW_LINK_VID; in mac_unicast_flow_create()
2266 vid = (flow_desc.fd_mask & FLOW_LINK_VID) != 0 ? in mac_client_update_mcast()
/illumos-gate/usr/src/uts/common/sys/
H A Dselect.h92 typedef long fd_mask; typedef
108 #define NFDBITS (sizeof (fd_mask) * NBBY) /* bits per mask */
H A Dmac_flow.h78 flow_mask_t fd_mask; member
/illumos-gate/usr/src/boot/sys/sys/
H A Dselect.h44 typedef __fd_mask fd_mask; typedef
/illumos-gate/usr/src/cmd/flowadm/
H A Dflowadm.c522 if ((attr->fa_flow_desc.fd_mask & FLOW_ULP_PORT_LOCAL) != 0) { in print_flow()
526 if ((attr->fa_flow_desc.fd_mask & FLOW_ULP_PORT_REMOTE) != 0) { in print_flow()