Searched refs:octets (Results 26 - 50 of 80) sorted by relevance

1234

/freebsd-9.3-release/usr.sbin/ppp/
H A Dthroughput.c113 prompt_Printf(prompt, "%llu octets in, %llu octets out\n",
142 log_Printf(level, "%s%sConnect time: %d secs: %llu octets in, %llu octets"
165 unsigned long long octets; local
180 octets = t->in.OctetsPerSecond + t->out.OctetsPerSecond;
181 if (t->BestOctetsPerSecond < octets) {
182 t->BestOctetsPerSecond = octets;
H A Dlqr.c375 u_int32_t LQRs, transitLQRs, pkts, octets, disc, err; local
387 octets = (newlqr->LastOutOctets - oldlqr->LastOutOctets) -
392 (int)octets, octets == 1 ? "" : "s");
396 octets = (newlqr->PeerOutOctets - oldlqr->PeerOutOctets) -
400 (int)octets, octets == 1 ? "" : "s");
435 * All octets which are included in the FCS calculation MUST be counted,
437 * The FCS octets MUST also be counted, and one flag octet per frame
438 * MUST be counted. All other octets (suc
[all...]
H A Dlink.c151 link_PendingLowPriorityData(struct link *l, size_t *pkts, size_t *octets) argument
169 *pkts = *octets = 0;
174 *octets += m_length(m) - m->priv;
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Dntp_monitor.c204 size_t octets; local
226 octets = sizeof(*mon_hash) * MON_HASH_SIZE;
227 mon_hash = erealloc_zero(mon_hash, octets, 0);
H A Dntp_scanner.c621 size_t octets; local
624 octets = len + 2 + 1;
625 ret = emalloc(octets);
629 snprintf(ret, octets, "\"%s\"", str);
631 strlcpy(ret, str, octets);
H A Drefclock_arbiter.c23 #define write(fd, data, octets) async_write(fd, data, octets)
H A Drefclock_dumbclock.c29 #define write(fd, data, octets) async_write(fd, data, octets)
H A Drefclock_hopfser.c52 #define write(fd, data, octets) async_write(fd, data, octets)
H A Drefclock_acts.c27 #define write(fd, data, octets) async_write(fd, data, octets)
322 int octets; local
334 octets = sizeof(up->buf) - (up->bufptr - up->buf);
335 refclock_gtraw(rbufp, tbuf, octets, &pp->lastrec);
/freebsd-9.3-release/contrib/bsnmp/lib/
H A Dsnmp.c110 binding->v.octetstring.octets = malloc(len);
111 if (binding->v.octetstring.octets == NULL) {
117 binding->v.octetstring.octets,
120 free(binding->v.octetstring.octets);
121 binding->v.octetstring.octets = NULL;
933 err = asn_put_octetstring(b, binding->v.octetstring.octets,
1027 snmp_printf(" %02x", b->v.octetstring.octets[i]);
1154 free(value->v.octetstring.octets);
1166 to->v.octetstring.octets = NULL;
1168 to->v.octetstring.octets
[all...]
H A Dasn1.c295 /* split the value into octets */
361 * Values with the msb on need 9 octets.
371 /* split the value into octets */
446 asn_get_octetstring_raw(struct asn_buf *b, asn_len_t len, u_char *octets, argument
460 memcpy(octets, b->asn_cptr, *noctets);
462 memcpy(octets, b->asn_cptr, len);
470 asn_get_octetstring(struct asn_buf *b, u_char *octets, u_int *noctets) argument
482 return (asn_get_octetstring_raw(b, len, octets, noctets));
486 asn_put_octetstring(struct asn_buf *b, const u_char *octets, u_int noctets) argument
495 memcpy(b->asn_ptr, octets, noctet
[all...]
H A Dsnmp.h75 u_char *octets; member in struct:snmp_value::snmp_values::__anon842
/freebsd-9.3-release/contrib/ntp/include/
H A Dntp_worker.h37 size_t octets; member in struct:blocking_pipe_header_tag
/freebsd-9.3-release/sys/contrib/octeon-sdk/
H A Dcvmx-pko.h143 uint64_t octets; member in struct:__anon6557
535 status->octets = pko_mem_count1.s.count;
H A Dcvmx-pip.h174 uint32_t dropped_octets; /**< Inbound octets marked to be dropped by the IPD */
177 uint32_t octets; /**< Number of octets processed by PIP */ member in struct:__anon6552
200 uint64_t inb_octets; /**< Total number of octets from all packets received by PIP, including CRC */
386 status->octets = stat1.s.octs;
/freebsd-9.3-release/contrib/bsnmp/snmp_vacm/
H A Dvacm_snmp.c176 val->v.octetstring.octets,val->v.octetstring.len));
302 acl->read_view = vacm_get_view_by_name(val->v.octetstring.octets, val->v.octetstring.len);
312 vacm_get_view_by_name(val->v.octetstring.octets,
322 vacm_get_view_by_name(val->v.octetstring.octets,
500 memcpy(view->mask, val->v.octetstring.octets,
856 vacm_get_view_by_name(u_char *octets, u_int len) argument
862 memcmp(octets, view->viewname, len) == 0)
/freebsd-9.3-release/contrib/bsnmp/snmpd/
H A Dconfig.c905 value->v.octetstring.octets = malloc(strvallen);
906 (void)memcpy(value->v.octetstring.octets, strval, strvallen);
912 value->v.octetstring.octets = NULL;
920 free(value->v.octetstring.octets);
932 noct = realloc(value->v.octetstring.octets, alloc);
935 value->v.octetstring.octets = noct;
937 value->v.octetstring.octets[value->v.octetstring.len++]
/freebsd-9.3-release/contrib/binutils/binutils/
H A Dobjdump.c1326 int octets = opb;
1375 previous_octets = octets;
1376 octets = 0;
1378 /* If we see more than SKIP_ZEROES octets of zeroes, we just
1392 /* If there are more nonzero octets to follow, we only skip
1399 octets = z - addr_offset * opb;
1474 octets = (*disassemble_fn) (section->vma + addr_offset, info);
1479 if (octets < 0)
1490 octets = octets_per_line;
1491 if (addr_offset + octets / op
1322 int octets = opb; local
[all...]
/freebsd-9.3-release/sys/netgraph/
H A Dng_hole.c210 hip->stats.octets += NGI_M(item)->m_pkthdr.len;
/freebsd-9.3-release/contrib/ntp/sntp/
H A Dmain.c385 size_t octets; local
401 octets = sizeof(*ctx) + name_sz; // Space for a ctx and the name
402 ctx = emalloc_zero(octets); // ctx at ctx[0]
452 size_t octets; local
512 octets = min(ai->ai_addrlen, sizeof(spkt->addr));
513 memcpy(&spkt->addr, ai->ai_addr, octets);
/freebsd-9.3-release/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmptools.c1410 temp->val.v.octetstring.octets != NULL)
1411 free(temp->val.v.octetstring.octets);
1426 o->val.v.octetstring.octets != NULL)
1427 free(o->val.v.octetstring.octets);
1653 uint32_t len, uint8_t *octets)
1657 if (len == 0 || octets == NULL)
1664 if ((buf = snmp_oct2tc(tc, len, (char *) octets)) != NULL) {
1808 val->v.octetstring.len, val->v.octetstring.octets);
1811 val->v.octetstring.len, val->v.octetstring.octets);
1652 snmp_output_octetstring(struct snmp_toolinfo *snmptoolctx, enum snmp_tc tc, uint32_t len, uint8_t *octets) argument
/freebsd-9.3-release/contrib/bsnmp/snmp_target/
H A Dtarget_snmp.c173 memcpy(addrs->address, val->v.octetstring.octets,
186 memcpy(addrs->taglist, val->v.octetstring.octets,
200 memcpy(addrs->paramname, val->v.octetstring.octets,
399 memcpy(param->secname, val->v.octetstring.octets,
560 memcpy(notify->taglist, val->v.octetstring.octets,
/freebsd-9.3-release/contrib/ntp/lib/isc/win32/
H A Dinterfaceiter.c408 unsigned int octets; local
436 octets = sizeof(iter->current.netmask.type.in6);
438 octets = sizeof(iter->current.netmask.type.in);
439 memset(&iter->current.netmask.type, 0xFF, octets);
440 return (8 * (unsigned char)octets);
/freebsd-9.3-release/contrib/bsnmp/snmp_usm/
H A Dusm_snmp.c233 memcpy(uuser->suser.auth_key, val->v.octetstring.octets,
266 memcpy(uuser->suser.priv_key, val->v.octetstring.octets,
284 val->v.octetstring.octets,
/freebsd-9.3-release/contrib/ntp/libntp/
H A Dwork_thread.c295 if (hdr->octets <= sizeof(*hdr))
297 payload_octets = hdr->octets - sizeof(*hdr);
301 threadcopy = emalloc(hdr->octets);

Completed in 804 milliseconds

1234