Remove $FreeBSD$: one-line .c comment patternRemove /^/[*/]\s*\$FreeBSD\$.*\n/
ipf: Use C89 function definitions.Reviewed by: zleiDifferential Revision: https://reviews.freebsd.org/D39523
ipfilter: Removed unused ioctl typedefDefunct operating systems no longer pollute the ipfilter sources. Removetheir typedefs.MFC after: 1 week
ipfilter/libipf: printpool_live() consumer ignores return codeThe single consumer of printpool_live() ignores the return code.Avoid wasting resources on this.MFC after: 2 weeks
ipfilter: Introduce the new FORMAT_IF macroInterface names stored in the ipstate_t and ipnat_t structures can beNULL. This occurs when an application, such as named, is running on thefirewall mac
ipfilter: Introduce the new FORMAT_IF macroInterface names stored in the ipstate_t and ipnat_t structures can beNULL. This occurs when an application, such as named, is running on thefirewall machine itself. For example an application, i.e. named, runningon the firewall itself will cause a state table display and NAT mappingdisplay to show a null ingress interface and its egress interface. Thisis perfectly valid but confusing to human eyes. Rather than printnothing, print "(null)".MFC after: 1 week
show more ...
ipfilter userland: Style(9) requires a space after returnReported by: jrtc27Fixes: 2582ae5740181e0d2bab10003d66ae91c9b56329MFC after: 1 month
ipfilter: Adjust userland returns to conform to style(9)Adjust ipfilter's userland return statements to conform to style(9).MFC after: 1 month
ipflter: ANSIfy userland function declarationsConvert ipfilter userland function declarations from K&R to ANSI. Thissyncs our function declarations with NetBSD hg commit 75edcd7552a0(apply our ch
ipflter: ANSIfy userland function declarationsConvert ipfilter userland function declarations from K&R to ANSI. Thissyncs our function declarations with NetBSD hg commit 75edcd7552a0(apply our changes). Though not copied from NetBSD, this change waspartially inspired by NetBSD's work and inspired by style(9).Reviewed by: glebius (for #network)MFC after: 1 monthDifferential Revision: https://reviews.freebsd.org/D33595
ipfilter: Move userland bits to sbinThrough fixes and improvements our ipfilter sources have divergedenough to warrant move from contrib into sbin/ipf. Now that I'mplanning on implementing MSS cl
ipfilter: Move userland bits to sbinThrough fixes and improvements our ipfilter sources have divergedenough to warrant move from contrib into sbin/ipf. Now that I'mplanning on implementing MSS clamping as in iptables it makes moresense to move ipfilter to sbin.This is the second of three commits of the ipfilter move.Suggested by glebius on two occaions.Suggested by and discussed with: glebiusReviewed by: glebius, kp (for #network)MFC after: 1 monthDifferential Revision: https://reviews.freebsd.org/D33510