[BACK]Return to raw_ip.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/raw_ip.c between version 1.146.2.3 and 1.146.2.4

version 1.146.2.3, 2015/09/22 12:06:11 version 1.146.2.4, 2016/03/19 11:30:33
Line 311  rip_ctlinput(int cmd, const struct socka
Line 311  rip_ctlinput(int cmd, const struct socka
  * Tack on options user may have setup with control call.   * Tack on options user may have setup with control call.
  */   */
 int  int
 rip_output(struct mbuf *m, ...)  rip_output(struct mbuf *m, struct inpcb *inp)
 {  {
         struct inpcb *inp;  
         struct ip *ip;          struct ip *ip;
         struct mbuf *opts;          struct mbuf *opts;
         int flags;          int flags;
         va_list ap;  
   
         va_start(ap, m);  
         inp = va_arg(ap, struct inpcb *);  
         va_end(ap);  
   
         flags =          flags =
             (inp->inp_socket->so_options & SO_DONTROUTE) | IP_ALLOWBROADCAST              (inp->inp_socket->so_options & SO_DONTROUTE) | IP_ALLOWBROADCAST

Legend:
Removed from v.1.146.2.3  
changed lines
  Added in v.1.146.2.4

CVSweb <webmaster@jp.NetBSD.org>