#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()
static 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.
struct arbelprm_rc_send_wqe rc
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.
#define NULL
NULL pointer (VOID *)
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().
◆ comboot_resolv_op
Initial value:= {
}
void intf_close(struct interface *intf, int rc)
Close an object interface.
void resolv_done(struct interface *intf, struct sockaddr *sa)
Name resolved.
static void comboot_resolv_done(struct comboot_resolver *comboot_resolver, struct sockaddr *sa)
#define INTF_OP(op_type, object_type, op_func)
Define an object interface operation.
static void comboot_resolv_close(struct comboot_resolver *comboot_resolver, int rc)
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
Initial value:= {
}
#define INTF_INIT(descriptor)
Initialise a static object interface.
static struct interface_descriptor comboot_resolv_desc
Definition at line 40 of file comboot_resolv.c.