Searched refs:minlen (Results 1 - 25 of 32) sorted by relevance

12

/freebsd-11.0-release/tools/regression/audit/audit_pipe_ioctl/
H A Daudit_pipe_ioctl.c48 u_int len, minlen, maxlen; local
66 minlen = (u_int)(-1);
67 if (ioctl(fd, AUDITPIPE_GET_QLIMIT_MIN, &minlen) < 0)
69 if (minlen == (u_int)(-1))
84 if (!(len >= minlen))
85 errx(-1, "queue length < minlen");
94 len = minlen;
101 if (len != minlen)
102 errx(-1, "set to minlen didn't work");
/freebsd-11.0-release/sys/opencrypto/
H A Dxform_comp.h45 size_t minlen; member in struct:comp_algo
/freebsd-11.0-release/sys/sys/
H A Dsockopt.h61 int sooptcopyin(struct sockopt *sopt, void *buf, size_t len, size_t minlen);
/freebsd-11.0-release/usr.sbin/rtsold/
H A Drtsock.c72 size_t minlen; member in struct:__anon14120
122 if (rtm->rtm_msglen < rtsock_dispatch[idx].minlen) {
/freebsd-11.0-release/sys/dev/ath/
H A Dif_ath_tx_ht.c395 uint16_t minlen; local
476 minlen = (nsymbols * nsymbits) / BITS_PER_BYTE;
482 if (pktlen < minlen) {
483 mindelim = (minlen - pktlen) / ATH_AGGR_DELIM_SZ;
488 "%s: pktlen=%d, minlen=%d, rix=%x, rc=%x, width=%d, hgi=%d, ndelim=%d\n",
489 __func__, pktlen, minlen, rix, rc, width, half_gi, ndelim);
/freebsd-11.0-release/sys/kern/
H A Dsubr_bus_dma.c264 bus_size_t minlen; local
287 minlen = resid < iov[i].iov_len ? resid : iov[i].iov_len;
288 if (minlen > 0) {
290 minlen, pmap, flags, NULL, nsegs);
291 resid -= minlen;
H A Dsubr_sglist.c425 size_t resid, minlen; local
449 minlen = MIN(resid, iov[i].iov_len);
450 if (minlen > 0) {
451 error = _sglist_append_buf(sg, iov[i].iov_base, minlen,
457 resid -= minlen;
/freebsd-11.0-release/usr.sbin/traceroute6/
H A Dtraceroute6.c376 size_t size, minlen; local
652 minlen = ICMP6ECHOLEN + sizeof(struct tv32);
655 minlen = sizeof(struct opacket);
658 minlen = 0;
666 if (datalen < minlen)
667 datalen = minlen;
671 minlen, MAXPACKET);
/freebsd-11.0-release/contrib/tcpdump/
H A Dprint-ldp.c231 #define TLV_TCHECK(minlen) \
232 ND_TCHECK2(*tptr, minlen); if (tlv_tlen < minlen) goto badtlv;
/freebsd-11.0-release/usr.sbin/rrenumd/
H A Dparser.y107 %type <num> prefixlen maxlen minlen keeplen vltime pltime
334 rrenum_cmd MATCH_PREFIX_CMD prefixval maxlen minlen
390 minlen: label
/freebsd-11.0-release/contrib/ipfilter/tools/
H A Dipnat.c416 int sz, i, used, maxlen, minlen, totallen; local
454 minlen = nsp->ns_side[which].ns_inuse;
462 if (buckets[i] < minlen)
463 minlen = buckets[i];
473 printf("%d\tminimal length %s\n", minlen, side);
H A Dipfstat.c1137 int minlen, maxlen, totallen; local
1246 minlen = ipsp->iss_max;
1253 if (buckets[i] < minlen)
1254 minlen = buckets[i];
1262 minlen);
/freebsd-11.0-release/sys/dev/vnic/
H A Dnic_reg.h216 uint64_t minlen:16; member in struct:pkind_cfg
H A Dnic_main.c661 nic->pkind.minlen = 0;
/freebsd-11.0-release/sys/mips/cavium/octe/
H A Dethernet-common.c200 frm_len_chk.s.minlen = 64;
/freebsd-11.0-release/contrib/unbound/validator/
H A Dval_sigcrypt.c793 size_t minlen; local
851 minlen = d->rr_len[i]-2;
852 if(minlen > d->rr_len[j]-2)
853 minlen = d->rr_len[j]-2;
854 c = memcmp(d->rr_data[i]+2, d->rr_data[j]+2, minlen);
/freebsd-11.0-release/sys/netinet/
H A Dudp_usrreq.c1586 size_t minlen, payload, skip, iphlen; local
1599 minlen = off + sizeof(uint64_t) + sizeof(struct esp);
1600 if (minlen > m->m_pkthdr.len)
1601 minlen = m->m_pkthdr.len;
1602 if ((m = m_pullup(m, minlen)) == NULL) {
H A Digmp.c1441 int minlen; local
1469 minlen = iphlen;
1471 minlen += IGMP_V3_QUERY_MINLEN;
1473 minlen += IGMP_MINLEN;
1474 if ((!M_WRITABLE(m) || m->m_len < minlen) &&
1475 (m = m_pullup(m, minlen)) == NULL) {
H A Dip_mroute.c2570 int minlen; local
2599 minlen = iphlen + (datalen >= PIM_REG_MINLEN ? PIM_REG_MINLEN : PIM_MINLEN);
2604 if (m->m_len < minlen && (m = m_pullup(m, minlen)) == NULL) {
/freebsd-11.0-release/contrib/one-true-awk/
H A Drun.c98 int adjbuf(char **pbuf, int *psiz, int minlen, int quantum, char **pbptr, argument
102 * minlen: minimum length of buffer needed
110 if (minlen > *psiz) {
112 int rminlen = quantum ? minlen % quantum : 0;
116 minlen += quantum - rminlen;
117 tbuf = (char *) realloc(*pbuf, minlen);
118 dprintf( ("adjbuf %s: %d %d (pbuf=%p, tbuf=%p)\n", whatrtn, *psiz, minlen, *pbuf, tbuf) );
125 *psiz = minlen;
/freebsd-11.0-release/sys/netinet6/
H A Dip6_mroute.c1721 int minlen; local
1747 minlen = (pimlen >= PIM6_REG_MINLEN) ? PIM6_REG_MINLEN : PIM_MINLEN;
1754 IP6_EXTHDR_CHECK(m, off, minlen, IPPROTO_DONE);
1761 IP6_EXTHDR_GET(pim, struct pim *, m, off, minlen);
/freebsd-11.0-release/sbin/pfctl/
H A Dpfctl_osfp.c868 get_str(char **line, size_t *len, char **v, const char *name, int minlen, argument
877 if (fieldlen < minlen) {
/freebsd-11.0-release/contrib/wpa/src/drivers/
H A Ddriver_nl80211_event.c1188 .minlen = NL80211_KEK_LEN,
1192 .minlen = NL80211_KCK_LEN,
1196 .minlen = NL80211_REPLAY_CTR_LEN,
1228 .minlen = ETH_ALEN,
/freebsd-11.0-release/sys/netipsec/
H A Dxform_ipcomp.c423 if (m->m_pkthdr.len <= ipcompx->minlen) {
/freebsd-11.0-release/sys/contrib/ipfilter/netinet/
H A Dip_nat6.c1398 int flags = 0, type, minlen; local
1406 minlen = 40;
1500 minlen += 8; /* + 64bits of data to get ports */
1501 /* TRACE (fin,minlen) */
1502 if (fin->fin_plen < ICMPERR_IPICMPHLEN + minlen) {

Completed in 209 milliseconds

12