You could look at the source code for that command since you know that does what you want. It's located here: ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c
> -----Original Message----- > From: edk2-devel [mailto:[email protected]] On Behalf Of > devendra rawat > Sent: Thursday, April 28, 2016 5:41 AM > To: [email protected] > Subject: [edk2] accessing IP info. set using ifconfig shell command in EFI > application. > Importance: High > > I am setting IP address, netmask and gateway IP for interface eth0 using > Tianocore shell "ifconfig" command. I need to access these IP addresses in > an EFI Application. can someone provide any pointers, or example code for > doing the same. > > Thanks, > Deven > _______________________________________________ > edk2-devel mailing list > [email protected] > https://lists.01.org/mailman/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

