version 1.226, 2016/06/10 13:31:44 |
version 1.227, 2016/10/19 01:13:01 |
Line 1339 udp4_espinudp(struct mbuf **mp, int off, |
|
Line 1339 udp4_espinudp(struct mbuf **mp, int off, |
|
((u_int16_t *)(tag + 1))[1] = dport; |
((u_int16_t *)(tag + 1))[1] = dport; |
m_tag_prepend(m, tag); |
m_tag_prepend(m, tag); |
|
|
#ifdef IPSEC |
|
if (ipsec_used) |
if (ipsec_used) |
ipsec4_common_input(m, iphdrlen, IPPROTO_ESP); |
ipsec4_common_input(m, iphdrlen, IPPROTO_ESP); |
/* XXX: else */ |
/* XXX: else */ |
#else |
|
esp4_input(m, iphdrlen); |
|
#endif |
|
|
|
/* We handled it, it shouldn't be handled by UDP */ |
/* We handled it, it shouldn't be handled by UDP */ |
*mp = NULL; /* avoid free by caller ... */ |
*mp = NULL; /* avoid free by caller ... */ |