grub-devel
[Top][All Lists]
Advanced

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

Is the IP-stuff is available in the GRUB2 in EFI mode only ?


From: Ruslan R . Laishev
Subject: Is the IP-stuff is available in the GRUB2 in EFI mode only ?
Date: Wed, 14 Mar 2018 14:46:23 +0300

Is the IP-stuff is available in the GRUB2 in EFI mode only ?


13.03.2018, 16:12, "Ruslan R. Laishev" <address@hidden>:
Hi There!
 
I developing a my own custom module to be used in the GRUB2 ...
This module is use UDP to talk with a remote server.
So I have checked grub-core/net and try to use a next initialization sequence :
 
...
    /**/
    if ( status = grub_net_resolve_address("172.16.1.1", &kdepo_ip) )
        return    grub_error(grub_errno, "grub_net_resolve_address() -> %d, errno = %d", status, grub_errno);
 
    /* Create UDP's context */
    if ( !(nctx.sd = grub_net_udp_open (kdepo_ip, 512, hook_recv, &nctx)) )
        return    grub_error(grub_errno, "grub_net_udp_open(), errno = %d", grub_errno);
...
 
Test run show me
grub_net_udp_open(), errno = 34
 
Is there some steps I'm need to performs additionaly to get access to netwrok stuff ?
 
 
 
 
-- 
С уважением,
Ruslan R. Laishev
OpenVMS bigot, natural born system/network progger, C contractor.
+79013163222
+79910009922
 
,

_______________________________________________
Grub-devel mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/grub-devel



-- 
С уважением,
Ruslan R. Laishev
OpenVMS bigot, natural born system/network progger, C contractor.
+79013163222
+79910009922


reply via email to

[Prev in Thread] Current Thread [Next in Thread]