cvs commit: src/sys/net if.c if_var.h src/sys/netinet ip_output.c raw_ip.c udp_usrreq.c

Andre Oppermann andre at
Fri Oct 6 13:26:07 PDT 2006

andre       2006-10-06 20:26:06 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/net              if.c if_var.h 
    sys/netinet          ip_output.c raw_ip.c udp_usrreq.c 
   - Fix the socket option IP_ONESBCAST by giving it its own case in ip_output()
     and skip over the normal IP processing.
   - Add a supporting function ifa_ifwithbroadaddr() to verify and validate the
     supplied subnet broadcast address.
   - Check inp_flags instead of inp_vflag for INP_ONESBCAST flag.
  PR:             kern/99558
  Approved by:    re (kensmith)
  Revision    Changes    Path  +27 -0     src/sys/net/if.c    +1 -0      src/sys/net/if_var.h  +11 -2     src/sys/netinet/ip_output.c   +1 -1      src/sys/netinet/raw_ip.c   +2 -2      src/sys/netinet/udp_usrreq.c

More information about the cvs-src mailing list