On Sunday, 2 January 2022 12:31:36 CET Marek Lindner wrote:
+struct alfred_server_status_rep_v0 {
struct alfred_tlv header;
uint8_t mode;
struct {
char name[IFNAMSIZ];
} ifaces[16];
char bat_iface[IFNAMSIZ];
} __packed;
Another thing which came to my mind: maybe it could be interesting to have the status of an interface in the reply. So basically if netsock is >= 0 or not. Not sure how to deal with the IPv4 mcast code. Most likely just by using netsock_mcast and indicator.
Kind regards, Sven