git: vkernel - Allow setting MAC addresses from within the command line.

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Sun Feb 17 04:51:32 PST 2013


commit 86d2b04072a9d9e51e207fe9464c5531217dc96b
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date:   Sun Feb 17 12:41:45 2013 +0100

    vkernel - Allow setting MAC addresses from within the command line.
    
      In order to be able to specify the MAC address we want to
      use for every interface within the vkernel, an extra argument
      has been added to the -I option.
    
      Example:
      	./kernel -r root.img -m 256m -I auto=aa:bb:cc:dd:ee:ff

Summary of changes:
 share/man/man7/vkernel.7                | 13 ++++++++++---
 sys/dev/virtual/vkernel/net/if_vke.c    |  6 ++++++
 sys/platform/vkernel/include/md_var.h   |  4 ++++
 sys/platform/vkernel/platform/init.c    | 23 +++++++++++++++++++++++
 sys/platform/vkernel64/include/md_var.h |  4 ++++
 sys/platform/vkernel64/platform/init.c  | 23 +++++++++++++++++++++++
 6 files changed, 70 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/86d2b04072a9d9e51e207fe9464c5531217dc96b


-- 
DragonFly BSD source repository



More information about the Commits mailing list