25RCSID(
"$Id: 829350bbf33c9da5628de4ddff5890cb54cbefe5 $")
27#include <freeradius-devel/io/listen.h>
44 if (!
namespace)
namespace =
parent->proto_dict;
54 .namespace =
namespace,
55 .detachable = detachable
57 if (!child)
return NULL;
67 child->log.indent.unlang =
parent->log.indent.unlang;
72 child->number =
parent->number;
78 child->async->request = child;
80#define COPY_FIELD(_x) child->async->_x = parent->async->_x
88 .virtual.server = server,
90 child->reply->socket = child->packet->socket;
fr_dict_t const * fr_dict_proto_dict(fr_dict_t const *dict)
#define AF_FR_VIRTUAL_SERVER
char const * unlang_interpret_virtual_server(request_t *request)
Return the current virtual server for this request.
request_t * unlang_io_subrequest_alloc(request_t *parent, fr_dict_t const *namespace, bool detachable)
Allocate a child request based on the parent.
Minimal data structure to use the new code.
#define REQUEST_VERIFY(_x)
#define request_is_internal(_x)
#define request_local_alloc_internal(_ctx, _args)
Allocate a new internal request outside of the request pool.
Optional arguments for initialising requests.
Private interpreter structures and functions.
An unlang stack associated with a request.
Holds information necessary for binding or connecting to a socket.