Searched refs:packet_length (Results 1 – 3 of 3) sorted by relevance
/titanic_50/usr/src/cmd/ssh/libssh/common/ |
H A D | packet.c | 729 u_int packet_length = 0; in packet_send2_wrapped() local 800 packet_length = buffer_len(&outgoing_packet) - 4; in packet_send2_wrapped() 802 PUT_32BIT(cp, packet_length); in packet_send2_wrapped() 805 packet_length + 4, padlen)); in packet_send2_wrapped() 845 p_send.blocks += (packet_length + 4) / block_size; in packet_send2_wrapped() 1127 static u_int packet_length = 0; in packet_read_poll2() local 1143 if (packet_length == 0) { in packet_read_poll2() 1160 packet_length = GET_32BIT(cp); in packet_read_poll2() 1161 if (packet_length < 1 + 4 || packet_length > 256 * 1024) { in packet_read_poll2() 1164 DBG(debug("input: packet len %u", packet_length + 4)); in packet_read_poll2() [all …]
|
/titanic_50/usr/src/uts/common/io/dmfe/ |
H A D | dmfe_main.c | 618 int packet_length; in dmfe_getp() local 671 packet_length = (desc0 >> 16) & 0x3fff; in dmfe_getp() 672 if (packet_length > DMFE_MAX_PKT_SIZE) { in dmfe_getp() 673 DTRACE_PROBE1(rx__toobig, int, packet_length); in dmfe_getp() 675 } else if (packet_length < ETHERMIN) { in dmfe_getp() 684 DTRACE_PROBE1(rx__runt, int, packet_length); in dmfe_getp() 717 mp = allocb(DMFE_HEADROOM + packet_length, 0); in dmfe_getp() 728 dmfep->rx_stats_rbytes += packet_length; in dmfe_getp() 747 bcopy(rxb, dp, packet_length); in dmfe_getp() 752 mp->b_wptr = mp->b_rptr + packet_length - ETHERFCSL; in dmfe_getp()
|
/titanic_50/usr/src/uts/intel/io/dnet/ |
H A D | dnet.c | 1584 int packet_length, index; in dnet_getp() local 1687 packet_length = desc[index].desc0.frame_len; in dnet_getp() 1694 packet_length -= ETHERFCSL; in dnet_getp() 1716 packet_length < rx_buf_size)) { in dnet_getp() 1717 ASSERT(packet_length < rx_buf_size); in dnet_getp() 1733 packet_length, 0, &frp->free_rtn); in dnet_getp() 1745 mp = allocb(packet_length, 0); in dnet_getp() 1750 packet_length >= rx_buf_size) || mp == NULL) { in dnet_getp() 1793 packet_length); in dnet_getp() 1796 mp->b_wptr += packet_length; in dnet_getp()
|