Home
last modified time | relevance | path

Searched refs:octets (Results 1 – 25 of 47) sorted by relevance

12

/openbmc/linux/lib/
H A Dbuild_OID_registry96 my @octets = ();
110 push @octets, (($c >> $tmp * 7) & 0x7f) | 0x80;
112 push @octets, $c & 0x7f;
115 push @encoded_oids, \@octets;
123 my @octets = @{$encoded_oids[$i]};
125 my $hash = $#octets;
126 foreach (@octets) {
141 my @octets = @{$encoded_oids[$i]};
143 print C_FILE $_, ", " foreach (@octets);
183 my @octets = @{$encoded_oids[$index_table[$i]]};
[all …]
H A Doid_registry.c28 const unsigned char *octets = data; in look_up_OID() local
38 hash += octets[i] * 33; in look_up_OID()
77 unsigned char b = octets[len]; in look_up_OID()
/openbmc/linux/drivers/net/wireless/broadcom/b43legacy/
H A Dpio.c66 unsigned int octets) in tx_data() argument
79 while (i < octets - 1) { in tx_data()
84 if (octets % 2) in tx_data()
85 tx_octet(queue, packet[octets - in tx_data()
179 unsigned int octets; in pio_tx_write_fragment() local
193 octets = skb->len + txhdr_size; in pio_tx_write_fragment()
195 octets--; in pio_tx_write_fragment()
196 tx_data(queue, txhdr, (u8 *)skb->data, octets); in pio_tx_write_fragment()
221 u16 octets; in pio_tx_packet() local
225 if (queue->tx_devq_size < octets) { in pio_tx_packet()
[all …]
H A Dxmit.c112 const u16 octets, const u8 bitrate) in b43legacy_generate_plcp_hdr() argument
121 B43legacy_WARN_ON(octets & 0xF000); in b43legacy_generate_plcp_hdr()
122 d |= (octets << 5); in b43legacy_generate_plcp_hdr()
127 plen = octets * 16 / bitrate; in b43legacy_generate_plcp_hdr()
128 if ((octets * 16 % bitrate) > 0) { in b43legacy_generate_plcp_hdr()
131 && ((octets * 8 % 11) < 4)) in b43legacy_generate_plcp_hdr()
H A Dxmit.h196 const u16 octets, const u8 bitrate);
/openbmc/linux/Documentation/networking/device_drivers/ethernet/altera/
H A Daltera_tse.rst250 This statistic counts the total number of packets received that were 64 octets
255 between 65 and 127 octets in length inclusive.
259 between 128 and 255 octets in length inclusive.
263 between 256 and 511 octets in length inclusive.
267 between 512 and 1023 octets in length inclusive.
271 between 1024 and 1518 octets in length inclusive.
280 octets, and had either a bad CRC with an integral number of octets (CRC Error)
281 or a bad CRC with a non-integral number of octets (Alignment Error).
284 statistic is the total number of packets received that were less than 64 octets
285 in length and had either a bad CRC with an integral number of octets (CRC
[all …]
/openbmc/linux/fs/ocfs2/cluster/
H A Dnodemanager.c274 unsigned int octets[4]; in o2nm_node_ipv4_address_store() local
277 ret = sscanf(page, "%3u.%3u.%3u.%3u", &octets[3], &octets[2], in o2nm_node_ipv4_address_store()
278 &octets[1], &octets[0]); in o2nm_node_ipv4_address_store()
282 for (i = 0; i < ARRAY_SIZE(octets); i++) { in o2nm_node_ipv4_address_store()
283 if (octets[i] > 255) in o2nm_node_ipv4_address_store()
285 be32_add_cpu(&ipv4_addr, octets[i] << (i * 8)); in o2nm_node_ipv4_address_store()
/openbmc/linux/arch/mips/include/asm/octeon/
H A Dcvmx-pip.h191 uint32_t octets; member
408 status->octets = stat1.s.octs; in cvmx_pip_get_port_status()
440 status->octets) in cvmx_pip_get_port_status()
443 status->octets; in cvmx_pip_get_port_status()
H A Dcvmx-pko.h119 uint64_t octets; member
595 status->octets = pko_mem_count1.s.count; in cvmx_pko_get_port_status()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rep.c221 MLX5_GET_CTR(out, transmitted_ib_unicast.octets) + in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
222 MLX5_GET_CTR(out, transmitted_eth_unicast.octets) + in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
227 MLX5_GET_CTR(out, received_ib_unicast.octets) + in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
228 MLX5_GET_CTR(out, received_eth_unicast.octets) + in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
229 MLX5_GET_CTR(out, received_ib_multicast.octets) + in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
230 MLX5_GET_CTR(out, received_eth_multicast.octets) + in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
231 MLX5_GET_CTR(out, received_eth_broadcast.octets); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
238 MLX5_GET_CTR(out, transmitted_ib_unicast.octets); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
240 MLX5_GET_CTR(out, received_ib_unicast.octets); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
246 MLX5_GET_CTR(out, transmitted_ib_multicast.octets); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
[all …]
H A Deswitch.c2156 MLX5_GET_CTR(out, received_eth_unicast.octets) + in mlx5_eswitch_get_vport_stats()
2157 MLX5_GET_CTR(out, received_ib_unicast.octets) + in mlx5_eswitch_get_vport_stats()
2158 MLX5_GET_CTR(out, received_eth_multicast.octets) + in mlx5_eswitch_get_vport_stats()
2159 MLX5_GET_CTR(out, received_ib_multicast.octets) + in mlx5_eswitch_get_vport_stats()
2160 MLX5_GET_CTR(out, received_eth_broadcast.octets); in mlx5_eswitch_get_vport_stats()
2170 MLX5_GET_CTR(out, transmitted_eth_unicast.octets) + in mlx5_eswitch_get_vport_stats()
2171 MLX5_GET_CTR(out, transmitted_ib_unicast.octets) + in mlx5_eswitch_get_vport_stats()
2172 MLX5_GET_CTR(out, transmitted_eth_multicast.octets) + in mlx5_eswitch_get_vport_stats()
2173 MLX5_GET_CTR(out, transmitted_ib_multicast.octets) + in mlx5_eswitch_get_vport_stats()
2174 MLX5_GET_CTR(out, transmitted_eth_broadcast.octets); in mlx5_eswitch_get_vport_stats()
H A Den_stats.c722 VPORT_COUNTER_OFF(received_eth_unicast.octets) },
726 VPORT_COUNTER_OFF(transmitted_eth_unicast.octets) },
730 VPORT_COUNTER_OFF(received_eth_multicast.octets) },
734 VPORT_COUNTER_OFF(transmitted_eth_multicast.octets) },
738 VPORT_COUNTER_OFF(received_eth_broadcast.octets) },
742 VPORT_COUNTER_OFF(transmitted_eth_broadcast.octets) },
746 VPORT_COUNTER_OFF(received_ib_unicast.octets) },
750 VPORT_COUNTER_OFF(transmitted_ib_unicast.octets) },
754 VPORT_COUNTER_OFF(received_ib_multicast.octets) },
758 VPORT_COUNTER_OFF(transmitted_ib_multicast.octets) },
[all …]
/openbmc/linux/drivers/net/wireless/broadcom/b43/
H A Dxmit.c137 const u16 octets, const u8 bitrate) in b43_generate_plcp_hdr() argument
145 B43_WARN_ON(octets & 0xF000); in b43_generate_plcp_hdr()
146 d |= (octets << 5); in b43_generate_plcp_hdr()
151 plen = octets * 16 / bitrate; in b43_generate_plcp_hdr()
152 if ((octets * 16 % bitrate) > 0) { in b43_generate_plcp_hdr()
155 && ((octets * 8 % 11) < 4)) { in b43_generate_plcp_hdr()
H A Dxmit.h355 const u16 octets, const u8 bitrate);
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dib_virt.c142 stats->rx_bytes = MLX5_GET64_PR(query_vport_counter_out, out, received_ib_unicast.octets); in mlx5_ib_get_vf_stats()
143 stats->tx_bytes = MLX5_GET64_PR(query_vport_counter_out, out, transmitted_ib_unicast.octets); in mlx5_ib_get_vf_stats()
H A Dmad.c84 cpu_to_be64(MLX5_SUM_CNT(out, transmitted_ib_unicast.octets, in pma_cnt_ext_assign()
85 transmitted_ib_multicast.octets) >> 2); in pma_cnt_ext_assign()
87 cpu_to_be64(MLX5_SUM_CNT(out, received_ib_unicast.octets, in pma_cnt_ext_assign()
88 received_ib_multicast.octets) >> 2); in pma_cnt_ext_assign()
/openbmc/qemu/hw/net/
H A Dcadence_gem.c717 uint64_t octets; in gem_receive_updatestats() local
720 octets = ((uint64_t)(s->regs[R_OCTRXLO]) << 32) | in gem_receive_updatestats()
722 octets += bytes; in gem_receive_updatestats()
723 s->regs[R_OCTRXLO] = octets >> 32; in gem_receive_updatestats()
724 s->regs[R_OCTRXHI] = octets; in gem_receive_updatestats()
1227 uint64_t octets; in gem_transmit_updatestats() local
1230 octets = ((uint64_t)(s->regs[R_OCTTXLO]) << 32) | in gem_transmit_updatestats()
1232 octets += bytes; in gem_transmit_updatestats()
1233 s->regs[R_OCTTXLO] = octets >> 32; in gem_transmit_updatestats()
1234 s->regs[R_OCTTXHI] = octets; in gem_transmit_updatestats()
H A Dnet_tx_pkt.c51 uint8_t octets[ETH_MAX_IP_DGRAM_LEN]; member
100 csum = net_raw_checksum(pkt->l3_hdr.octets, in net_tx_pkt_update_ip_hdr_checksum()
/openbmc/linux/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_rx.h92 u64 octets; member
/openbmc/linux/drivers/tee/optee/
H A Doptee_msg.h186 u8 octets[24]; member
H A Dcall.c318 export_uuid(msg_arg->params[1].u.octets, &client_uuid); in optee_open_session()
/openbmc/linux/Documentation/netlabel/
H A Ddraft-ietf-cipso-ipsecurity-01.txt111 restriction of 40 octets the value of this field MUST not exceed 40.
180 restrictions are based on the current IP limitation of 40 octets for all
249 The length of this field is variable and ranges from 0 to 30 octets. This
268 minimal encoding SHOULD be used resulting in no trailing zero octets in the
284 a constant length of 10 octets. Trailing octets required to fill out the 10
285 octets are zero filled. Ten octets, allowing for 80 categories, was chosen
286 because it makes the total length of the CIPSO option 20 octets. If CIPSO
288 filler octets will not be required.
348 octets. Up to 15 categories may be represented by this tag. Valid values
/openbmc/linux/net/ipv4/
H A Dipconfig.c1412 int octets = 0; in root_nfs_parse_addr() local
1416 while (octets < 4) { in root_nfs_parse_addr()
1421 if (*cp == '.' || octets == 3) in root_nfs_parse_addr()
1422 octets++; in root_nfs_parse_addr()
1423 if (octets < 4) in root_nfs_parse_addr()
1427 if (octets == 4 && (*cp == ':' || *cp == '\0')) { in root_nfs_parse_addr()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/zeroconf/zeroconf/
H A D0001-zeroconf-Rename-arp_op-to-avoid-namespace-conflicts-.patch63 ap.arp.ar_pln = 4; /* octets in IPv4 address */
/openbmc/linux/drivers/mtd/maps/
H A DKconfig60 int "Bank width in octets"
65 in octets. For example, if you have a data bus width of 32

12