/freebsd-9.3-release/sys/dev/iicbus/ |
H A D | ds1775.c | 177 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 D | eap_ikev2.c | 142 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 D | eap_tnc.c | 95 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 D | eap_wsc.c | 254 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 D | eap_server_ikev2.c | 140 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 D | eap_server_tnc.c | 228 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 D | eap_server_wsc.c | 187 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 D | tlsv1_cred.c | 81 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 D | ibss_rsn.c | 415 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 D | ng_pipe.c | 109 #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 D | netflow.c | 330 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 D | rtadvd.c | 469 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 D | ex_subst.c | 893 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 D | pat_rep.c | 245 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 D | vlan_init.c | 642 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 D | pppoed.c | 124 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 D | ip_fw_table.c | 140 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 D | evp_pkey.c | 101 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 D | histedit.c | 413 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 D | sha256c.c | 205 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 D | dt_pragma.c | 244 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 D | print-eigrp.c | 136 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 D | principal.c | 394 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 D | pfkey_dump.c | 515 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 D | test-pfkey.c | 477 int plen; local 481 plen = sizeof(struct in_addr) << 3; 484 plen = sizeof(struct in6_addr) << 3; 507 m_addr.sadb_address_prefixlen = plen;
|