Searched refs:plen (Results 76 - 100 of 230) sorted by relevance

12345678910

/freebsd-9.3-release/sys/dev/iicbus/
H A Dds1775.c177 ssize_t plen; local
195 plen = OF_getprop(child, "hwsensor-location", sc->sc_sensor.name,
199 if (plen == -1) {
/freebsd-9.3-release/contrib/wpa/src/eap_peer/
H A Deap_ikev2.c142 size_t send_len, plen, icv_len = 0; local
165 plen = 1 + send_len;
167 plen += 4;
181 plen += icv_len;
183 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_IKEV2, plen,
H A Deap_tnc.c95 size_t send_len, plen; local
112 plen = 1 + send_len;
114 plen += 4;
115 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_TNC, plen,
H A Deap_wsc.c254 size_t send_len, plen; local
270 plen = 2 + send_len;
272 plen += 2;
273 resp = eap_msg_alloc(EAP_VENDOR_WFA, EAP_VENDOR_TYPE_WSC, plen,
/freebsd-9.3-release/contrib/wpa/src/eap_server/
H A Deap_server_ikev2.c140 size_t send_len, plen, icv_len = 0; local
155 plen = 1 + send_len;
157 plen += 4;
171 plen += icv_len;
173 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_IKEV2, plen,
H A Deap_server_tnc.c228 size_t send_len, plen; local
243 plen = 1 + send_len;
245 plen += 4;
246 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_TNC, plen,
H A Deap_server_wsc.c187 size_t send_len, plen; local
199 plen = 2 + send_len;
201 plen += 2;
202 req = eap_msg_alloc(EAP_VENDOR_WFA, EAP_VENDOR_TYPE_WSC, plen,
/freebsd-9.3-release/contrib/wpa/src/tls/
H A Dtlsv1_cred.c81 size_t i, plen; local
83 plen = os_strlen(tag);
84 if (len < plen)
87 for (i = 0; i < len - plen; i++) {
88 if (os_memcmp(buf + i, tag, plen) == 0)
/freebsd-9.3-release/contrib/wpa/wpa_supplicant/
H A Dibss_rsn.c415 size_t plen; local
424 plen = be_to_host16(hdr->length);
434 if (plen > len - sizeof(*hdr) || plen < sizeof(*key)) {
437 (unsigned long) plen, (unsigned long) len);
/freebsd-9.3-release/sys/netgraph/
H A Dng_pipe.c109 #define FIFO_VTIME_SORT(plen) \
111 ngp_f->vtime.tv_usec = now->tv_usec + ((uint64_t) (plen) \
598 int hash, plen; local
615 plen = NGI_M(item)->m_pkthdr.len;
621 hinfo->stats.out_disc_octets += plen;
624 hinfo->stats.fwd_octets += plen;
770 int plen, error = 0; local
891 plen = m->m_pkthdr.len;
893 hinfo->run.qout_octets -= plen;
902 hinfo->stats.out_disc_octets += plen;
[all...]
/freebsd-9.3-release/sys/netgraph/netflow/
H A Dnetflow.c330 int plen, uint8_t tcp_flags)
351 fle->f.bytes = plen;
416 int plen, uint8_t tcp_flags)
438 fle6->f.bytes = plen;
659 int hlen, plen; local
685 plen = ntohs(ip->ip_len);
720 priv->info.nfinfo_bytes += plen;
745 fle->f.bytes += plen;
773 error = hash_insert(priv, hsh, &r, plen, tcp_flags);
790 int plen; local
329 hash_insert(priv_p priv, struct flow_hash_entry *hsh, struct flow_rec *r, int plen, uint8_t tcp_flags) argument
415 hash6_insert(priv_p priv, struct flow_hash_entry *hsh6, struct flow6_rec *r, int plen, uint8_t tcp_flags) argument
[all...]
/freebsd-9.3-release/usr.sbin/rtadvd/
H A Drtadvd.c469 int n, type, ifindex = 0, plen; local
608 plen = get_prefixlen(msg);
609 /* sanity check for plen */
611 if (plen < 4 || plen > 127) {
613 "plen %d is invalid for a prefix",
614 __func__, plen);
617 pfx = find_prefix(rai, addr, plen);
635 plen, ifi->ifi_ifname);
638 make_prefix(rai, ifindex, addr, plen);
1358 find_prefix(struct rainfo *rai, struct in6_addr *prefix, int plen) argument
[all...]
/freebsd-9.3-release/contrib/nvi/ex/
H A Dex_subst.c893 re_compile(sp, ptrn, plen, ptrnp, lenp, rep, flags)
896 size_t plen, *lenp;
912 for (p = ptrn, len = plen; len > 0; ++p, --len)
937 if (re_cscope_conv(sp, &ptrn, &plen, &replaced))
947 if (re_tag_conv(sp, &ptrn, &plen, &replaced))
950 if (re_conv(sp, &ptrn, &plen, &replaced))
959 *lenp = plen;
968 MALLOC(sp, *ptrnp, char *, plen + 1);
970 memcpy(*ptrnp, ptrn, plen);
971 (*ptrnp)[plen]
[all...]
/freebsd-9.3-release/bin/pax/
H A Dpat_rep.c245 pt->plen = strlen(str);
366 pt->plen = strlen(pt->pstr);
371 len = pt->plen - 1;
374 pt->plen = len;
454 if ((arcn->name[pt->plen] == '/') &&
455 (strncmp(pt->pstr, arcn->name, pt->plen) == 0))
/freebsd-9.3-release/contrib/wpa/src/ap/
H A Dvlan_init.c642 int len, plen; local
645 plen = len - sizeof(*h);
646 if (len > left || plen < 0) {
648 "message: len=%d left=%d plen=%d",
649 len, left, plen);
655 vlan_read_ifnames(h, plen, 0, hapd);
658 vlan_read_ifnames(h, plen, 1, hapd);
/freebsd-9.3-release/libexec/pppoed/
H A Dpppoed.c124 int f, plen; local
223 plen = strlen(provider);
225 data = (struct ngpppoe_init_data *)alloca(sizeof *data + plen);
227 memcpy(data->data, provider, plen);
228 data->data_len = plen;
243 data, sizeof *data + plen) == -1) {
/freebsd-9.3-release/sys/netpfil/ipfw/
H A Dip_fw_table.c140 uint8_t plen, uint8_t mlen, uint8_t type, uint32_t value)
157 if (plen == sizeof(in_addr_t)) {
179 } else if (plen == sizeof(struct in6_addr)) {
292 uint8_t plen, uint8_t mlen, uint8_t type)
306 if (plen == sizeof(in_addr_t)) {
317 } else if (plen == sizeof(struct in6_addr)) {
139 ipfw_add_table_entry(struct ip_fw_chain *ch, uint16_t tbl, void *paddr, uint8_t plen, uint8_t mlen, uint8_t type, uint32_t value) argument
291 ipfw_del_table_entry(struct ip_fw_chain *ch, uint16_t tbl, void *paddr, uint8_t plen, uint8_t mlen, uint8_t type) argument
/freebsd-9.3-release/crypto/openssl/crypto/evp/
H A Devp_pkey.c101 int plen; local
191 plen = param->value.sequence->length;
192 if (!(dsa = d2i_DSAparams(NULL, &cp, plen))) {
246 plen = param->value.sequence->length;
248 if (!(eckey = d2i_ECParameters(NULL, &cp, plen))) {
255 plen = param->value.object->length;
/freebsd-9.3-release/bin/sh/
H A Dhistedit.c413 int plen = strlen(p); local
417 if (*s == *p && strncmp(s, p, plen) == 0) {
419 s += plen;
/freebsd-9.3-release/lib/libmd/
H A Dsha256c.c205 uint32_t r, plen; local
215 plen = (r < 56) ? (56 - r) : (120 - r);
216 SHA256_Update(ctx, PAD, (size_t)plen);
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_pragma.c244 size_t plen; local
260 if (sysctlbyname("debug.dtrace.providers", NULL, &plen, NULL, 0) ||
261 ((provs = dt_alloc(dtp, plen)) == NULL) ||
262 sysctlbyname("debug.dtrace.providers", provs, &plen, NULL, 0))
/freebsd-9.3-release/contrib/tcpdump/
H A Dprint-eigrp.c136 u_int8_t plen; member in struct:eigrp_tlv_ip_int_t
156 u_int8_t plen; member in struct:eigrp_tlv_ip_ext_t
327 bit_length = tlv_ptr.eigrp_tlv_ip_int->plen;
356 bit_length = tlv_ptr.eigrp_tlv_ip_ext->plen;
/freebsd-9.3-release/crypto/heimdal/lib/krb5/
H A Dprincipal.c394 size_t len = 0, plen; local
399 plen = strlen(princ_realm(principal));
401 if(strcspn(princ_realm(principal), quotable_chars) == plen)
402 len += plen;
404 len += 2*plen;
408 plen = strlen(princ_ncomp(principal, i));
409 if(strcspn(princ_ncomp(principal, i), quotable_chars) == plen)
410 len += plen;
412 len += 2*plen;
/freebsd-9.3-release/lib/libipsec/
H A Dpfkey_dump.c515 int plen; local
519 plen = sizeof(struct in_addr) << 3;
522 plen = sizeof(struct in6_addr) << 3;
528 if (pref == plen)
/freebsd-9.3-release/sbin/setkey/
H A Dtest-pfkey.c477 int plen; local
481 plen = sizeof(struct in_addr) << 3;
484 plen = sizeof(struct in6_addr) << 3;
507 m_addr.sadb_address_prefixlen = plen;

Completed in 290 milliseconds

12345678910