#include <errno.h>
#include <comboot.h>
#include <ipxe/in.h>
#include <ipxe/list.h>
#include <ipxe/process.h>
#include <ipxe/resolv.h>
Go to the source code of this file.
◆ FILE_LICENCE()
| FILE_LICENCE |
( |
GPL2_OR_LATER | | ) |
|
◆ comboot_resolv_close()
| void comboot_resolv_close |
( |
struct comboot_resolver * | comboot_resolver, |
|
|
int | rc ) |
|
static |
◆ comboot_resolv_done()
◆ comboot_resolv()
| int comboot_resolv |
( |
const char * | name, |
|
|
struct in_addr * | address ) |
Definition at line 44 of file comboot_resolv.c.
44 {
46
49
52
55
58
61}
#define NULL
NULL pointer (VOID *)
uint64_t address
Base address.
#define EAFNOSUPPORT
Address family not supported.
#define EINPROGRESS
Operation in progress.
void step(void)
Single-step a single process.
int resolv(struct interface *resolv, const char *name, struct sockaddr *sa)
Start name resolution.
References comboot_resolver::addr, address, EAFNOSUPPORT, EINPROGRESS, comboot_resolver::intf, name, NULL, comboot_resolver::rc, rc, resolv(), in_addr::s_addr, and step().
Referenced by int22(), and PROVIDE_REQUIRING_SYMBOL().
◆ comboot_resolv_op
Initial value:= {
}
static void comboot_resolv_close(struct comboot_resolver *comboot_resolver, int rc)
static void comboot_resolv_done(struct comboot_resolver *comboot_resolver, struct sockaddr *sa)
void intf_close(struct interface *intf, int rc)
Close an object interface.
#define INTF_OP(op_type, object_type, op_func)
Define an object interface operation.
void resolv_done(struct interface *intf, struct sockaddr *sa)
Name resolved.
Definition at line 32 of file comboot_resolv.c.
◆ comboot_resolv_desc
Initial value:=
static struct interface_operation comboot_resolv_op[]
#define INTF_DESC(object_type, intf, operations)
Define an object interface descriptor.
Definition at line 37 of file comboot_resolv.c.
◆ comboot_resolver
| struct comboot_resolver comboot_resolver |
|
static |
Initial value:= {
}
static struct interface_descriptor comboot_resolv_desc
#define INTF_INIT(descriptor)
Initialise a static object interface.
Definition at line 40 of file comboot_resolv.c.