Searched refs:octet (Results 1 - 25 of 43) sorted by relevance

12

/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/
H A Dutf_validate.c63 /* Lookup table to categorise each octet in the string. */
254 /* Scan MAX_LEN bytes in *DATA for chars that are not in the octet
289 unsigned char octet = *data++; local
290 int category = octet_category[octet];
320 unsigned char octet = *data++; local
321 int category = octet_category[octet];
337 unsigned char octet = *data++; local
341 if (octet <= 0x7F)
343 else if (octet <= 0xC1)
345 else if (octet <
[all...]
/freebsd-11-stable/lib/libc/net/
H A Dether_addr.c76 e->octet[i] = o[i];
95 e->octet[0]=o0;
96 e->octet[1]=o1;
97 e->octet[2]=o2;
98 e->octet[3]=o3;
99 e->octet[4]=o4;
100 e->octet[5]=o5;
120 i = sprintf(a, "%02x:%02x:%02x:%02x:%02x:%02x", n->octet[0],
121 n->octet[1], n->octet[
[all...]
H A Deui64.c186 e->octet[0]=o0;
187 e->octet[1]=o1;
188 e->octet[2]=o2;
189 e->octet[3]=o3;
190 e->octet[4]=o4;
191 e->octet[5]=o5;
192 e->octet[6]=o6;
193 e->octet[7]=o7;
207 id->octet[0], id->octet[
[all...]
/freebsd-11-stable/sys/sys/
H A Deui64.h47 u_char octet[EUI64_LEN]; member in struct:eui64
/freebsd-11-stable/sys/netinet/libalias/
H A Dalias_ftp.c347 u_int8_t octet; local
358 addr = port = octet = 0;
375 octet = ch - '0';
385 octet = 10 * octet + ch - '0';
387 addr = (addr << 8) + octet;
395 octet = 10 * octet + ch - '0';
397 port = (port << 8) + octet;
420 u_int8_t octet; local
510 u_int8_t octet; local
[all...]
/freebsd-11-stable/usr.sbin/bhyve/
H A Dnet_utils.c48 if (ea == NULL || ETHER_IS_MULTICAST(ea->octet) ||
49 memcmp(ea->octet, zero_addr, ETHER_ADDR_LEN) == 0) {
53 memcpy(mac_addr, ea->octet, ETHER_ADDR_LEN);
H A Dpci_e82545.c379 sc->eeprom_data[NVM_MAC_ADDR] = ((uint16_t)sc->esc_mac.octet[0]) |
380 (((uint16_t)sc->esc_mac.octet[1]) << 8);
381 sc->eeprom_data[NVM_MAC_ADDR+1] = ((uint16_t)sc->esc_mac.octet[2]) |
382 (((uint16_t)sc->esc_mac.octet[3]) << 8);
383 sc->eeprom_data[NVM_MAC_ADDR+2] = ((uint16_t)sc->esc_mac.octet[4]) |
384 (((uint16_t)sc->esc_mac.octet[5]) << 8);
1554 eu->eu_eth.octet[5] = wval >> 8;
1555 eu->eu_eth.octet[4] = wval;
1558 eu->eu_eth.octet[3] = wval >> 24;
1559 eu->eu_eth.octet[
[all...]
/freebsd-11-stable/tools/regression/ethernet/ethermulti/
H A Dethermulti.c131 ea.octet[0] = 0x01;
132 ea.octet[1] = 0x80;
133 ea.octet[2] = ((mac4 >> 24 & 0xFF));
134 ea.octet[3] = ((mac4 >> 16 & 0xFF));
135 ea.octet[4] = ((mac4 >> 8 & 0xFF));
136 ea.octet[5] = (mac4 & 0xFF);
/freebsd-11-stable/crypto/openssl/engines/ccgost/
H A Dgost_ameth.c314 /* New format - Little endian octet string */
607 ASN1_OCTET_STRING *octet = NULL; local
614 octet = d2i_ASN1_OCTET_STRING(NULL, &pubkey_buf, pub_len);
615 if (!octet) {
619 databuf = OPENSSL_malloc(octet->length);
624 for (i = 0, j = octet->length - 1; i < octet->length; i++, j--) {
625 databuf[j] = octet->data[i];
628 dsa->pub_key = BN_bin2bn(databuf, octet->length, NULL);
629 ASN1_OCTET_STRING_free(octet);
638 ASN1_OCTET_STRING *octet = NULL; local
679 ASN1_OCTET_STRING *octet = NULL; local
731 ASN1_OCTET_STRING *octet = NULL; local
[all...]
/freebsd-11-stable/crypto/openssl/crypto/pkcs12/
H A Dp12_utl.c153 return ASN1_item_unpack(bag->value.bag->value.octet,
163 return ASN1_item_unpack(bag->value.bag->value.octet,
H A Dp12_add.c76 if (!ASN1_item_pack(obj, it, &bag->value.octet)) {
/freebsd-11-stable/sys/net/
H A Diso88025.h156 u_char octet[ISO88025_ADDR_LEN]; member in struct:iso88025_addr
H A Dif_llatbl.c839 uint8_t octet[6]; local
857 bcopy(lle->ll_addr, octet, sizeof(octet));
859 octet[0], octet[1], octet[2], octet[3], octet[4], octet[5]);
/freebsd-11-stable/contrib/wpa/src/tls/
H A Dasn1.c114 /* Short form - length 0..127 in one octet */
156 * The first octet encodes the first two object
216 static u8 rotate_bits(u8 octet) argument
224 if (octet & 1)
226 octet >>= 1;
/freebsd-11-stable/contrib/ldns/
H A Drdata.c411 uint8_t octet; local
470 octet = ( ((unsigned int) nbit) & 0x78) >> 3;
474 nibble = (ldns_rdf_data(rd)[octet] & ( 0xf << (4 * (1 -
479 (octet * 2 + nnibble)] =
/freebsd-11-stable/sbin/ifconfig/
H A Difbridge.c238 memcpy(ea.octet, ifba->ifba_dst,
239 sizeof(ea.octet));
476 memcpy(req.ifba_dst, ea->octet, sizeof(req.ifba_dst));
496 memcpy(req.ifba_dst, ea->octet, sizeof(req.ifba_dst));
/freebsd-11-stable/usr.sbin/wake/
H A Dwake.c170 bcopy(addr->octet, p, ETHER_ADDR_LEN);
/freebsd-11-stable/tools/tools/cxgbtool/
H A Dcxgbtool.c1289 uint8_t octet[4]; member in union:__anon13695
1313 sprintf(sip, "%u.%u.%u.%u/%-2u", nsip.octet[0], nsip.octet[1],
1314 nsip.octet[2], nsip.octet[3],
1316 sprintf(dip, "%u.%u.%u.%u", ndip.octet[0], ndip.octet[1],
1317 ndip.octet[2], ndip.octet[3]);
/freebsd-11-stable/sys/dev/cxgb/common/
H A Dcxgb_xgmac.c391 int hash = 0, octet, bit, i = 0, c; local
393 for (octet = 0; octet < 6; ++octet)
394 for (c = addr[octet], bit = 0; bit < 8; c >>= 1, ++bit) {
/freebsd-11-stable/contrib/apr/network_io/unix/
H A Dsockaddr.c993 int octet; local
1025 octet = atoi(s);
1026 if (octet < 0 || octet > 255) {
1029 ipsub->sub[0] |= octet << shift;
/freebsd-11-stable/tools/tools/net80211/wlanstats/
H A Dmain.c196 mac = ea->octet;
/freebsd-11-stable/usr.sbin/fwcontrol/
H A Dfwcontrol.c108 *(u_int32_t*)&(eui->octet[0]) = htonl(fweui->hi);
109 *(u_int32_t*)&(eui->octet[4]) = htonl(fweui->lo);
1026 eui.hi = ntohl(*(u_int32_t*)&(target.octet[0]));
1027 eui.lo = ntohl(*(u_int32_t*)&(target.octet[4]));
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_openbsd.h171 u8 octet[6]; member in struct:__sanitizer::__sanitizer_ether_addr
H A Dsanitizer_platform_limits_solaris.h182 u8 octet[6]; member in struct:__sanitizer::__sanitizer_ether_addr
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_bridge/
H A Dbridge_if.c233 bcopy(physaddr, bif->br_addr.octet, ETHER_ADDR_LEN);
402 bcopy(ifp->physaddr, bif->br_addr.octet, ETHER_ADDR_LEN);
404 bridge_get_basemac(bif->bif_name, bif->br_addr.octet,
649 return (string_get(value, bif->br_addr.octet,
1173 return (string_get(val, bif->br_addr.octet, ETHER_ADDR_LEN));

Completed in 316 milliseconds

12