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 | 6c9db0a424e8929bd20c287fc4aa409961c4bc2c (patch) | |
| tree | 1dcca0db4bf0d062627349aba3b4004500b1a539 /src/if.h | |
| parent | fdbf534d5155b208ee2f033659acb756855e193f (diff) | |
| download | dhcpcd-6c9db0a424e8929bd20c287fc4aa409961c4bc2c.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 *, |
