HomeSort by: relevance | last modified time | path
    Searched refs:pkts (Results 1 - 22 of 22) sorted by relevancy

  /src/external/bsd/libpcap/dist/testprogs/fuzz/
fuzz_filter.c 12 pcap_t * pkts; local
22 pkts = pcap_open_dead(Data[Size-1], 0xFFFF);
23 if (pkts == NULL) {
32 if (pcap_compile(pkts, &bpf, filter, 1, PCAP_NETMASK_UNKNOWN) == 0) {
33 pcap_setfilter(pkts, &bpf);
34 pcap_close(pkts);
38 pcap_close(pkts);
fuzz_pcap.c 39 pcap_t * pkts; local
60 pkts = pcap_open_offline("/tmp/fuzz.pcap", errbuf);
61 if (pkts == NULL) {
67 r = pcap_next_ex(pkts, &header, &pkt);
71 r = pcap_next_ex(pkts, &header, &pkt);
73 if (pcap_stats(pkts, &stats) == 0) {
77 pcap_close(pkts);
fuzz_both.c 40 pcap_t * pkts; local
72 pkts = pcap_open_offline("/tmp/fuzz.pcap", errbuf);
73 if (pkts == NULL) {
83 if (pcap_compile(pkts, &bpf, filter, 1, PCAP_NETMASK_UNKNOWN) == 0) {
85 r = pcap_next_ex(pkts, &header, &pkt);
89 r = pcap_next_ex(pkts, &header, &pkt);
92 pcap_close(pkts);
96 pcap_close(pkts);
  /src/external/bsd/nsd/dist/
xfrd-notify.c 160 zone->apex_str, zone->pkts[index].dest->ip_address_spec);
165 if(ID(packet) != zone->pkts[index].notify_query_id) {
167 zone->apex_str, zone->pkts[index].dest->ip_address_spec);
174 zone->pkts[index].dest->ip_address_spec);
180 zone->apex_str, zone->pkts[index].dest->ip_address_spec));
227 zone->pkts[index].dest = NULL;
228 zone->pkts[index].notify_retry = 0;
229 zone->pkts[index].send_time = 0;
230 zone->pkts[index].notify_query_id = 0;
237 if(++zone->pkts[index].notify_retry >
    [all...]
xfrd-notify.h 69 struct notify_pkt pkts[NOTIFY_CONCURRENT_MAX]; member in struct:notify_zone
70 int notify_pkt_count; /* number of entries nonNULL in pkts */
remote.c 1109 if(!nz->pkts[i].dest) continue;
1111 nz->pkts[i].dest->ip_address_spec))
  /src/sys/dev/pci/
if_bwfm_pci.c 106 struct bwfm_pci_buf *pkts; member in struct:bwfm_pci_pkts
716 sc->sc_rx_pkts.pkts = kmem_zalloc(BWFM_NUM_RX_PKTIDS *
721 &sc->sc_rx_pkts.pkts[i].bb_map);
725 sc->sc_tx_pkts.pkts = kmem_zalloc(BWFM_NUM_TX_PKTIDS
730 &sc->sc_tx_pkts.pkts[i].bb_map);
927 bwfm_pci_pktid_avail(struct bwfm_pci_softc *sc, struct bwfm_pci_pkts *pkts)
931 idx = pkts->last + 1;
932 for (i = 0; i < pkts->npkt; i++) {
933 if (idx == pkts->npkt)
935 if (pkts->pkts[idx].bb_m == NULL
    [all...]
if_msk.c 2013 int pkts = 0; local
2034 pkts++;
2042 if (pkts == 0)
if_sk.c 1943 int pkts = 0; local
1965 pkts++;
1973 if (pkts == 0)
if_bge.c 5517 int pkts = 0; local
5568 pkts++;
5576 if (pkts == 0)
if_mcx.c 550 pkts, enumerator in enum:mcx_ppcnt_rfc2819
  /src/sys/external/bsd/ena-com/
ena_com.h 1002 * @pkts: Number of packets since the last update
1009 unsigned int pkts,
1024 if (!pkts || !bytes)
1040 if ((pkts > curr_moder_entry->pkts_per_interval) ||
1047 if ((pkts <= pred_moder_entry->pkts_per_interval) ||
1051 else if ((pkts > curr_moder_entry->pkts_per_interval) ||
  /src/sys/arch/mips/cavium/dev/
octeon_pip.c 274 uint64_t tmp, pkts; local
289 pkts = __SHIFTOUT(tmp, PIP_STAT0_PRTN_DRP_PKTS);
290 if_statadd(ifp, if_iqdrops, pkts);
  /src/sys/arch/mips/alchemy/dev/
if_aumac.c 545 int pkts = 0; local
552 pkts++;
583 if (pkts)
596 return pkts;
611 int pkts = 0; local
617 pkts++;
720 if (pkts)
722 if (pkts == AUMAC_NRXDESC)
728 return pkts;
  /src/sys/dev/usb/
vhci.c 228 vhci_packet_list_t pkts; member in struct:vhci_xfer
338 TAILQ_INIT(&vxfer->pkts);
339 TAILQ_INSERT_TAIL(&vxfer->pkts, req, xferlist);
341 TAILQ_INSERT_TAIL(&vxfer->pkts, res, xferlist);
343 TAILQ_INSERT_TAIL(&vxfer->pkts, dat, xferlist);
372 TAILQ_REMOVE(&vxfer->pkts, pkt, xferlist);
380 KASSERT(TAILQ_FIRST(&vxfer->pkts) == NULL);
456 KASSERT(TAILQ_FIRST(&vxfer->pkts) == NULL);
661 pkt = TAILQ_FIRST(&vxfer->pkts);
665 KASSERT(TAILQ_FIRST(&vxfer->pkts) == NULL)
    [all...]
  /src/sys/dev/ic/
bcmgenet.c 707 int pkts = 0; local
780 ++pkts;
789 if (pkts != 0)
790 rnd_add_uint32(&sc->sc_rndsource, pkts);
797 int cidx, i, pkts = 0; local
802 pkts += genet_free_txbuf(sc, i);
807 if (pkts != 0) {
808 if_statadd(ifp, if_opackets, pkts);
809 rnd_add_uint32(&sc->sc_rndsource, pkts);
dwc_eqos.c 803 int error, index, pkts = 0; local
911 ++pkts;
937 if (pkts != 0) {
938 rnd_add_uint32(&sc->sc_rndsource, pkts);
949 int i, pkts = 0; local
975 ++pkts;
1004 if (pkts != 0) {
1005 rnd_add_uint32(&sc->sc_rndsource, pkts);
  /src/external/bsd/libpcap/dist/
pcap-linux.c 4236 int pkts = 0; local
4267 while (pkts < max_packets) {
4290 pkts++;
4323 return pkts;
4333 int pkts = 0; local
4353 if (pkts == 0 && handlep->timeout == 0) {
4357 return pkts;
4375 while (pkts < max_packets) {
4388 if (packets_to_read > (max_packets - pkts)) {
4396 packets_to_read = max_packets - pkts;
    [all...]
  /src/sys/arch/mips/adm5120/dev/
if_admsw.c 912 int pkts = 0; local
968 pkts++;
1006 if (pkts)
1009 if (pkts == ADMSW_NRXLDESC)
  /src/sys/dev/hyperv/
if_hvn.c 1358 int error, pkts; local
1368 pkts = txr->txr_stat_pkts;
1381 if_statadd(ifp, if_oerrors, pkts);
2593 uint32_t size, pkts; local
2614 pkts = 0;
2626 pkts = UINT32_MAX;
2628 pkts = sc->sc_agg_pkts;
2630 if (pkts > sc->sc_rndis_agg_pkts)
2631 pkts = sc->sc_rndis_agg_pkts;
2633 if (pkts <= 1)
    [all...]
  /src/external/bsd/ipf/dist/ipsd/
ipsdr.c 56 int pkts; variable
  /src/sys/dev/marvell/
if_mvgbe.c 1058 int pkts = 0; local
1087 pkts++;
1095 if (pkts == 0)

Completed in 89 milliseconds