/freebsd-current/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_qp.c | 2491 if (ah->av.eth.vlan != cpu_to_be16(0xffff)) { 2492 vlan = be16_to_cpu(ah->av.eth.vlan) & 0x0fff; 2545 sqp->ud_header.ip4.ttl = ah->av.eth.hop_limit; 2595 ether_addr_copy(sqp->ud_header.eth.smac_h, ah->av.eth.s_mac); 2596 memcpy(sqp->ud_header.eth.dmac_h, ah->av.eth.mac, 6); 2597 memcpy(&ctrl->srcrb_flags16[0], ah->av.eth.mac, 2); 2598 memcpy(&ctrl->imm, ah->av.eth.mac + 2, 4); 2602 if (!memcmp(sqp->ud_header.eth [all...] |
/freebsd-current/sys/ofed/drivers/infiniband/core/ |
H A D | uverbs.h | 259 struct ib_uverbs_flow_spec_eth eth; member in union:ib_uverbs_flow_spec::__anon5754
|
/freebsd-current/sys/ofed/include/rdma/ |
H A D | ib_pack.h | 264 struct ib_unpacked_eth eth; member in struct:ib_ud_header
|
/freebsd-current/contrib/wpa/hostapd/ |
H A D | ctrl_iface.c | 2024 const struct ether_header *eth; local 2030 if (len < sizeof(*eth) + sizeof(ip) || len > HWSIM_PACKETLEN) { 2037 eth = (const struct ether_header *) buf; 2038 os_memcpy(&ip, eth + 1, sizeof(ip)); 2039 pos = &buf[sizeof(*eth) + sizeof(ip)]; 2061 MAC2STR(eth->ether_dhost), MAC2STR(eth->ether_shost), extra); 2111 struct ether_header *eth; local 2147 eth = (struct ether_header *) &buf[2]; 2148 os_memcpy(eth 2181 struct ether_header *eth; local [all...] |
/freebsd-current/contrib/wpa/src/drivers/ |
H A D | driver_atheros.c | 1653 struct l2_ethhdr *eth; local 1673 eth = (struct l2_ethhdr *) bp; 1674 os_memcpy(eth->h_dest, addr, ETH_ALEN); 1675 os_memcpy(eth->h_source, own_addr, ETH_ALEN); 1676 eth->h_proto = host_to_be16(ETH_P_EAPOL); 1677 os_memcpy(eth + 1, data, data_len);
|
/freebsd-current/sys/dev/mlx4/ |
H A D | device.h | 116 * -device managed - High level API for ib and eth flow steering. FW is 118 * - B0 steering mode - Common low level API for ib and (if supported) eth. 119 * - A0 steering mode - Limited low level API for eth. In case of IB, 805 struct mlx4_eth_av eth; member in union:mlx4_ext_av 1238 struct mlx4_spec_eth eth; member in union:mlx4_spec_list::__anon73 1345 struct mlx4_net_trans_rule_hw_eth eth; member in union:_rule_hw::__anon74
|
/freebsd-current/contrib/wpa/wpa_supplicant/ |
H A D | ctrl_iface.c | 3329 struct ether_header *eth; local 3354 eth = (struct ether_header *) buf; 3355 os_memcpy(eth->ether_dhost, addr, ETH_ALEN); 3356 os_memcpy(eth->ether_shost, wpa_s->own_addr, ETH_ALEN); 3357 eth->ether_type = htons(ETH_P_802_3); 9581 const struct ether_header *eth; local 9587 if (len < sizeof(*eth) + sizeof(ip) || len > HWSIM_PACKETLEN) { 9594 eth = (const struct ether_header *) buf; 9595 os_memcpy(&ip, eth + 1, sizeof(ip)); 9596 pos = &buf[sizeof(*eth) 9665 struct ether_header *eth; local 9735 struct ether_header *eth; local [all...] |
H A D | driver_i.h | 92 const u8 *eth, size_t len) 96 eth, len); 90 wpa_drv_mesh_link_probe(struct wpa_supplicant *wpa_s, const u8 *addr, const u8 *eth, size_t len) argument
|
H A D | wpa_supplicant.c | 5197 const struct l2_ethhdr *eth; local 5199 if (len < sizeof(*eth)) 5201 eth = (const struct l2_ethhdr *) buf; 5203 if (os_memcmp(eth->h_dest, wpa_s->own_addr, ETH_ALEN) != 0 && 5204 !(eth->h_dest[0] & 0x01)) { 5207 MAC2STR(src_addr), MAC2STR(eth->h_dest)); 5212 " (bridge)", MAC2STR(src_addr), MAC2STR(eth->h_dest)); 5213 wpa_supplicant_rx_eapol(wpa_s, src_addr, buf + sizeof(*eth), 5214 len - sizeof(*eth));
|
/freebsd-current/contrib/ofed/libibverbs/ |
H A D | cmd.c | 1835 kern_spec->eth.size = sizeof(struct ibv_kern_spec_eth); 1836 memcpy(&kern_spec->eth.val, &ib_spec->eth.val, 1838 memcpy(&kern_spec->eth.mask, &ib_spec->eth.mask,
|
H A D | kern-abi.h | 954 struct ibv_kern_spec_eth eth; member in union:ibv_kern_spec::__anon5655
|
/freebsd-current/sys/netpfil/pf/ |
H A D | pf.c | 138 SDT_PROBE_DEFINE3(pf, eth, test_rule, entry, "int", "struct ifnet *", 140 SDT_PROBE_DEFINE2(pf, eth, test_rule, test, "int", "struct pf_keth_rule *"); 141 SDT_PROBE_DEFINE3(pf, eth, test_rule, mismatch, 143 SDT_PROBE_DEFINE2(pf, eth, test_rule, match, "int", "struct pf_keth_rule *"); 144 SDT_PROBE_DEFINE2(pf, eth, test_rule, final_match, 4172 SDT_PROBE3(pf, eth, test_rule, entry, dir, kif->pfik_ifp, m); 4230 SDT_PROBE2(pf, eth, test_rule, test, r->nr, r); 4233 SDT_PROBE3(pf, eth, test_rule, mismatch, r->nr, r, 4238 SDT_PROBE3(pf, eth, test_rule, mismatch, r->nr, r, 4243 SDT_PROBE3(pf, eth, test_rul [all...] |
/freebsd-current/sys/dev/qlnx/qlnxe/ |
H A D | ecore_mcp_api.h | 564 struct ecore_mfw_tlv_eth eth; member in union:ecore_mfw_tlv_data
|
H A D | ecore_dcbx.c | 536 p_prio->eth = p_results->arr[DCBX_PROTOCOL_ETH].priority; 539 "Priorities: iscsi %d, roce %d, roce v2 %d, fcoe %d, eth %d\n", 541 p_prio->eth);
|
H A D | common_hsi.h | 764 struct ustorm_eth_queue_zone eth; member in struct:ustorm_queue_zone
|
H A D | ecore_hsi_fcoe.h | 146 struct pstorm_fcoe_eth_context_section eth /* Source mac */; member in struct:pstorm_fcoe_conn_st_ctx 185 #define XSTORM_FCOE_CONN_ST_CTX_INNER_VLAN_FLAG_MASK 0x1 /* Inner vlan flag ����� for calculating eth header size */
|
/freebsd-current/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_resource_tracker.c | 4152 if (!is_multicast_ether_addr(eth_header->eth.dst_mac) && 4153 !is_broadcast_ether_addr(eth_header->eth.dst_mac)) { 4156 if (ether_addr_equal((u8 *)&be_mac, eth_header->eth.dst_mac)) 4160 eth_header->eth.dst_mac, slave); 4169 if (is_multicast_ether_addr(eth_header->eth.dst_mac) || 4170 is_broadcast_ether_addr(eth_header->eth.dst_mac)) { 4171 struct mlx4_net_trans_rule_hw_eth *eth = local 4173 struct _rule_hw *next_rule = (struct _rule_hw *)(eth + 1); 4183 * In case of missing eth header, append eth heade [all...] |
/freebsd-current/sys/dev/mlx5/mlx5_en/ |
H A D | en.h | 135 sizeof(((struct mlx5e_tx_wqe *)0)->eth.inline_hdr_start)) /* bytes */ 1155 struct mlx5_wqe_eth_seg eth; member in struct:mlx5e_tx_wqe
|
/freebsd-current/sys/contrib/dev/athk/ath12k/ |
H A D | dp_rx.c | 2118 struct ethhdr *eth; local 2124 eth = (struct ethhdr *)msdu->data; 2125 ether_addr_copy(da, eth->h_dest); 2126 ether_addr_copy(sa, eth->h_source); 2127 rfc.snap_type = eth->h_proto; 2128 skb_pull(msdu, sizeof(*eth)); 2172 * remove eth header and add 802.11 header.
|
/freebsd-current/sys/dev/cxgb/ |
H A D | cxgb_sge.c | 2845 int eth, eop = 0, ethpad = 0; local 2850 eth = (opcode == CPL_RX_PKT); 2894 int drop_thresh = eth ? SGE_RX_DROP_THRES : 0; 2915 if (!eth && eop) { 2923 } else if (eth && eop) {
|
/freebsd-current/sys/dev/ice/ |
H A D | ice_lib.c | 2602 ICE_PF_STAT40(GLPRT_GORC, eth.rx_bytes); 2603 ICE_PF_STAT40(GLPRT_UPRC, eth.rx_unicast); 2604 ICE_PF_STAT40(GLPRT_MPRC, eth.rx_multicast); 2605 ICE_PF_STAT40(GLPRT_BPRC, eth.rx_broadcast); 2606 ICE_PF_STAT40(GLPRT_GOTC, eth.tx_bytes); 2607 ICE_PF_STAT40(GLPRT_UPTC, eth.tx_unicast); 2608 ICE_PF_STAT40(GLPRT_MPTC, eth.tx_multicast); 2609 ICE_PF_STAT40(GLPRT_BPTC, eth.tx_broadcast); 2613 &prev_ps->eth.rx_discards, &cur_ps->eth [all...] |
H A D | ice_type.h | 1215 /* eth stats collected by the port */ 1216 struct ice_eth_stats eth; member in struct:ice_hw_port_stats
|
/freebsd-current/sys/dev/mlx4/mlx4_en/ |
H A D | mlx4_en_netdev.c | 182 memcpy(spec_eth.eth.dst_mac, priv->dev->dev_addr, ETH_ALEN); 183 memcpy(spec_eth.eth.dst_mac_msk, &mac_mask, ETH_ALEN); 511 memcpy(spec_eth.eth.dst_mac, mac, ETH_ALEN); 512 memcpy(spec_eth.eth.dst_mac_msk, &mac_mask, ETH_ALEN); 1323 en_err(priv, "Failed getting eth qp\n");
|
/freebsd-current/sys/dev/bnxt/bnxt_re/ |
H A D | ib_verbs.c | 2947 memcpy(qp->qp1_hdr.eth.dmac_h, ptmac, 4); 2949 memcpy(qp->qp1_hdr.eth.dmac_l, ptmac, 2); 2952 memcpy(qp->qp1_hdr.eth.smac_h, ptmac, 2); 2954 memcpy(qp->qp1_hdr.eth.smac_l, ptmac, 4); 2956 qp->qp1_hdr.eth.type = cpu_to_be16(BNXT_QPLIB_ETHTYPE_ROCEV1); 2962 qp->qp1_hdr.eth.type = cpu_to_be16(ETH_P_8021Q);
|
/freebsd-current/sys/contrib/ncsw/inc/Peripherals/ |
H A D | fm_pcd_ext.h | 1436 headerFieldEth_t eth; /**< Ethernet */ member in union:t_FmPcdFields
|