[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MirageOS-devel] extracting mac address from stack



You can use the ETHIF.mac (STACKV4.IPV4.id s) (where s is the stack).
The `DEVICE.id` type should probably be abstract, but this works for
now.

Cheers,
Nicolas

On Thu, Jan 8, 2015 at 12:00 PM, Ania Skorupa <ania.skorupa@xxxxxxxxx> wrote:
> hi,
>
> in stackv4 example in mirage-skeleton, is there any simple way to extract
> mac address of tap0 in unikernel.ml?
>
> The other way that I can think of is to pass tap0 as another parameter to
> the unikernel, but it doesn't look a neat solution.
>
> thanks.
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.