/illumos-gate/usr/src/uts/common/inet/sockmods/ |
H A D | socksdpsubr.c | 49 sosdp_so_inherit(struct sonode *lso, struct sonode *nso) in sosdp_so_inherit() argument 51 nso->so_options = lso->so_options & (SO_DEBUG|SO_REUSEADDR| in sosdp_so_inherit() 54 nso->so_sndbuf = lso->so_sndbuf; in sosdp_so_inherit() 55 nso->so_rcvbuf = lso->so_rcvbuf; in sosdp_so_inherit() 56 nso->so_pgrp = lso->so_pgrp; in sosdp_so_inherit() 58 nso->so_rcvlowat = lso->so_rcvlowat; in sosdp_so_inherit() 59 nso->so_sndlowat = lso->so_sndlowat; in sosdp_so_inherit()
|
H A D | socksdp.c | 177 sosdp_accept(struct sonode *lso, int fflag, struct cred *cr, in sosdp_accept() argument 183 dprint(3, ("sosdp_accept: so:%p so_proto_handle:%p", (void *)lso, in sosdp_accept() 184 (void *)lso->so_proto_handle)); in sosdp_accept() 186 if (!(lso->so_state & SS_ACCEPTCONN)) { in sosdp_accept() 190 eprintsoline(lso, EINVAL); in sosdp_accept() 196 error = so_acceptq_dequeue(lso, (fflag & (FNONBLOCK|FNDELAY)), &nso); in sosdp_accept() 198 eprintsoline(lso, error); in sosdp_accept() 200 error, (void *)lso, (void *)lso->so_proto_handle)); in sosdp_accept() 1194 struct sonode *lso = parenthandle; in sdp_sock_newconn() local 1198 ASSERT(lso->so_state & SS_ACCEPTCONN); in sdp_sock_newconn() [all …]
|
H A D | socksctpsubr.c | 495 struct sonode *lso = &lss->ss_so; in sosctp_so_inherit() local 497 nso->so_options = lso->so_options & (SO_DEBUG|SO_REUSEADDR| in sosctp_so_inherit() 500 nso->so_sndbuf = lso->so_sndbuf; in sosctp_so_inherit() 501 nso->so_rcvbuf = lso->so_rcvbuf; in sosctp_so_inherit() 502 nso->so_pgrp = lso->so_pgrp; in sosctp_so_inherit() 504 nso->so_rcvlowat = lso->so_rcvlowat; in sosctp_so_inherit() 505 nso->so_sndlowat = lso->so_sndlowat; in sosctp_so_inherit()
|
H A D | socksctp.c | 1949 struct sonode *lso = &lss->ss_so; in sctp_assoc_newconn() local 1954 ASSERT(lso->so_state & SS_ACCEPTCONN); in sctp_assoc_newconn() 1955 ASSERT(lso->so_proto_handle != NULL); /* closed conn */ in sctp_assoc_newconn() 1956 ASSERT(lso->so_type == SOCK_SEQPACKET); in sctp_assoc_newconn() 1958 mutex_enter(&lso->so_lock); in sctp_assoc_newconn() 1965 mutex_exit(&lso->so_lock); in sctp_assoc_newconn() 1977 mutex_exit(&lso->so_lock); in sctp_assoc_newconn() 1989 mutex_exit(&lso->so_lock); in sctp_assoc_newconn()
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/oce/ |
H A D | oce_hw_eth.h | 97 uint32_t lso:1; member 129 uint32_t lso:1; 175 uint32_t lso:1; member 199 uint32_t lso:1;
|
/illumos-gate/usr/src/uts/common/io/dld/ |
H A D | dld_proto.c | 1478 dld_capab_lso_t *lso = data; in dld_capab_lso() local 1491 lso->lso_max_tcpv4 = mac_lso.lso_basic_tcp_ipv4.lso_max; in dld_capab_lso() 1492 lso->lso_max_tcpv6 = mac_lso.lso_basic_tcp_ipv6.lso_max; in dld_capab_lso() 1493 lso->lso_flags = 0; in dld_capab_lso() 1496 lso->lso_flags |= DLD_LSO_BASIC_TCP_IPV4; in dld_capab_lso() 1498 lso->lso_flags |= DLD_LSO_BASIC_TCP_IPV6; in dld_capab_lso() 1499 dsp->ds_lso = lso->lso_flags != 0; in dld_capab_lso() 1506 dsp->ds_lso_max = MAX(lso->lso_max_tcpv4, in dld_capab_lso() 1507 lso->lso_max_tcpv6); in dld_capab_lso()
|
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | eib_data.c | 767 ibt_wr_lso_t *lso; in eib_data_setup_lso() local 784 lso = &(swqe->qe_wr.send.wr.ud_lso); in eib_data_setup_lso() 785 lso->lso_ud_dest = swqe->qe_dest; in eib_data_setup_lso() 786 lso->lso_mss = mss; in eib_data_setup_lso() 823 lso->lso_hdr = swqe->qe_payload_hdr; in eib_data_setup_lso() 824 lso->lso_hdr_sz = EIB_ENCAP_HDR_SZ + eth_hdr_len + in eib_data_setup_lso() 832 dst = lso->lso_hdr + EIB_ENCAP_HDR_SZ; in eib_data_setup_lso() 833 pending = lso->lso_hdr_sz - EIB_ENCAP_HDR_SZ; in eib_data_setup_lso()
|
/illumos-gate/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_tx.c | 658 uint32_t lso; in BnxeGetHdrInfo() local 682 lso = DB_LSOFLAGS(pMblk) & HW_LSO; in BnxeGetHdrInfo() 690 if (lso) in BnxeGetHdrInfo() 739 else if (lso) in BnxeGetHdrInfo() 788 if (lso || ((csStuff - csStart) == TCP_CS_OFFSET)) in BnxeGetHdrInfo() 798 if (lso) in BnxeGetHdrInfo()
|
/illumos-gate/usr/src/uts/common/io/ib/clients/ibd/ |
H A D | ibd.c | 6574 ibt_wr_lso_t *lso; in ibd_setup_lso() local 6583 lso = &(node->w_swr.wr.ud_lso); in ibd_setup_lso() 6584 lso->lso_ud_dest = ud_dest; in ibd_setup_lso() 6585 lso->lso_mss = mss; in ibd_setup_lso() 6610 lso->lso_hdr_sz = IPOIB_HDRSIZE + iph_len + tcph_len; in ibd_setup_lso() 6619 if (lso->lso_hdr_sz <= MBLKL(mp)) { in ibd_setup_lso() 6620 lso->lso_hdr = mp->b_rptr; in ibd_setup_lso() 6623 lso->lso_hdr = kmem_zalloc(lso->lso_hdr_sz, KM_NOSLEEP); in ibd_setup_lso() 6624 if (lso->lso_hdr == NULL) { in ibd_setup_lso() 6626 "sz = %d", lso->lso_hdr_sz); in ibd_setup_lso() [all …]
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | sockcommon.c | 212 socket_accept(struct sonode *lso, int fflag, cred_t *cr, struct sonode **nsop) in socket_accept() argument 214 return (SOP_ACCEPT(lso, fflag, cr, nsop)); in socket_accept()
|
H A D | sockcommon_sops.c | 71 so_accept_notsupp(struct sonode *lso, int fflag, in so_accept_notsupp() argument
|
/illumos-gate/usr/src/uts/common/io/vioif/ |
H A D | vioif.c | 1744 mac_capab_lso_t *lso = cap_data; in vioif_m_getcapab() local 1745 lso->lso_flags = LSO_TX_BASIC_TCP_IPV4 | LSO_TX_BASIC_TCP_IPV6; in vioif_m_getcapab() 1746 lso->lso_basic_tcp_ipv4.lso_max = VIOIF_RX_DATA_SIZE; in vioif_m_getcapab() 1747 lso->lso_basic_tcp_ipv6.lso_max = VIOIF_RX_DATA_SIZE; in vioif_m_getcapab()
|
/illumos-gate/usr/src/uts/intel/io/vmxnet3s/ |
H A D | vmxnet3_main.c | 1036 mac_capab_lso_t *lso = arg; in vmxnet3_getcapab() local 1037 lso->lso_flags = LSO_TX_BASIC_TCP_IPV4; in vmxnet3_getcapab() 1038 lso->lso_basic_tcp_ipv4.lso_max = IP_MAXPACKET; in vmxnet3_getcapab()
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_sge.c | 3034 struct cpl_tx_pkt_lso_core *lso = (void *)(wr + 1); in write_txpkt_wr() local 3060 lso->lso_ctrl = cpu_to_be32(ctrl); in write_txpkt_wr() 3061 lso->ipid_ofst = cpu_to_be16(0); in write_txpkt_wr() 3062 lso->mss = cpu_to_be16(txinfo->mss); in write_txpkt_wr() 3063 lso->seqno_offset = cpu_to_be32(0); in write_txpkt_wr() 3065 lso->len = cpu_to_be32(txinfo->len); in write_txpkt_wr() 3067 lso->len = cpu_to_be32(V_LSO_T5_XFER_SIZE(txinfo->len)); in write_txpkt_wr() 3069 cpl = (void *)(lso + 1); in write_txpkt_wr()
|
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xnf.c | 1962 DTRACE_PROBE3(lso, int, length, uint32_t, lso_flags, uint32_t, mss); in xnf_send() 3157 mac_capab_lso_t *lso = cap_data; in xnf_getcapab() local 3158 lso->lso_flags = LSO_TX_BASIC_TCP_IPV4; in xnf_getcapab() 3159 lso->lso_basic_tcp_ipv4.lso_max = IP_MAXPACKET; in xnf_getcapab()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_tx.c | 807 wqeh->u0.s.lso = B_TRUE; in oce_send_packet()
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_gld_v3.c | 470 DTRACE_PROBE(lso); in sfxge_gld_getcapab()
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_if.c | 2081 dld_capab_lso_t lso; in ill_capability_lso_enable() local 2097 bzero(&lso, sizeof (lso)); in ill_capability_lso_enable() 2098 if ((rc = idc->idc_capab_df(idc->idc_capab_dh, DLD_CAPAB_LSO, &lso, in ill_capability_lso_enable() 2100 ill->ill_lso_capab->ill_lso_flags = lso.lso_flags; in ill_capability_lso_enable() 2101 ill->ill_lso_capab->ill_lso_max_tcpv4 = lso.lso_max_tcpv4; in ill_capability_lso_enable() 2102 ill->ill_lso_capab->ill_lso_max_tcpv6 = lso.lso_max_tcpv6; in ill_capability_lso_enable()
|