An object interface operation.
struct arbelprm_rc_send_wqe rc
void intf_close(struct interface *intf, int rc)
Close an object interface.
static struct interface_operation comboot_resolv_op[]
void intf_shutdown(struct interface *intf, int rc)
Shut down an object interface.
void resolv_done(struct interface *intf, struct sockaddr *sa)
Name resolved.
uint64_t address
Base address.
#define INTF_INIT(descriptor)
Initialise a static object interface.
sa_family_t sa_family
Socket address family.
FILE_LICENCE(GPL2_OR_LATER)
static void comboot_resolv_done(struct comboot_resolver *comboot_resolver, struct sockaddr *sa)
static struct interface_descriptor comboot_resolv_desc
#define EAFNOSUPPORT
Address family not supported.
#define EINPROGRESS
Operation in progress.
Generalized socket address structure.
An object interface descriptor.
#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)
int comboot_resolv(const char *name, struct in_addr *address)
struct in_addr sin_addr
IPv4 address.
#define INTF_DESC(object_type, intf, operations)
Define an object interface descriptor.
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 *)
#define AF_INET
IPv4 Internet addresses.