| /freebsd-14.2/contrib/ntp/libntp/ |
| H A D | work_fork.c | 265 size_t octets; in send_blocking_req_internal() local 281 octets = hdr->octets - sizeof(*hdr); in send_blocking_req_internal() 289 rc, octets); in send_blocking_req_internal() 320 INSIST(sizeof(hdr) < hdr.octets && hdr.octets < 4 * 1024); in receive_blocking_req_internal() 323 octets = hdr.octets - sizeof(hdr); in receive_blocking_req_internal() 325 octets); in receive_blocking_req_internal() 330 rc, octets); in receive_blocking_req_internal() 352 size_t octets; in send_blocking_resp_internal() local 357 octets = resp->octets; in send_blocking_resp_internal() 398 octets = hdr.octets - sizeof(hdr); in receive_blocking_resp_internal() [all …]
|
| H A D | ntp_intres.c | 118 size_t octets; member 132 size_t octets; member 144 size_t octets; member 158 size_t octets; member 264 gai_req->octets = req_size; in getaddrinfo_sometime_ex() 551 gai_req->octets, in getaddrinfo_sometime_complete() 697 size_t octets; in blocking_getnameinfo() local 778 gni_resp->octets = sizeof(*gni_resp) + octets; in blocking_getnameinfo() 849 gni_req->octets, in getnameinfo_sometime_complete() 927 size_t octets; in reserve_dnschild_ctx() local [all …]
|
| H A D | strdup.c | 18 size_t octets; in strdup() local 22 octets = strlen(s) + 1; in strdup() 23 if ((cp = malloc(octets)) == NULL) in strdup() 25 memcpy(cp, s, octets); in strdup()
|
| H A D | ntp_worker.c | 136 size_t octets; in available_blocking_child_slot() local 150 octets = new_alloc * each; in available_blocking_child_slot() 151 blocking_children = erealloc_zero(blocking_children, octets, in available_blocking_child_slot() 174 req_hdr.octets = sizeof(req_hdr) + reqsize; in queue_blocking_request() 220 resp->octets = respsize; in queue_blocking_response() 254 resp->octets - sizeof(*resp), in process_blocking_resp()
|
| H A D | msyslog.c | 466 size_t octets; in change_logfile() local 504 octets = cd_octets; in change_logfile() 505 octets += 1; /* separator '/' */ in change_logfile() 506 octets += strlen(log_fname); in change_logfile() 507 octets += 1; /* NUL terminator */ in change_logfile() 508 abs_fname = emalloc(octets); in change_logfile() 509 snprintf(abs_fname, octets, "%.*s%c%s", in change_logfile()
|
| H A D | socktohost.c | 36 size_t octets; in socktohost() local 97 octets = min(sizeof(addr), ai->ai_addrlen); in socktohost() 98 memcpy(&addr, ai->ai_addr, octets); in socktohost()
|
| H A D | ntp_rfc2553.c | 174 size_t octets; in copy_addrinfo_common() local 191 octets = elements * (sizeof(*ai_cpy) + sizeof(*psau)); in copy_addrinfo_common() 192 octets += canons_octets; in copy_addrinfo_common() 194 dst = erealloczsite(NULL, octets, 0, TRUE, caller_file, in copy_addrinfo_common() 225 ENSURE(pcanon == ((char *)dst + octets)); in copy_addrinfo_common()
|
| H A D | icom.c | 23 #define write(fd, data, octets) async_write(fd, data, octets) argument
|
| /freebsd-14.2/usr.sbin/bsnmpd/tools/libbsnmptools/ |
| H A D | bsnmptc.c | 213 if (!isprint(octets[i])) { in snmp_oct2str() 323 year = (octets[0] << 8); in snmp_octstr2date() 324 year += (octets[1]); in snmp_octstr2date() 327 ptr += sprintf(ptr, "%4.4d-%.2d-%.2d, ", year, octets[2],octets[3]); in snmp_octstr2date() 328 ptr += sprintf(ptr, "%2.2d:%2.2d:%2.2d.%.2d, ", octets[4],octets[5], in snmp_octstr2date() 329 octets[6],octets[7]); in snmp_octstr2date() 330 ptr += sprintf(ptr, "%c%.2d:%.2d", octets[8],octets[9],octets[10]); in snmp_octstr2date() 713 i = octets[0] * 1000 + octets[1] * 100 + octets[2] * 10 + octets[3]; in snmp_oct2ntp_ts() 715 i = octets[4] * 1000 + octets[5] * 100 + octets[6] * 10 + octets[7]; in snmp_oct2ntp_ts() 863 priority = octets[0] << 8; in snmp_oct2bridgeid() [all …]
|
| /freebsd-14.2/contrib/ntp/libntp/lib/isc/unix/ |
| H A D | dir.c | 62 size_t octets; in isc_dir_open() local 72 octets = strlen(dirname) + 1; in isc_dir_open() 73 if (octets + 2 > sizeof(dir->dirname)) in isc_dir_open() 76 strlcpy(dir->dirname, dirname, octets); in isc_dir_open() 108 size_t octets; in isc_dir_read() local 123 octets = strlen(entry->d_name) + 1; in isc_dir_read() 124 if (sizeof(dir->entry.name) < octets) in isc_dir_read() 127 strlcpy(dir->entry.name, entry->d_name, octets); in isc_dir_read()
|
| /freebsd-14.2/crypto/heimdal/doc/ |
| H A D | layman.asc | 461 Length octets. One octet, 80. 465 End-of-contents octets. Two octets, 00 00. 470 length octets, respectively. Thus the end-of-contents octets 521 contents octets; the tag and length octets follow Sections 3 653 o identifier octets are a0 962 the length octets: 1234 included in the contents octets 1239 the contents octets 1245 octets. 1316 contents octets [all …]
|
| /freebsd-14.2/sys/libkern/ |
| H A D | inet_pton.c | 75 int saw_digit, octets, ch; in inet_pton4() local 80 octets = 0; in inet_pton4() 94 if (++octets > 4) in inet_pton4() 99 if (octets == 4) in inet_pton4() 106 if (octets < 4) in inet_pton4()
|
| /freebsd-14.2/contrib/ntp/libntp/lib/isc/ |
| H A D | inet_pton.c | 85 int saw_digit, octets, ch; in inet_pton4() local 89 octets = 0; in inet_pton4() 103 if (++octets > 4) in inet_pton4() 108 if (octets == 4) in inet_pton4() 115 if (octets < 4) in inet_pton4()
|
| /freebsd-14.2/lib/libc/inet/ |
| H A D | inet_pton.c | 81 int saw_digit, octets, ch; in inet_pton4() local 85 octets = 0; in inet_pton4() 99 if (++octets > 4) in inet_pton4() 104 if (octets == 4) in inet_pton4() 111 if (octets < 4) in inet_pton4()
|
| /freebsd-14.2/contrib/unbound/compat/ |
| H A D | inet_pton.c | 99 int saw_digit, octets, ch; local 103 octets = 0; 115 if (++octets > 4) 120 if (octets == 4) 127 if (octets < 4)
|
| /freebsd-14.2/contrib/ldns/compat/ |
| H A D | inet_pton.c | 99 int saw_digit, octets, ch; local 103 octets = 0; 115 if (++octets > 4) 120 if (octets == 4) 127 if (octets < 4)
|
| /freebsd-14.2/contrib/wpa/hostapd/ |
| H A D | hostapd.sim_db | 4 # Kc: hex, 8 octets 5 # SRES: hex, 4 octets 6 # RAND: hex, 16 octets
|
| /freebsd-14.2/contrib/ntp/tests/libntp/ |
| H A D | digests.c | 30 void dump_mac(keyid_t keyid, u_char *pmac, size_t octets); 49 ssize_t octets; in setUp() local 86 octets = read(msgf, msg, msg_sz); in setUp() 87 if (octets != msg_sz) { in setUp() 89 msg_fname, (u_int)octets, (u_int)msg_sz); in setUp() 506 size_t octets in dump_mac() argument 515 for (idx = 4; idx < octets; idx++) { in dump_mac()
|
| /freebsd-14.2/contrib/bsnmp/snmpd/ |
| H A D | export.c | 70 memcpy(*valp, value->v.octetstring.octets, value->v.octetstring.len); in string_save() 112 value->v.octetstring.octets = NULL; in string_get() 117 if ((value->v.octetstring.octets = malloc((size_t)len)) == NULL) { in string_get() 122 memcpy(value->v.octetstring.octets, ptr, (size_t)len); in string_get() 136 value->v.octetstring.octets = NULL; in string_get_max() 143 if ((value->v.octetstring.octets = malloc((size_t)len)) == NULL) { in string_get_max() 148 memcpy(value->v.octetstring.octets, ptr, (size_t)len); in string_get_max()
|
| /freebsd-14.2/contrib/ntp/ntpd/ |
| H A D | refclock_as2201.c | 235 size_t octets; in as2201_receive() local 336 octets = strlen(stat_command[up->index]); in as2201_receive() 337 if ((int)(up->lastptr - up->stats + 1 + octets) > SMAX - 2) in as2201_receive() 340 memcpy(up->lastptr, stat_command[up->index], octets); in as2201_receive() 341 up->lastptr += octets - 1; in as2201_receive()
|
| /freebsd-14.2/usr.sbin/ppp/ |
| H A D | mbuf.c | 72 size_t octets; member 159 MemMap[type].octets += bp->m_size; in m_get() 172 MemMap[bp->m_type].octets -= bp->m_size; in m_free() 330 (u_long)MemMap[i].octets, mbuftype(i+1), in mbuf_Show() 331 (u_long)MemMap[i+1].fragments, (u_long)MemMap[i+1].octets); in mbuf_Show() 336 (u_long)MemMap[i].octets); in mbuf_Show() 415 MemMap[bp->m_type].octets -= bp->m_size; in m_settype() 418 MemMap[type].octets += bp->m_size; in m_settype()
|
| H A D | lqr.c | 375 u_int32_t LQRs, transitLQRs, pkts, octets, disc, err; in lqr_Analyse() local 387 octets = (newlqr->LastOutOctets - oldlqr->LastOutOctets) - in lqr_Analyse() 392 (int)octets, octets == 1 ? "" : "s"); in lqr_Analyse() 396 octets = (newlqr->PeerOutOctets - oldlqr->PeerOutOctets) - in lqr_Analyse() 400 (int)octets, octets == 1 ? "" : "s"); in lqr_Analyse()
|
| /freebsd-14.2/sys/dev/mlx5/mlx5_core/ |
| H A D | mlx5_vport.c | 1671 vc->received_errors.octets = in mlx5_get_vport_counters() 1673 out, received_errors.octets); in mlx5_get_vport_counters() 1677 vc->transmit_errors.octets = in mlx5_get_vport_counters() 1679 out, transmit_errors.octets); in mlx5_get_vport_counters() 1683 vc->received_ib_unicast.octets = in mlx5_get_vport_counters() 1689 vc->transmitted_ib_unicast.octets = in mlx5_get_vport_counters() 1695 vc->received_ib_multicast.octets = in mlx5_get_vport_counters() 1707 vc->received_eth_broadcast.octets = in mlx5_get_vport_counters() 1716 vc->received_eth_unicast.octets = in mlx5_get_vport_counters() 1722 vc->transmitted_eth_unicast.octets = in mlx5_get_vport_counters() [all …]
|
| /freebsd-14.2/contrib/tcpdump/ |
| H A D | print-cnfp.c | 71 nd_uint32_t octets; /* layer 3 octets in the packets of the flow */ member 103 nd_uint32_t octets; /* layer 3 octets in the packets of the flow */ member 137 nd_uint32_t octets; /* layer 3 octets in the packets of the flow */ member 241 GET_BE_U_4(nr->octets), buf); in cnfp_v1_print() 343 GET_BE_U_4(nr->octets), buf); in cnfp_v5_print() 448 GET_BE_U_4(nr->octets), buf); in cnfp_v6_print()
|
| /freebsd-14.2/contrib/bsnmp/lib/ |
| H A D | snmp.c | 112 binding->v.octetstring.octets = malloc(len); in get_var_binding() 113 if (binding->v.octetstring.octets == NULL) { in get_var_binding() 119 binding->v.octetstring.octets, in get_var_binding() 122 free(binding->v.octetstring.octets); in get_var_binding() 123 binding->v.octetstring.octets = NULL; in get_var_binding() 1159 free(value->v.octetstring.octets); in snmp_value_free() 1160 value->v.octetstring.octets = NULL; in snmp_value_free() 1173 to->v.octetstring.octets = NULL; in snmp_value_copy() 1176 if (to->v.octetstring.octets == NULL) in snmp_value_copy() 1178 (void)memcpy(to->v.octetstring.octets, in snmp_value_copy() [all …]
|