Home
last modified time | relevance | path

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

/titanic_44/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()
/titanic_44/usr/src/lib/libbc/inc/include/sys/
H A Dtypes.h65 typedef long fd_mask; typedef
66 #define NFDBITS (sizeof (fd_mask) * NBBY) /* bits per mask */
72 fd_mask fds_bits[howmany(FD_SETSIZE, NFDBITS)];
/titanic_44/usr/src/uts/common/io/mac/
H A Dmac_flow.c295 mask = flent->fe_flow_desc.fd_mask; in mac_flow_add()
325 if ((*p)->fe_flow_desc.fd_mask != in mac_flow_add()
326 flent->fe_flow_desc.fd_mask) in mac_flow_add()
419 mask = flent->fe_flow_desc.fd_mask; in mac_flow_add_subflow()
1713 ASSERT((fd->fd_mask & FLOW_LINK_VID) != 0 || fd->fd_vid == 0); in flow_ether_hash_fe()
1759 if ((fd->fd_mask & FLOW_LINK_DST) == 0 || fd->fd_mac_len == 0) in flow_l2_accept_fe()
1762 if ((fd->fd_mask & FLOW_LINK_VID) != 0) { in flow_l2_accept_fe()
1785 ASSERT((fd->fd_mask & FLOW_LINK_VID) == 0 && fd->fd_vid == 0); in flow_l2_hash_fe()
1867 if ((fd->fd_mask & FLOW_IP_LOCAL) != 0) { in flow_ip_v4_match()
1885 if ((fd->fd_mask & FLOW_IP_LOCAL) != 0) { in flow_ip_v6_match()
[all …]
H A Dmac_bcast.c370 flow_desc.fd_mask = FLOW_LINK_DST; in mac_bcast_add()
373 flow_desc.fd_mask |= FLOW_LINK_VID; in mac_bcast_add()
H A Dmac_client.c495 if ((flow_desc.fd_mask & FLOW_LINK_VID) != 0) in mac_client_vid()
787 if ((flow_desc.fd_mask & FLOW_LINK_VID) != 0) in i_mac_flow_vid()
856 ASSERT(flow_desc.fd_mask & FLOW_LINK_DST); in mac_unicast_update_client_flow()
2140 flow_desc.fd_mask = FLOW_LINK_DST; in mac_unicast_flow_create()
2143 flow_desc.fd_mask |= FLOW_LINK_VID; in mac_unicast_flow_create()
2214 vid = (flow_desc.fd_mask & FLOW_LINK_VID) != 0 ? in mac_client_update_mcast()
/titanic_44/usr/src/uts/common/sys/
H A Dselect.h108 typedef long fd_mask; typedef
124 #define NFDBITS (sizeof (fd_mask) * NBBY) /* bits per mask */
H A Dmac_flow.h76 flow_mask_t fd_mask; member
/titanic_44/usr/src/cmd/ssh/sshd/
H A Daltprivsep.c890 setp = xmalloc(howmany(pipe_fd + 1, NFDBITS) * sizeof (fd_mask)); in altprivsep_packet_send()
891 memset(setp, 0, howmany(pipe_fd + 1, NFDBITS) * sizeof (fd_mask)); in altprivsep_packet_send()
955 setp = xmalloc(howmany(pipe_fd + 1, NFDBITS) * sizeof (fd_mask)); in altprivsep_packet_read()
956 memset(setp, 0, howmany(pipe_fd + 1, NFDBITS) * sizeof (fd_mask)); in altprivsep_packet_read()
H A Dsshd.c1318 fdsetsz = howmany(maxfd+1, NFDBITS) * sizeof(fd_mask); in main()
/titanic_44/usr/src/cmd/ssh/libssh/common/
H A Dpacket.c950 sizeof(fd_mask)); in packet_read_seqnr()
975 sizeof(fd_mask)); in packet_read_seqnr()
1563 sizeof(fd_mask)); in packet_write_wait()
1567 sizeof(fd_mask)); in packet_write_wait()
H A Dchannels.c1700 sz = howmany(n+1, NFDBITS) * sizeof(fd_mask); in channel_prepare_select()
/titanic_44/usr/src/cmd/ssh/include/
H A Ddefines.h322 typedef unsigned long int fd_mask; typedef
/titanic_44/usr/src/cmd/flowadm/
H A Dflowadm.c519 if ((attr->fa_flow_desc.fd_mask & FLOW_ULP_PORT_LOCAL) != 0) { in print_flow()
523 if ((attr->fa_flow_desc.fd_mask & FLOW_ULP_PORT_REMOTE) != 0) { in print_flow()
/titanic_44/usr/src/cmd/ssh/ssh-keyscan/
H A Dssh-keyscan.c806 read_wait_size = howmany(maxfd, NFDBITS) * sizeof(fd_mask); in main()
/titanic_44/usr/src/cmd/ssh/ssh/
H A Dsshconnect.c258 sizeof(fd_mask)); in timeout_connect()
/titanic_44/usr/src/cmd/ssh/ssh-agent/
H A Dssh-agent.c741 sz = howmany(n+1, NFDBITS) * sizeof(fd_mask); in prepare_select()
/titanic_44/usr/src/cmd/ssh/sftp-server/
H A Dsftp-server.c1301 set_size = howmany(max + 1, NFDBITS) * sizeof(fd_mask); in sftp_server_main()