cvs commit: src/sys/net if.c if_var.h src/sys/netinet ip_output.c
Andre Oppermann
andre at FreeBSD.org
Wed Sep 6 10:12:27 PDT 2006
andre 2006-09-06 17:12:10 UTC
FreeBSD src repository
Modified files:
sys/net if.c if_var.h
sys/netinet ip_output.c
Log:
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.
PR: kern/99558
Tested by: Andrey V. Elsukov <bu7cher-at-yandex.ru>
Sponsored by: TCP/IP Optimization Fundraise 2005
MFC after: 3 days
Revision Changes Path
1.262 +27 -0 src/sys/net/if.c
1.109 +1 -0 src/sys/net/if_var.h
1.260 +11 -2 src/sys/netinet/ip_output.c
More information about the cvs-src
mailing list