I am looking into the ipv6 support in libevent. I checked there is already support for ipv6 in libevent. I found that API evutil_ersatz_socketpair_ in evutil.c does not have the ipv6 support.
I have added a patch for this evutil API : evutil_ersatz_socketpair_ to support ipv6
Please check the patch pull request at git hub.
I request you to review this patch and give your review comments.
I tested this patch using regress tests with some modification in regress_et.c
Thanks & Regards,