Update nl.[ch] to latest. No functional change for ndhc.
This commit is contained in:
parent
a4ea869a54
commit
313da14518
5
src/nl.c
5
src/nl.c
@ -243,6 +243,11 @@ int nl_sendgetaddrs6(int fd, int seq)
|
||||
return nl_sendgetaddr_do(fd, seq, 0, 0, AF_INET6, 1);
|
||||
}
|
||||
|
||||
int nl_sendgetaddr(int fd, int seq, int ifindex)
|
||||
{
|
||||
return nl_sendgetaddr_do(fd, seq, ifindex, 1, 0, 0);
|
||||
}
|
||||
|
||||
int nl_sendgetaddr4(int fd, int seq, int ifindex)
|
||||
{
|
||||
return nl_sendgetaddr_do(fd, seq, ifindex, 1, AF_INET, 1);
|
||||
|
1
src/nl.h
1
src/nl.h
@ -56,6 +56,7 @@ int nl_foreach_nlmsg(char *buf, size_t blen, uint32_t seq,
|
||||
nlmsg_foreach_fn pfn, void *fnarg);
|
||||
int nl_sendgetlinks(int fd, int seq);
|
||||
int nl_sendgetlink(int fd, int seq, int ifindex);
|
||||
int nl_sendgetaddr(int fd, int seq, int ifindex);
|
||||
int nl_sendgetaddr4(int fd, int seq, int ifindex);
|
||||
int nl_sendgetaddr6(int fd, int seq, int ifindex);
|
||||
int nl_sendgetaddrs(int fd, int seq);
|
||||
|
Loading…
x
Reference in New Issue
Block a user