icmp6-util: Move multicast address definitions
As the Router Advertisment sending code needs these multicast address definitions, move them to the header file.
This commit is contained in:
parent
6142bb37a5
commit
e2e8122838
|
@ -21,6 +21,14 @@
|
|||
|
||||
#include <net/ethernet.h>
|
||||
|
||||
#define IN6ADDR_ALL_ROUTERS_MULTICAST_INIT \
|
||||
{ { { 0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02 } } }
|
||||
|
||||
#define IN6ADDR_ALL_NODES_MULTICAST_INIT \
|
||||
{ { { 0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01 } } }
|
||||
|
||||
int icmp6_bind_router_solicitation(int index);
|
||||
int icmp6_bind_router_advertisement(int index);
|
||||
int icmp6_send_router_solicitation(int s, const struct ether_addr *ether_addr);
|
||||
|
|
Loading…
Reference in a new issue