imsg_req_dhcp
struct imsg_req_dhcp imsg;
struct imsg_req_dhcp imsg;
struct imsg_req_dhcp imsg_req_dhcp;
if (IMSG_DATA_SIZE(imsg) != sizeof(imsg_req_dhcp))
memcpy(&imsg_req_dhcp, imsg.data,
sizeof(imsg_req_dhcp));
iface = get_iface_by_id(imsg_req_dhcp.if_index);
iface_data_from_imsg(iface, &imsg_req_dhcp);
iface_data_from_imsg(struct iface* iface, struct imsg_req_dhcp *imsg)
void iface_data_from_imsg(struct iface*, struct imsg_req_dhcp *);
struct imsg_req_dhcp imsg;
struct imsg_req_dhcp imsg;
struct imsg_req_dhcp imsg_req_dhcp;
if (imsg_get_data(&imsg, &imsg_req_dhcp,
sizeof(imsg_req_dhcp)) == -1)
iface = get_iface_by_id(imsg_req_dhcp.if_index);
iface_data_from_imsg(iface, &imsg_req_dhcp);
struct imsg_req_dhcp imsg_req_dhcp;
if (imsg_get_data(&imsg, &imsg_req_dhcp,
sizeof(imsg_req_dhcp)) == -1)
iface = get_iface_by_id(imsg_req_dhcp.if_index);
iface_data_from_imsg(iface, &imsg_req_dhcp);
iface_data_from_imsg(struct iface* iface, struct imsg_req_dhcp *imsg)
void iface_data_from_imsg(struct iface*, struct imsg_req_dhcp *);