/freebsd/tests/sys/netpfil/pf/ |
H A D | icmp.py | 91 dst_mac = re.sub("0a$", "0b", our_mac) 104 pkt = sp.Ether(src=our_mac, dst=dst_mac) \ 112 pkt = sp.Ether(src=our_mac, dst=dst_mac) \
|
/freebsd/sys/dev/irdma/ |
H A D | fbsd_kcompat.c | 392 irdma_get_dst_mac(struct irdma_cm_node *cm_node, struct sockaddr *dst_sin, u8 *dst_mac) in irdma_get_dst_mac() argument 412 err = arpresolve(ifp, gateway, NULL, nexthop, dst_mac, NULL, &lle); in irdma_get_dst_mac() 415 dst_mac, NULL, &lle); in irdma_get_dst_mac() 446 u8 dst_mac[MAX_ADDR_LEN]; in irdma_addr_resolve_neigh() local 453 err = irdma_get_dst_mac(cm_node, (struct sockaddr *)&dst_sin, dst_mac); in irdma_addr_resolve_neigh() 459 return irdma_add_arp(iwdev->rf, ip, dst_mac); in irdma_addr_resolve_neigh() 475 u8 dst_mac[MAX_ADDR_LEN]; in irdma_addr_resolve_neigh_ipv6() local 482 err = irdma_get_dst_mac(cm_node, (struct sockaddr *)&dst_addr, dst_mac); in irdma_addr_resolve_neigh_ipv6() 486 return irdma_add_arp(iwdev->rf, dest, dst_mac); in irdma_addr_resolve_neigh_ipv6()
|
H A D | fbsd_kcompat.h | 184 u8 *dst_mac);
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | ecore_vf_api.h | 149 bool ecore_vf_bulletin_get_forced_mac(struct ecore_hwfn *hwfn, u8 *dst_mac, 221 …etin_get_forced_mac(struct ecore_hwfn OSAL_UNUSED *hwfn, u8 OSAL_UNUSED *dst_mac, u8 OSAL_UNUSED *… in ecore_vf_bulletin_get_forced_mac() argument
|
H A D | ecore_vf.c | 1868 bool ecore_vf_bulletin_get_forced_mac(struct ecore_hwfn *hwfn, u8 *dst_mac, in ecore_vf_bulletin_get_forced_mac() argument 1885 OSAL_MEMCPY(dst_mac, bulletin->mac, ETH_ALEN); in ecore_vf_bulletin_get_forced_mac()
|
/freebsd/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_mcg.c | 849 memcpy(rule_hw->eth.dst_mac, spec->eth.dst_mac, ETH_ALEN); in parse_trans_rule() 920 cur->eth.dst_mac[0], cur->eth.dst_mac[1], in mlx4_err_rule() 921 cur->eth.dst_mac[2], cur->eth.dst_mac[3], in mlx4_err_rule() 922 cur->eth.dst_mac[4], cur->eth.dst_mac[5]); in mlx4_err_rule() 1072 memcpy(spec_eth_outer.eth.dst_mac, addr, ETH_ALEN); in mlx4_tunnel_steer_add() 1391 memcpy(spec.eth.dst_mac, &gid[10], ETH_ALEN); in mlx4_trans_to_dmfs_attach()
|
H A D | mlx4_resource_tracker.c | 4152 if (!is_multicast_ether_addr(eth_header->eth.dst_mac) && in validate_eth_header_mac() 4153 !is_broadcast_ether_addr(eth_header->eth.dst_mac)) { in validate_eth_header_mac() 4156 if (ether_addr_equal((u8 *)&be_mac, eth_header->eth.dst_mac)) in validate_eth_header_mac() 4160 eth_header->eth.dst_mac, slave); in validate_eth_header_mac() 4169 if (is_multicast_ether_addr(eth_header->eth.dst_mac) || in handle_eth_header_mcast_prio() 4170 is_broadcast_ether_addr(eth_header->eth.dst_mac)) { in handle_eth_header_mcast_prio() 4235 memcpy(eth_header->dst_mac, &be_mac, ETH_ALEN); in add_eth_header()
|
/freebsd/sys/dev/cxgbe/ |
H A D | t4_l2t.c | 162 memcpy(req->dst_mac, e->dmac, sizeof(req->dst_mac)); in mk_write_l2e()
|
/freebsd/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_main.c | 1307 memcpy(mlx4_spec->eth.dst_mac, ib_spec->eth.val.dst_mac, in parse_flow_attr() 1309 memcpy(mlx4_spec->eth.dst_mac_msk, ib_spec->eth.mask.dst_mac, in parse_flow_attr() 1582 err = mlx4_tunnel_steer_add(to_mdev(qp->device)->dev, ib_spec->eth.val.dst_mac, in mlx4_ib_tunnel_steer_add() 1612 if (is_zero_ether_addr(ib_spec->eth.mask.dst_mac)) { in mlx4_ib_add_dont_trap_rule() 1616 u8 mac[ETH_ALEN] = {ib_spec->eth.mask.dst_mac[0] ^ 0x01, in mlx4_ib_add_dont_trap_rule() 1617 ib_spec->eth.mask.dst_mac[1], in mlx4_ib_add_dont_trap_rule() 1618 ib_spec->eth.mask.dst_mac[2], in mlx4_ib_add_dont_trap_rule() 1619 ib_spec->eth.mask.dst_mac[3], in mlx4_ib_add_dont_trap_rule() 1620 ib_spec->eth.mask.dst_mac[4], in mlx4_ib_add_dont_trap_rule() 1621 ib_spec->eth.mask.dst_mac[5]}; in mlx4_ib_add_dont_trap_rule() [all …]
|
/freebsd/tools/tools/netmap/ |
H A D | pkt-gen.c | 260 struct mac_range dst_mac; member 510 bcopy(ether_aton(targ->g->dst_mac), targ->dst_mac, 6); in extract_mac_range() 511 bcopy(targ->dst_mac, eh->ether_dhost, 6); in extract_mac_range() 512 p = index(targ->g->dst_mac, '-'); in extract_mac_range() 1144 bcopy(&targ->g->dst_mac.start, eh->ether_dhost, 6); in initialize_packet() 2954 g.dst_mac.name = "ff:ff:ff:ff:ff:ff"; in main() 3106 g.dst_mac.name = optarg; in main() 3194 if (extract_mac_range(&g.src_mac) || extract_mac_range(&g.dst_mac)) in main() 3328 g.src_mac.name, g.dst_mac.name); in main()
|
/freebsd/sys/dev/cxgb/common/ |
H A D | cxgb_t3_cpl.h | 589 __u8 dst_mac[6]; member 1312 __u8 dst_mac[6]; member 1355 __u8 dst_mac[6]; member
|
/freebsd/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_main.c | 1847 ib_spec->eth.mask.dst_mac); in parse_flow_attr() 1850 ib_spec->eth.val.dst_mac); in parse_flow_attr() 2028 return is_multicast_ether_addr(eth_spec->mask.dst_mac) && in flow_is_multicast_only() 2029 is_multicast_ether_addr(eth_spec->val.dst_mac); in flow_is_multicast_only() 2285 .mask = {.dst_mac = {0x1} }, in create_leftovers_rule() 2286 .val = {.dst_mac = {0x1} } in create_leftovers_rule() 2297 .mask = {.dst_mac = {0x1} }, in create_leftovers_rule() 2298 .val = {.dst_mac = {} } in create_leftovers_rule()
|
/freebsd/sys/dev/iavf/ |
H A D | virtchnl.h | 609 u8 dst_mac[ETH_ALEN]; member
|
/freebsd/sys/dev/mlx4/ |
H A D | device.h | 1197 u8 dst_mac[ETH_ALEN]; member 1290 u8 dst_mac[6]; member
|
/freebsd/sys/dev/qlnx/qlnxr/ |
H A D | qlnxr_verbs.c | 6053 u8 *dst_mac) in qlnxr_addr4_resolve() argument 6058 dst_mac, NULL, NULL); in qlnxr_addr4_resolve() 6065 dst_mac[0], dst_mac[1], dst_mac[2], in qlnxr_addr4_resolve() 6066 dst_mac[3], dst_mac[4], dst_mac[5]); in qlnxr_addr4_resolve()
|
/freebsd/contrib/tcpdump/ |
H A D | print-sflow.c | 179 nd_byte dst_mac[8]; member
|
/freebsd/sys/ofed/include/uapi/rdma/ |
H A D | ib_user_verbs.h | 917 __u8 dst_mac[6]; member
|
/freebsd/sys/dev/ice/ |
H A D | virtchnl.h | 1318 u8 dst_mac[VIRTCHNL_ETH_LENGTH_OF_ADDRESS]; member
|
/freebsd/contrib/ofed/libibverbs/ |
H A D | kern-abi.h | 846 __u8 dst_mac[6]; member
|
H A D | verbs.h | 1245 uint8_t dst_mac[6]; member
|
/freebsd/sys/dev/cxgbe/common/ |
H A D | t4_msg.h | 2301 __u8 dst_mac[6]; member 2355 __u8 dst_mac[6]; member
|
/freebsd/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); in mlx4_en_filter_work() 511 memcpy(spec_eth.eth.dst_mac, mac, ETH_ALEN); in mlx4_en_uc_steer_add()
|
/freebsd/sys/ofed/include/rdma/ |
H A D | ib_verbs.h | 1708 u8 dst_mac[6]; member
|