Lines Matching refs:macpath
886 MAC_ADDR_DEVICE_PATH *macpath; in efi_snp_driver_start() local
918 sizeof ( *macpath ) ); in efi_snp_driver_start()
974 macpath = ( ( ( void * ) &snpdev->path ) + path_prefix_len ); in efi_snp_driver_start()
975 subpath = ( ( void * ) ( macpath + 1 ) ); in efi_snp_driver_start()
976 memset ( macpath, 0, sizeof ( *macpath ) ); in efi_snp_driver_start()
977 macpath->Header.Type = MESSAGING_DEVICE_PATH; in efi_snp_driver_start()
978 macpath->Header.SubType = MSG_MAC_ADDR_DP; in efi_snp_driver_start()
979 macpath->Header.Length[0] = sizeof ( *macpath ); in efi_snp_driver_start()
980 memcpy ( &macpath->MacAddress, netdev->ll_addr, in efi_snp_driver_start()
981 sizeof ( macpath->MacAddress ) ); in efi_snp_driver_start()
982 macpath->IfType = ntohs ( netdev->ll_protocol->ll_proto ); in efi_snp_driver_start()