[BACK]Return to udp_usrreq.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / netinet

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/netinet/udp_usrreq.c between version 1.134.2.1 and 1.134.2.2

version 1.134.2.1, 2005/04/28 10:49:13 version 1.134.2.2, 2005/04/28 10:53:40
Line 1464  udp4_espinudp(m, off, src, so)
Line 1464  udp4_espinudp(m, off, src, so)
          * to select the right SPD for multiple hosts behind           * to select the right SPD for multiple hosts behind
          * same NAT           * same NAT
          */           */
         tag = m_tag_get(PACKET_TAG_IPSEC_NAT_T_PORTS,          if ((tag = m_tag_get(PACKET_TAG_IPSEC_NAT_T_PORTS,
             sizeof(sport) + sizeof(dport), M_WAITOK);              sizeof(sport) + sizeof(dport), M_DONTWAIT)) == NULL) {
                   printf("udp4_espinudp: m_tag_get failed\n");
                   return 0;
           }
         ((u_int16_t *)(tag + 1))[0] = sport;          ((u_int16_t *)(tag + 1))[0] = sport;
         ((u_int16_t *)(tag + 1))[1] = dport;          ((u_int16_t *)(tag + 1))[1] = dport;
         m_tag_prepend(n, tag);          m_tag_prepend(n, tag);

Legend:
Removed from v.1.134.2.1  
changed lines
  Added in v.1.134.2.2

CVSweb <webmaster@jp.NetBSD.org>