Home
last modified time | relevance | path

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

/freebsd/sys/netinet/
H A Daccf_http.c48 static int mbufstrcmp(struct mbuf *m, struct mbuf *npkt, int offset, char *cmp);
50 static int mbufstrncmp(struct mbuf *m, struct mbuf *npkt, int offset,
91 mbufstrcmp(struct mbuf *m, struct mbuf *npkt, int offset, char *cmp) in mbufstrcmp() argument
96 n = npkt; in mbufstrcmp()
97 if (npkt) in mbufstrcmp()
98 npkt = npkt->m_nextpkt; in mbufstrcmp()
120 mbufstrncmp(struct mbuf *m, struct mbuf *npkt, int offset, int max, char *cmp) in mbufstrncmp() argument
125 n = npkt; in mbufstrncmp()
126 if (npkt) in mbufstrncmp()
127 npkt = npkt->m_nextpkt; in mbufstrncmp()
/freebsd/tests/sys/netpfil/common/
H A Ddivapp.c115 int npkt; in main() local
133 npkt = 0; in main()
137 npkt++; in main()
138 if (npkt >= 10) in main()
142 if (npkt != 1) in main()
143 errx(EXIT_FAILURE, "%d: npkt=%d.", c.divert_port, npkt); in main()
/freebsd/sys/dev/cxgbe/
H A Dt4_netmap.c967 struct netmap_kring *kring, int npkt, int npkt_remaining) in cxgbe_nm_tx() argument
979 while (npkt) { in cxgbe_nm_tx()
980 n = min(npkt, MAX_NPKT_IN_TYPE1_WR); in cxgbe_nm_tx()
986 wr->npkt = n; in cxgbe_nm_tx()
1016 npkt -= n; in cxgbe_nm_tx()
1024 MPASS(npkt == 0); in cxgbe_nm_tx()
1028 if (npkt + npkt_remaining == 0) { in cxgbe_nm_tx()
1085 MPASS(wr->npkt > 0 && wr->npkt <= MAX_NPKT_IN_TYPE1_WR); in reclaim_nm_tx_desc()
1087 n += wr->npkt; in reclaim_nm_tx_desc()
1088 nm_txq->cidx += npkt_to_ndesc(wr->npkt); in reclaim_nm_tx_desc()
H A Dt4_sge.c3098 if ((txp->npkt > 0 || avail < eq->sidx / 2) && in set_txupdate_flags()
3153 for (i = 0; i < txp->npkt; i++) in eth_tx()
3155 txp->npkt = 0; in eth_tx()
3190 if (t4_tx_coalesce == 0 && txp->npkt == 0) in eth_tx()
3199 if (txp->npkt > 0 || remaining > 1 || in eth_tx()
3211 MPASS(txp->npkt > 0); in eth_tx()
3212 for (i = 0; i < txp->npkt; i++) in eth_tx()
3214 if (txp->npkt > 1) { in eth_tx()
3235 txp->npkt = 0; /* emptied */ in eth_tx()
3248 MPASS(txp->npkt == 0); in eth_tx()
[all …]
H A Dadapter.h587 uint8_t npkt; /* # of packets in this work request */ member
H A Dt4_main.c7151 MPASS(txq->txp.npkt == 0); in quiesce_txq()
8449 uint8_t npkt = sc->params.max_pkts_per_eth_tx_pkts_wr; in sysctl_tx_vm_wr() local
8457 npkt--; in sysctl_tx_vm_wr()
8467 txq->txp.max_npkt = npkt; in sysctl_tx_vm_wr()
/freebsd/sys/dev/neta/
H A Dif_mvneta.c2950 uint32_t prxs, npkt; in mvneta_rx() local
2956 npkt = MVNETA_PRXS_GET_ODC(prxs); in mvneta_rx()
2957 if (__predict_false(npkt == 0)) in mvneta_rx()
2960 if (count > 0 && npkt > count) { in mvneta_rx()
2962 npkt = count; in mvneta_rx()
2964 mvneta_rx_queue(sc, q, npkt); in mvneta_rx()
2996 mvneta_rx_queue(struct mvneta_softc *sc, int q, int npkt) in mvneta_rx_queue() argument
3018 for (i = 0; i < npkt; i++) { in mvneta_rx_queue()
3105 CTR3(KTR_SPARE2, "%s:%u %u packets received", if_name(ifp), q, npkt); in mvneta_rx_queue()
3137 int npkt, refill, nsegs, error; in mvneta_rx_queue_refill() local
[all …]
/freebsd/sys/dev/usb/controller/
H A Ddwc_otg.c1801 channel = td->channel[td->npkt]; in dwc_otg_host_data_tx()
2062 td->npkt = x; in dwc_otg_host_data_tx()
2173 if (cpkt >= td->npkt) { in dwc_otg_data_tx()
2177 fifo_left = (td->npkt - cpkt) * in dwc_otg_data_tx()
2199 td->npkt = cpkt; in dwc_otg_data_tx()
2220 DPRINTFN(5, "busy ep=%d npkt=%d DIEPTSIZ=0x%08x " in dwc_otg_data_tx()
2242 td->npkt = count / td->max_packet_size; in dwc_otg_data_tx()
2252 if (td->npkt > mpkt) { in dwc_otg_data_tx()
2253 td->npkt = mpkt; in dwc_otg_data_tx()
2257 td->npkt in dwc_otg_data_tx()
[all...]
H A Ddwc_otg.h66 uint16_t npkt; member
/freebsd/contrib/libpcap/
H A Drpcap-protocol.h321 …uint32 npkt; /* Ordinal number of the packet (i.e. the first one captured has '1', the second one… member
H A Dpcap-rpcap.c605 unsigned int npkt; in pcap_read_nocb_remote() local
608 npkt = ntohl(net_pkt_header->npkt); in pcap_read_nocb_remote()
610 if (pr->TotCapt != npkt) in pcap_read_nocb_remote()
612 pr->TotNetDrops += (npkt - pr->TotCapt); in pcap_read_nocb_remote()
613 pr->TotCapt = npkt; in pcap_read_nocb_remote()
/freebsd/sys/arm64/broadcom/genet/
H A Dif_genet.c1342 int error, index, len, cnt, npkt, n; in gen_rxintr() local
1348 npkt = 0; in gen_rxintr()
1423 ++npkt; in gen_rxintr()
1445 return (npkt); in gen_rxintr()
/freebsd/sys/arm/allwinner/
H A Dif_awg.c1193 int error, index, len, cnt, npkt; in awg_rxintr() local
1199 npkt = 0; in awg_rxintr()
1251 ++npkt; in awg_rxintr()
1275 return (npkt); in awg_rxintr()
/freebsd/contrib/libpcap/rpcapd/
H A Ddaemon.c2744 net_pkt_header->npkt = htonl(++(session->TotCapt)); in daemon_thrdatamain()
/freebsd/sys/dev/cxgbe/firmware/
H A Dt4fw_interface.h774 __u8 npkt; member
1183 __u8 npkt; member