/titanic_44/usr/src/lib/libdladm/common/ |
H A D | flowattr.c | 137 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 D | libdlflow.c | 193 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 D | types.h | 65 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 D | mac_flow.c | 295 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 D | mac_bcast.c | 370 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 D | mac_client.c | 495 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 D | select.h | 108 typedef long fd_mask; typedef 124 #define NFDBITS (sizeof (fd_mask) * NBBY) /* bits per mask */
|
H A D | mac_flow.h | 76 flow_mask_t fd_mask; member
|
/titanic_44/usr/src/cmd/ssh/sshd/ |
H A D | altprivsep.c | 890 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 D | sshd.c | 1318 fdsetsz = howmany(maxfd+1, NFDBITS) * sizeof(fd_mask); in main()
|
/titanic_44/usr/src/cmd/ssh/libssh/common/ |
H A D | packet.c | 950 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 D | channels.c | 1700 sz = howmany(n+1, NFDBITS) * sizeof(fd_mask); in channel_prepare_select()
|
/titanic_44/usr/src/cmd/ssh/include/ |
H A D | defines.h | 322 typedef unsigned long int fd_mask; typedef
|
/titanic_44/usr/src/cmd/flowadm/ |
H A D | flowadm.c | 519 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 D | ssh-keyscan.c | 806 read_wait_size = howmany(maxfd, NFDBITS) * sizeof(fd_mask); in main()
|
/titanic_44/usr/src/cmd/ssh/ssh/ |
H A D | sshconnect.c | 258 sizeof(fd_mask)); in timeout_connect()
|
/titanic_44/usr/src/cmd/ssh/ssh-agent/ |
H A D | ssh-agent.c | 741 sz = howmany(n+1, NFDBITS) * sizeof(fd_mask); in prepare_select()
|
/titanic_44/usr/src/cmd/ssh/sftp-server/ |
H A D | sftp-server.c | 1301 set_size = howmany(max + 1, NFDBITS) * sizeof(fd_mask); in sftp_server_main()
|