summaryrefslogtreecommitdiffstats
path: root/src/libsystemd-network/ndisc-router-solicit-internal.h
blob: 6f0b0af13aaab74bfb2ba8a41ea8e7fd884812a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once

#include "sd-radv.h"

#include "icmp6-packet.h"
#include "set.h"

struct sd_ndisc_router_solicit {
        unsigned n_ref;

        ICMP6Packet *packet;

        Set *options;
};

sd_ndisc_router_solicit* ndisc_router_solicit_new(ICMP6Packet *packet);
int ndisc_router_solicit_parse(sd_radv *ra, sd_ndisc_router_solicit *rs);