diff options
author | kp <kp@FreeBSD.org> | 2015-06-18 20:34:39 +0000 |
---|---|---|
committer | kp <kp@FreeBSD.org> | 2015-06-18 20:34:39 +0000 |
commit | 83b6287db453b282c2b0abafdf15ef08ad0f9c98 (patch) | |
tree | fa12c19b8f8e25ded89a2ecc18395142752ef43c /sys/net | |
parent | 80d7588d81ffca8e895717266bef43ea2a55bac1 (diff) | |
download | FreeBSD-src-83b6287db453b282c2b0abafdf15ef08ad0f9c98.zip FreeBSD-src-83b6287db453b282c2b0abafdf15ef08ad0f9c98.tar.gz |
Merge r278843, r278858
In the forwarding case refragment the reassembled packets with the same
size as they arrived in. This allows the sender to determine the optimal
fragment size by Path MTU Discovery.
Roughly based on the OpenBSD work by Alexander Bluhm.
Differential Revision: https://reviews.freebsd.org/D2816
Reviewed by: gnn
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/pfvar.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h index 89ee9ebf..fe2d88f 100644 --- a/sys/net/pfvar.h +++ b/sys/net/pfvar.h @@ -1573,6 +1573,7 @@ int pf_test6(int, struct ifnet *, struct mbuf **, struct inpcb *); void pf_poolmask(struct pf_addr *, struct pf_addr*, struct pf_addr *, struct pf_addr *, u_int8_t); void pf_addr_inc(struct pf_addr *, sa_family_t); +int pf_refragment6(struct ifnet *ifp, struct mbuf **m0, struct m_tag *mtag); #endif /* INET6 */ u_int32_t pf_new_isn(struct pf_state *); |