/titanic_50/usr/src/uts/common/inet/ |
H A D | proto_set.c | 45 struct sock_proto_props sopp; in proto_set_rx_hiwat() local 47 sopp.sopp_flags = SOCKOPT_RCVHIWAT; in proto_set_rx_hiwat() 48 sopp.sopp_rxhiwat = size; in proto_set_rx_hiwat() 50 (connp->conn_upper_handle, &sopp); in proto_set_rx_hiwat() 72 struct sock_proto_props sopp; in proto_set_rx_lowat() local 74 sopp.sopp_flags = SOCKOPT_RCVLOWAT; in proto_set_rx_lowat() 75 sopp.sopp_rxlowat = size; in proto_set_rx_lowat() 77 (connp->conn_upper_handle, &sopp); in proto_set_rx_lowat() 103 struct sock_proto_props sopp; in proto_set_maxpsz() local 105 sopp.sopp_flags = SOCKOPT_MAXPSZ; in proto_set_maxpsz() [all …]
|
/titanic_50/usr/src/uts/common/inet/tcp/ |
H A D | tcp_socket.c | 99 struct sock_proto_props sopp; in tcp_activate() local 107 sopp.sopp_flags = SOCKOPT_RCVHIWAT | SOCKOPT_RCVLOWAT | in tcp_activate() 111 sopp.sopp_rxhiwat = SOCKET_RECVHIWATER; in tcp_activate() 112 sopp.sopp_rxlowat = SOCKET_RECVLOWATER; in tcp_activate() 113 sopp.sopp_maxpsz = INFPSZ; in tcp_activate() 114 sopp.sopp_maxblk = INFPSZ; in tcp_activate() 115 sopp.sopp_rcvtimer = SOCKET_TIMER_INTERVAL; in tcp_activate() 116 sopp.sopp_rcvthresh = SOCKET_RECVHIWATER >> 3; in tcp_activate() 117 sopp.sopp_maxaddrlen = sizeof (sin6_t); in tcp_activate() 118 sopp.sopp_minpsz = (tcp_rinfo.mi_minpsz == 1) ? 0 : in tcp_activate() [all …]
|
H A D | tcp_fusion.c | 240 struct sock_proto_props sopp; in tcp_fuse() local 245 sopp.sopp_flags = SOCKOPT_WROFF | SOCKOPT_MAXBLK; in tcp_fuse() 246 sopp.sopp_wroff = 0; in tcp_fuse() 247 sopp.sopp_maxblk = INFPSZ; in tcp_fuse() 249 (peer_connp->conn_upper_handle, &sopp); in tcp_fuse()
|
H A D | tcp.c | 428 struct sock_proto_props sopp; in tcp_set_recv_threshold() local 436 sopp.sopp_flags = SOCKOPT_RCVTHRESH; in tcp_set_recv_threshold() 437 sopp.sopp_rcvthresh = new_rcvthresh; in tcp_set_recv_threshold() 440 (connp->conn_upper_handle, &sopp); in tcp_set_recv_threshold() 3122 tcp_get_proto_props(tcp_t *tcp, struct sock_proto_props *sopp) in tcp_get_proto_props() argument 3126 sopp->sopp_flags = SOCKOPT_RCVHIWAT | SOCKOPT_MAXBLK | SOCKOPT_WROFF; in tcp_get_proto_props() 3127 sopp->sopp_maxblk = tcp_maxpsz_set(tcp, B_FALSE); in tcp_get_proto_props() 3129 sopp->sopp_rxhiwat = tcp->tcp_fused ? in tcp_get_proto_props() 3146 sopp->sopp_wroff = 0; in tcp_get_proto_props() 3153 sopp->sopp_wroff = connp->conn_ht_iphc_allocated + in tcp_get_proto_props() [all …]
|
H A D | tcp_tpi.c | 1056 struct sock_proto_props sopp; in tcp_accept_finish() local 1129 tcp_get_proto_props(tcp, &sopp); in tcp_accept_finish() 1138 ASSERT(sopp.sopp_flags & (SO_HIWAT|SO_WROFF|SO_MAXBLK)); in tcp_accept_finish() 1140 stropt->so_hiwat = sopp.sopp_rxhiwat; in tcp_accept_finish() 1141 stropt->so_wroff = sopp.sopp_wroff; in tcp_accept_finish() 1142 stropt->so_maxblk = sopp.sopp_maxblk; in tcp_accept_finish()
|
/titanic_50/usr/src/uts/common/inet/ip/ |
H A D | rts.c | 1489 struct sock_proto_props sopp; in rts_activate() local 1494 sopp.sopp_flags = SOCKOPT_WROFF | SOCKOPT_RCVHIWAT | SOCKOPT_RCVLOWAT | in rts_activate() 1496 sopp.sopp_wroff = 0; in rts_activate() 1497 sopp.sopp_rxhiwat = connp->conn_rcvbuf; in rts_activate() 1498 sopp.sopp_rxlowat = connp->conn_rcvlowat; in rts_activate() 1499 sopp.sopp_maxblk = INFPSZ; in rts_activate() 1500 sopp.sopp_maxpsz = rts_mod_info.mi_maxpsz; in rts_activate() 1501 sopp.sopp_minpsz = (rts_mod_info.mi_minpsz == 1) ? 0 : in rts_activate() 1505 (connp->conn_upper_handle, &sopp); in rts_activate()
|
H A D | icmp.c | 5386 struct sock_proto_props sopp; in rawip_activate() local 5394 sopp.sopp_flags = SOCKOPT_WROFF | SOCKOPT_RCVHIWAT | SOCKOPT_RCVLOWAT | in rawip_activate() 5396 sopp.sopp_wroff = connp->conn_wroff; in rawip_activate() 5397 sopp.sopp_rxhiwat = connp->conn_rcvbuf; in rawip_activate() 5398 sopp.sopp_rxlowat = connp->conn_rcvlowat; in rawip_activate() 5399 sopp.sopp_maxblk = INFPSZ; in rawip_activate() 5400 sopp.sopp_maxpsz = IP_MAXPACKET; in rawip_activate() 5401 sopp.sopp_minpsz = (icmp_mod_info.mi_minpsz == 1) ? 0 : in rawip_activate() 5405 (connp->conn_upper_handle, &sopp); in rawip_activate()
|
/titanic_50/usr/src/uts/common/io/ |
H A D | trill.c | 1497 struct sock_proto_props sopp; in trill_activate() local 1502 sopp.sopp_flags = SOCKOPT_WROFF | SOCKOPT_RCVHIWAT | in trill_activate() 1505 sopp.sopp_wroff = 0; in trill_activate() 1506 sopp.sopp_rxhiwat = SOCKET_RECVHIWATER; in trill_activate() 1507 sopp.sopp_rxlowat = SOCKET_RECVLOWATER; in trill_activate() 1508 sopp.sopp_maxaddrlen = sizeof (struct sockaddr_dl); in trill_activate() 1509 sopp.sopp_maxpsz = INFPSZ; in trill_activate() 1510 sopp.sopp_maxblk = INFPSZ; in trill_activate() 1511 sopp.sopp_minpsz = 0; in trill_activate() 1513 tsock->ts_conn_upper_handle, &sopp); in trill_activate()
|
/titanic_50/usr/src/uts/common/inet/sctp/ |
H A D | sctp_common.c | 364 struct sock_proto_props sopp; in sctp_set_ulp_prop() local 379 bzero(&sopp, sizeof (sopp)); in sctp_set_ulp_prop() 380 sopp.sopp_flags = SOCKOPT_MAXBLK|SOCKOPT_WROFF; in sctp_set_ulp_prop() 381 sopp.sopp_wroff = sctp->sctp_connp->conn_wroff; in sctp_set_ulp_prop() 382 sopp.sopp_maxblk = sctp->sctp_mss - sizeof (sctp_data_hdr_t); in sctp_set_ulp_prop() 383 sctp->sctp_ulp_prop(sctp->sctp_ulpd, &sopp); in sctp_set_ulp_prop()
|
H A D | sctp_opt_data.c | 1105 struct sock_proto_props sopp; in sctp_set_opt() local 1125 sopp.sopp_flags = SOCKOPT_RCVHIWAT; in sctp_set_opt() 1126 sopp.sopp_rxhiwat = connp->conn_rcvbuf; in sctp_set_opt() 1127 sctp->sctp_ulp_prop(sctp->sctp_ulpd, &sopp); in sctp_set_opt()
|
/titanic_50/usr/src/uts/common/inet/sockmods/ |
H A D | sockmod_pfp.c | 1341 struct sock_proto_props sopp; in pfp_setsocket_sockopt() local 1394 sopp.sopp_flags = SOCKOPT_RCVHIWAT; in pfp_setsocket_sockopt() 1395 sopp.sopp_rxhiwat = size; in pfp_setsocket_sockopt() 1396 ps->ps_upcalls->su_set_proto_props(ps->ps_upper, &sopp); in pfp_setsocket_sockopt()
|
/titanic_50/usr/src/uts/common/inet/udp/ |
H A D | udp.c | 4805 struct sock_proto_props sopp; in udp_activate() local 4813 sopp.sopp_flags = SOCKOPT_WROFF | SOCKOPT_RCVHIWAT | SOCKOPT_RCVLOWAT | in udp_activate() 4815 sopp.sopp_wroff = connp->conn_wroff; in udp_activate() 4816 sopp.sopp_maxblk = INFPSZ; in udp_activate() 4817 sopp.sopp_rxhiwat = connp->conn_rcvbuf; in udp_activate() 4818 sopp.sopp_rxlowat = connp->conn_rcvlowat; in udp_activate() 4819 sopp.sopp_maxaddrlen = sizeof (sin6_t); in udp_activate() 4820 sopp.sopp_maxpsz = in udp_activate() 4823 sopp.sopp_minpsz = (udp_mod_info.mi_minpsz == 1) ? 0 : in udp_activate() 4827 &sopp); in udp_activate()
|