X-Git-Url: https://git.saurik.com/apple/ipsec.git/blobdiff_plain/52b7d2ce06d68d0a9160d16f6e7c08c21c149d0d..869d26af2154b0619928167c83079c8c0bf7163d:/ipsec-tools/racoon/grabmyaddr.h?ds=sidebyside diff --git a/ipsec-tools/racoon/grabmyaddr.h b/ipsec-tools/racoon/grabmyaddr.h index a237cb5..85a901c 100644 --- a/ipsec-tools/racoon/grabmyaddr.h +++ b/ipsec-tools/racoon/grabmyaddr.h @@ -37,9 +37,8 @@ struct myaddrs { struct sockaddr *addr; int sock; int udp_encap; -#ifdef __APPLE__ int in_use; -#endif + char *ifname; }; extern void clear_myaddr __P((void)); @@ -53,5 +52,7 @@ extern void insmyaddr __P((struct myaddrs *, struct myaddrs **)); extern void delmyaddr __P((struct myaddrs *)); extern int initmyaddr __P((void)); extern int getsockmyaddr __P((struct sockaddr *)); +extern struct myaddrs *find_myaddr __P((struct sockaddr *, int)); + #endif /* _GRABMYADDR_H */