diff options
| author | Roy Marples <roy@marples.name> | 2020-02-08 17:29:03 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-02-08 17:30:35 +0000 |
| commit | dd2d73d45140ac1aa9a4b85bdf87751f96766548 (patch) | |
| tree | 1dcca0db4bf0d062627349aba3b4004500b1a539 /src/if.h | |
| parent | 91b11be6dc29b3e3ff4ea50dd54e589d30b443c1 (diff) | |
| download | dhcpcd-dd2d73d45140ac1aa9a4b85bdf87751f96766548.tar.xz | |
BSD: Add support for RO_MISSFILTER route(4) socket option
This allows dhcpcd to only listen for RTM_MISS generated by
default routers dhcpcd *could* install so if one becomes
unreachable we can pick another.
Diffstat (limited to 'src/if.h')
| -rw-r--r-- | src/if.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -206,6 +206,9 @@ int if_setmac(struct interface *ifp, void *, uint8_t); int if_route(unsigned char, const struct rt *rt); int if_initrt(struct dhcpcd_ctx *, rb_tree_t *, int); +int if_missfilter(struct interface *, struct sockaddr *); +int if_missfilter_apply(struct dhcpcd_ctx *); + #ifdef INET int if_address(unsigned char, const struct ipv4_addr *); int if_addrflags(const struct interface *, const struct in_addr *, |
