xform_ah.c (275706) | xform_ah.c (275707) |
---|---|
1/* $FreeBSD: head/sys/netipsec/xform_ah.c 275706 2014-12-11 17:07:21Z ae $ */ | 1/* $FreeBSD: head/sys/netipsec/xform_ah.c 275707 2014-12-11 17:14:49Z ae $ */ |
2/* $OpenBSD: ip_ah.c,v 1.63 2001/06/26 06:18:58 angelos Exp $ */ 3/*- 4 * The authors of this code are John Ioannidis (ji@tla.org), 5 * Angelos D. Keromytis (kermit@csd.uch.gr) and 6 * Niels Provos (provos@physnet.uni-hamburg.de). 7 * 8 * The original version of this code was written by John Ioannidis 9 * for BSD/OS in Athens, Greece, in November 1995. --- 797 unchanged lines hidden (view full) --- 807 808 AHSTAT_INC(ahs_hdrops); 809 goto bad; 810 } 811 812 switch (saidx->dst.sa.sa_family) { 813#ifdef INET6 814 case AF_INET6: | 2/* $OpenBSD: ip_ah.c,v 1.63 2001/06/26 06:18:58 angelos Exp $ */ 3/*- 4 * The authors of this code are John Ioannidis (ji@tla.org), 5 * Angelos D. Keromytis (kermit@csd.uch.gr) and 6 * Niels Provos (provos@physnet.uni-hamburg.de). 7 * 8 * The original version of this code was written by John Ioannidis 9 * for BSD/OS in Athens, Greece, in November 1995. --- 797 unchanged lines hidden (view full) --- 807 808 AHSTAT_INC(ahs_hdrops); 809 goto bad; 810 } 811 812 switch (saidx->dst.sa.sa_family) { 813#ifdef INET6 814 case AF_INET6: |
815 error = ipsec6_common_input_cb(m, sav, skip, protoff, NULL); | 815 error = ipsec6_common_input_cb(m, sav, skip, protoff); |
816 break; 817#endif 818#ifdef INET 819 case AF_INET: | 816 break; 817#endif 818#ifdef INET 819 case AF_INET: |
820 error = ipsec4_common_input_cb(m, sav, skip, protoff, NULL); | 820 error = ipsec4_common_input_cb(m, sav, skip, protoff); |
821 break; 822#endif 823 default: 824 panic("%s: Unexpected address family: %d saidx=%p", __func__, 825 saidx->dst.sa.sa_family, saidx); 826 } 827 828 KEY_FREESAV(&sav); --- 355 unchanged lines hidden --- | 821 break; 822#endif 823 default: 824 panic("%s: Unexpected address family: %d saidx=%p", __func__, 825 saidx->dst.sa.sa_family, saidx); 826 } 827 828 KEY_FREESAV(&sav); --- 355 unchanged lines hidden --- |