Searched refs:octets (Results 1 - 25 of 56) sorted by relevance

123

/freebsd-10.0-release/sys/netgraph/
H A Dng_hole.h54 uint64_t octets; member in struct:ng_hole_hookstat
60 { "octets", &ng_parse_uint64_type }, \
/freebsd-10.0-release/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmptc.c88 static char *snmp_oct2inetaddr(uint32_t len, char *octets, char *buf);
92 static char *snmp_oct2bits(uint32_t len, char *octets, char *buf);
156 snmp_oct2tc(enum snmp_tc tc, uint32_t len, char *octets) argument
175 if (text_convs[tc].oct2tc(len, octets, buf) == NULL) {
205 snmp_oct2str(uint32_t len, char *octets, char *buf) argument
211 if (len > MAX_OCTSTRING_LEN || octets == NULL || buf == NULL)
215 if (!isprint(octets[i])) {
223 ptr += sprintf(ptr, "%c", octets[i]);
225 ptr += sprintf(ptr, "%2.2x", (u_char)octets[i]);
271 if((value->v.octetstring.octets
316 snmp_octstr2date(uint32_t len, char *octets, char *buf) argument
582 snmp_oct2physAddr(uint32_t len, char *octets, char *buf) argument
695 snmp_oct2ntp_ts(uint32_t len, char *octets, char *buf) argument
841 snmp_oct2bridgeid(uint32_t len, char *octets, char *buf) argument
1000 snmp_oct2bport_id(uint32_t len, char *octets, char *buf) argument
1139 snmp_oct2inetaddr(uint32_t len, char *octets, char *buf) argument
1192 snmp_oct2bits(uint32_t len, char *octets, char *buf) argument
[all...]
H A Dbsnmptc.h41 * 11 bytes - octets that represent DateAndTime Textual convention
48 * 6 bytes - octets that represent PhysAddress Textual convention
91 char *snmp_oct2tc(enum snmp_tc tc, uint32_t len, char *octets);
/freebsd-10.0-release/contrib/apr/network_io/unix/
H A Dinet_pton.c109 int saw_digit, octets, ch; local
113 octets = 0;
125 if (++octets > 4)
130 if (octets == 4)
137 if (octets < 4)
/freebsd-10.0-release/contrib/ldns/compat/
H A Dinet_pton.c99 int saw_digit, octets, ch; local
103 octets = 0;
115 if (++octets > 4)
120 if (octets == 4)
127 if (octets < 4)
/freebsd-10.0-release/contrib/ntp/libisc/
H A Dinet_pton.c80 int saw_digit, octets, ch; local
84 octets = 0;
98 if (++octets > 4)
103 if (octets == 4)
110 if (octets < 4)
/freebsd-10.0-release/contrib/unbound/compat/
H A Dinet_pton.c99 int saw_digit, octets, ch; local
103 octets = 0;
115 if (++octets > 4)
120 if (octets == 4)
127 if (octets < 4)
/freebsd-10.0-release/sys/libkern/
H A Dinet_pton.c81 int saw_digit, octets, ch; local
86 octets = 0;
100 if (++octets > 4)
105 if (octets == 4)
112 if (octets < 4)
/freebsd-10.0-release/contrib/binutils/opcodes/
H A Ddis-buf.c36 unsigned int octets = (memaddr - info->buffer_vma) * opb; local
42 memcpy (myaddr, info->buffer + octets, length);
/freebsd-10.0-release/lib/libc/inet/
H A Dinet_pton.c83 int saw_digit, octets, ch; local
87 octets = 0;
101 if (++octets > 4)
106 if (octets == 4)
113 if (octets < 4)
/freebsd-10.0-release/contrib/binutils/bfd/
H A Dreloc.c585 bfd_size_type octets = reloc_entry->address * bfd_octets_per_byte (abfd); local
883 char x = bfd_get_8 (abfd, (char *) data + octets);
885 bfd_put_8 (abfd, x, (unsigned char *) data + octets);
891 short x = bfd_get_16 (abfd, (bfd_byte *) data + octets);
893 bfd_put_16 (abfd, (bfd_vma) x, (unsigned char *) data + octets);
898 long x = bfd_get_32 (abfd, (bfd_byte *) data + octets);
900 bfd_put_32 (abfd, (bfd_vma) x, (bfd_byte *) data + octets);
905 long x = bfd_get_32 (abfd, (bfd_byte *) data + octets);
908 bfd_put_32 (abfd, (bfd_vma) x, (bfd_byte *) data + octets);
914 long x = bfd_get_16 (abfd, (bfd_byte *) data + octets);
975 bfd_size_type octets = reloc_entry->address * bfd_octets_per_byte (abfd); local
[all...]
/freebsd-10.0-release/contrib/bsnmp/snmpd/
H A Dexport.c70 memcpy(*valp, value->v.octetstring.octets, value->v.octetstring.len);
112 value->v.octetstring.octets = NULL;
118 if ((value->v.octetstring.octets = malloc((size_t)len)) == NULL)
120 memcpy(value->v.octetstring.octets, ptr, (size_t)len);
134 value->v.octetstring.octets = NULL;
142 if ((value->v.octetstring.octets = malloc((size_t)len)) == NULL)
144 memcpy(value->v.octetstring.octets, ptr, (size_t)len);
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-10.0-release/sys/netgraph/netflow/
H A Dnetflow.h95 uint32_t octets; /* Number of octets in a flow */ member in struct:netflow_v1_record
117 uint32_t octets; /* Number of octets in a flow */ member in struct:netflow_v5_record
/freebsd-10.0-release/usr.sbin/ppp/
H A Dmbuf.c72 size_t octets; member in struct:memmap
159 MemMap[type].octets += bp->m_size;
172 MemMap[bp->m_type].octets -= bp->m_size;
325 prompt_Printf(arg->prompt, "Fragments (octets) in use:\n");
330 (u_long)MemMap[i].octets, mbuftype(i+1),
331 (u_long)MemMap[i+1].fragments, (u_long)MemMap[i+1].octets);
336 (u_long)MemMap[i].octets);
415 MemMap[bp->m_type].octets -= bp->m_size;
418 MemMap[type].octets += bp->m_size;
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-10.0-release/contrib/tcpdump/
H A Dprint-cnfp.c71 u_int32_t octets; member in struct:nfrec
185 printf("tos %u, %u (%u octets) %s",
188 EXTRACT_32BITS(&nr->octets), buf);
/freebsd-10.0-release/sys/mips/cavium/octe/
H A Dethernet-common.c94 * Can return as either a 64-bit value and/or 6 octets.
97 * @param octets Filled in with the assigned address if non-NULL
100 int cvm_assign_mac_address(uint64_t *macp, uint8_t *octets) argument
119 if (octets)
120 memcpy(octets, (u_int8_t *)&cvm_oct_mac_addr + 2, 6);
/freebsd-10.0-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...]
/freebsd-10.0-release/contrib/ntp/ntpd/
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)
/freebsd-10.0-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)

Completed in 321 milliseconds

123