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

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

Diff for /src/sys/netinet6/udp6_usrreq.c between version 1.30.2.1 and 1.30.2.2

version 1.30.2.1, 2000/10/17 00:48:51 version 1.30.2.2, 2000/11/10 00:13:30
Line 1 
Line 1 
 /*      $NetBSD$        */  /*      $NetBSD$        */
 /*      $KAME: udp6_usrreq.c,v 1.52 2000/06/05 00:41:58 itojun Exp $    */  /*      $KAME: udp6_usrreq.c,v 1.62 2000/10/19 01:11:05 itojun Exp $    */
   
 /*  /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.   * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
Line 750  udp6_output(in6p, m, addr6, control, p)
Line 750  udp6_output(in6p, m, addr6, control, p)
   
                 ip->ip_len = plen;                  ip->ip_len = plen;
                 ip->ip_p = IPPROTO_UDP;                  ip->ip_p = IPPROTO_UDP;
                 ip->ip_ttl = in6p->in6p_hops;   /*XXX*/                  ip->ip_ttl = in6_selecthlim(in6p, NULL);        /*XXX*/
                 ip->ip_tos = 0;                 /*XXX*/                  ip->ip_tos = 0;                 /*XXX*/
                 bcopy(&laddr->s6_addr[12], &ip->ip_src, sizeof(ip->ip_src));                  bcopy(&laddr->s6_addr[12], &ip->ip_src, sizeof(ip->ip_src));
                 bcopy(&faddr->s6_addr[12], &ip->ip_dst, sizeof(ip->ip_dst));                  bcopy(&faddr->s6_addr[12], &ip->ip_dst, sizeof(ip->ip_dst));

Legend:
Removed from v.1.30.2.1  
changed lines
  Added in v.1.30.2.2

CVSweb <webmaster@jp.NetBSD.org>