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

12

/freebsd-9.3-release/lib/libc/net/
H A Dether_addr.c78 e->octet[i] = o[i];
94 e->octet[0]=o0;
95 e->octet[1]=o1;
96 e->octet[2]=o2;
97 e->octet[3]=o3;
98 e->octet[4]=o4;
99 e->octet[5]=o5;
119 i = sprintf(a, "%02x:%02x:%02x:%02x:%02x:%02x", n->octet[0],
120 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-9.3-release/sys/sys/
H A Deui64.h47 u_char octet[EUI64_LEN]; member in struct:eui64
/freebsd-9.3-release/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-9.3-release/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-9.3-release/contrib/bind9/lib/dns/
H A Dnsec.c75 int octet; local
83 for (octet = 31; octet >= 0; octet--)
84 if (*(raw + octet) != 0)
86 if (octet < 0) {
91 *map++ = octet + 1;
95 memmove(map, raw, octet + 1);
96 map += octet + 1;
/freebsd-9.3-release/sys/net/
H A Dif_llatbl.c416 uint8_t octet[6]; local
435 bcopy(&lle->ll_addr.mac16, octet, sizeof(octet));
437 octet[0], octet[1], octet[2], octet[3], octet[4], octet[5]);
H A Diso88025.h156 u_char octet[ISO88025_ADDR_LEN]; member in struct:iso88025_addr
H A Dethernet.h70 u_char octet[ETHER_ADDR_LEN]; member in struct:ether_addr
/freebsd-9.3-release/contrib/wpa/src/tls/
H A Dasn1.c71 /* Short form - length 0..127 in one octet */
112 * The first octet encodes the first two object
172 static u8 rotate_bits(u8 octet) argument
180 if (octet & 1)
182 octet >>= 1;
/freebsd-9.3-release/contrib/bind9/lib/dns/rdata/generic/
H A Dnsec_47.c40 int octet; local
74 for (octet = 31; octet >= 0; octet--)
75 if (bm[window * 32 + octet] != 0)
77 if (octet < 0)
80 RETERR(uint8_tobuffer(octet + 1, target));
81 RETERR(mem_tobuffer(target, &bm[window * 32], octet + 1));
179 * The last octet of the bitmap must be non zero.
H A Dnsec3_50.c50 int octet; local
124 for (octet = 31; octet >= 0; octet--)
125 if (bm[window * 32 + octet] != 0)
127 if (octet < 0)
130 RETERR(uint8_tobuffer(octet + 1, target));
131 RETERR(mem_tobuffer(target, &bm[window * 32], octet + 1));
304 * The last octet of the bitmap must be non zero.
/freebsd-9.3-release/crypto/openssl/crypto/pkcs12/
H A Dp12_utl.c155 return ASN1_item_unpack(bag->value.bag->value.octet,
165 return ASN1_item_unpack(bag->value.bag->value.octet,
H A Dp12_add.c76 if (!ASN1_item_pack(obj, it, &bag->value.octet)) {
H A Dpkcs12.h135 ASN1_OCTET_STRING *octet; member in union:pkcs12_bag_st::__anon82
/freebsd-9.3-release/sbin/ifconfig/
H A Difbridge.c239 memcpy(ea.octet, ifba->ifba_dst,
240 sizeof(ea.octet));
477 memcpy(req.ifba_dst, ea->octet, sizeof(req.ifba_dst));
497 memcpy(req.ifba_dst, ea->octet, sizeof(req.ifba_dst));
/freebsd-9.3-release/usr.sbin/wake/
H A Dwake.c168 bcopy(addr->octet, p, ETHER_ADDR_LEN);
/freebsd-9.3-release/tools/tools/cxgbetool/
H A Dcxgbetool.c674 int noctets, octet; local
683 for (octet = 0; octet < noctets; octet++)
684 printf("%02x", addr[octet]);
686 for (octet = 0; octet < noctets; octet++)
687 printf("%02x", addrm[octet]);
/freebsd-9.3-release/tools/tools/cxgbtool/
H A Dcxgbtool.c1290 uint8_t octet[4]; member in union:__anon10697
1314 sprintf(sip, "%u.%u.%u.%u/%-2u", nsip.octet[0], nsip.octet[1],
1315 nsip.octet[2], nsip.octet[3],
1317 sprintf(dip, "%u.%u.%u.%u", ndip.octet[0], ndip.octet[1],
1318 ndip.octet[2], ndip.octet[3]);
/freebsd-9.3-release/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-9.3-release/tools/tools/net80211/wlanstats/
H A Dmain.c184 mac = ea->octet;
/freebsd-9.3-release/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-9.3-release/usr.sbin/bsnmpd/modules/snmp_bridge/
H A Dbridge_if.c231 bcopy(physaddr, bif->br_addr.octet, ETHER_ADDR_LEN);
400 bcopy(ifp->physaddr, bif->br_addr.octet, ETHER_ADDR_LEN);
402 bridge_get_basemac(bif->bif_name, bif->br_addr.octet,
647 return (string_get(value, bif->br_addr.octet,
1171 return (string_get(val, bif->br_addr.octet, ETHER_ADDR_LEN));
/freebsd-9.3-release/usr.sbin/wlconfig/
H A Dwlconfig.c356 psabuf[WLPSA_LOCALMAC + i] = ea->octet[i];
/freebsd-9.3-release/usr.sbin/dconschat/
H A Ddconschat.c1041 eui.hi = ntohl(*(u_int32_t*)&(target.octet[0]));
1042 eui.lo = ntohl(*(u_int32_t*)&(target.octet[4]));

Completed in 336 milliseconds

12