Home
last modified time | relevance | path

Searched refs:npkt (Results 1 – 7 of 7) sorted by relevance

/titanic_44/usr/src/uts/common/inet/tcp/
H A Dtcp_timers.c801 uint32_t npkt; in tcp_timer() local
804 npkt = ((tcp->tcp_timer_backoff ? in tcp_timer()
808 tcp->tcp_cwnd_ssthresh = MAX(npkt, 2) * in tcp_timer()
H A Dtcp_input.c2380 int npkt; in tcp_input_data() local
3888 npkt = ((tcp->tcp_snxt - tcp->tcp_suna) >> 1) / mss; in tcp_input_data()
3889 tcp->tcp_cwnd_ssthresh = MAX(npkt, 2) * mss; in tcp_input_data()
3890 tcp->tcp_cwnd = npkt * mss; in tcp_input_data()
3895 if (npkt == 0) { in tcp_input_data()
3980 npkt = ((tcp->tcp_snxt - in tcp_input_data()
3982 tcp->tcp_cwnd_ssthresh = MAX(npkt, 2) * in tcp_input_data()
3984 tcp->tcp_cwnd = (npkt + in tcp_input_data()
5643 uint32_t npkt; in tcp_icmp_input() local
5645 npkt = ((tcp->tcp_snxt - tcp->tcp_suna) >> 1) / in tcp_icmp_input()
[all …]
/titanic_44/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_sge.c56 uint8_t npkt; /* # of packets in this work request */ member
938 txpkts.npkt = 0; /* indicates there's nothing in txpkts */ in t4_eth_tx()
989 ASSERT(txpkts.npkt == 0); in t4_eth_tx()
1021 if (txpkts.npkt > 0) in t4_eth_tx()
2450 if (txpkts->npkt > 0) { in add_to_txpkts()
2460 txpkts->npkt++; in add_to_txpkts()
2483 ASSERT(txpkts->npkt == 0); in add_to_txpkts()
2497 txpkts->npkt = 1; in add_to_txpkts()
2536 wr->npkt = txpkts->npkt; in write_txpkts_wr()
2555 txq->txpkts_pkts += txpkts->npkt; in write_txpkts_wr()
[all …]
/titanic_44/usr/src/uts/common/io/rtw/
H A Drtw.c2038 int firstlen, hdrlen, lastlen, lastlen0, npkt, overlen, paylen; in rtw_compute_duration() local
2051 npkt = paylen / fraglen; in rtw_compute_duration()
2054 if (npkt == 0) /* no fragments */ in rtw_compute_duration()
2058 npkt++; in rtw_compute_duration()
2063 *npktp = npkt; in rtw_compute_duration()
2065 if (npkt > 1) in rtw_compute_duration()
2079 if (npkt <= 1) { in rtw_compute_duration()
2096 int npkt, rate; in rtw_assembly_80211() local
2201 rate, &d0, &dn, &npkt) == -1) { in rtw_assembly_80211()
/titanic_44/usr/src/stand/lib/tcp/
H A Dtcp.c2631 int npkt; in tcp_rput_data() local
3438 npkt = (MIN(tcp->tcp_cwnd, tcp->tcp_swnd) >> 1) / mss; in tcp_rput_data()
3439 tcp->tcp_cwnd_ssthresh = MAX(npkt, 2) * mss; in tcp_rput_data()
3440 tcp->tcp_cwnd = npkt * mss; in tcp_rput_data()
3445 if (npkt == 0) { in tcp_rput_data()
3531 npkt = (MIN(tcp->tcp_cwnd, in tcp_rput_data()
3533 if (npkt < 2) in tcp_rput_data()
3534 npkt = 2; in tcp_rput_data()
3535 tcp->tcp_cwnd_ssthresh = npkt * mss; in tcp_rput_data()
3536 tcp->tcp_cwnd = (npkt + in tcp_rput_data()
[all …]
/titanic_44/usr/src/uts/common/inet/ip/
H A Dsadb.c6897 sadb_set_lpkt(ipsa_t *ipsa, mblk_t *npkt, ip_recv_attr_t *ira) argument
6915 ip_drop_input("ipIfStatsInDiscards", npkt, ill);
6916 freemsg(npkt);
6920 attrmp->b_cont = npkt;
6923 npkt = NULL;
6948 return (npkt);
/titanic_44/usr/src/uts/common/io/cxgbe/firmware/
H A Dt4fw_interface.h542 __u8 npkt; member