Page MenuHomeFreeBSD

libpfctl: Return max_win and mss of state peers
ClosedPublic

Authored by rcm on Fri, Oct 9, 6:22 PM.
Tags
None
Referenced Files
F176446379: D60544.id189275.diff
Sun, Oct 18, 10:50 PM
F176446337: D60544.id189729.diff
Sun, Oct 18, 10:50 PM
F176428887: D60544.diff
Sun, Oct 18, 8:33 PM
Unknown Object (File)
Sun, Oct 18, 5:57 AM
Unknown Object (File)
Sun, Oct 18, 3:08 AM
Unknown Object (File)
Sat, Oct 17, 4:07 PM
Unknown Object (File)
Sat, Oct 17, 2:04 AM
Unknown Object (File)
Fri, Oct 16, 5:05 PM
Subscribers

Details

Summary

The kernel sends PF_STP_MAX_WIN and PF_STP_MSS for both peers of a
state, but struct pfctl_state_peer has no fields for them and libpfctl
dropped them. Add the fields and parse the attributes.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

rcm requested review of this revision.Fri, Oct 9, 6:22 PM

I suspect I left those out because nothing uses them, but we may as well add them to libpfctl anyway.

This revision is now accepted and ready to land.Tue, Oct 13, 2:45 PM
This revision was automatically updated to reflect the committed changes.