summaryrefslogtreecommitdiffstats
path: root/src/if.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2019-02-19 21:46:06 +0000
committerRoy Marples <roy@marples.name>2019-02-19 21:46:06 +0000
commit5c1785fd64d7825de472a254a5d9413deb0fb032 (patch)
treec552fe32f5fe4319f8ea04bc37b9ff1a6e540375 /src/if.h
parentfa975d48ab5b26b61174ecccd9b9657b6ed09a3f (diff)
downloaddhcpcd-5c1785fd64d7825de472a254a5d9413deb0fb032.tar.xz
Fold all CMSG parsing into a common function.
Makes dhcpcd smaller still.
Diffstat (limited to 'src/if.h')
-rw-r--r--src/if.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/if.h b/src/if.h
index d260d2d1..2f20764c 100644
--- a/src/if.h
+++ b/src/if.h
@@ -209,5 +209,7 @@ int if_getlifetime6(struct ipv6_addr *);
#endif
int if_machinearch(char *, size_t);
+struct interface *if_findifpfromcmsg(struct dhcpcd_ctx *,
+ struct msghdr *, int *);
int xsocket(int, int, int);
#endif