bin/73877: porting of ifstated from OpenBSD

S.Vrist inbox at
Fri Nov 12 08:50:26 PST 2004

>Number:         73877
>Category:       bin
>Synopsis:       porting of ifstated from OpenBSD
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 12 16:50:25 GMT 2004
>Originator:     SV
>Release:        FreeBSD 6-CURRENT i386
 	I'm looking into porting OpenBSDs ifstated to FreeBSD (pretty useful, especially for carp), and to my knowlegde I could need a SIOCGIFDATA or quivalent for the interface status in different fields.

	Line 574 in src/usr.sbin/ifstated from the OpenBSD3.6 src tree it uses the SIOCGIFDATA the first time. The use of SIOCGIFDATA is partially emulated in contrib/pf/pfctl/pfctl_altq.c but the use in ifstated seems more elaborate, and a SIOCGIFDATA would be quite usefull.


More information about the freebsd-bugs mailing list