sync code with last fixes and improvements from OpenBSD
This commit is contained in:
parent
f57be82572
commit
58b04bcee7
468 changed files with 9958 additions and 7882 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $OpenBSD: if_loop.c,v 1.95 2023/07/02 19:59:15 bluhm Exp $ */
|
||||
/* $OpenBSD: if_loop.c,v 1.96 2023/07/18 16:01:20 bluhm Exp $ */
|
||||
/* $NetBSD: if_loop.c,v 1.15 1996/05/07 02:40:33 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
|
@ -172,11 +172,11 @@ loop_clone_create(struct if_clone *ifc, int unit)
|
|||
ifp->if_softc = NULL;
|
||||
ifp->if_mtu = LOMTU;
|
||||
ifp->if_flags = IFF_LOOPBACK | IFF_MULTICAST;
|
||||
ifp->if_xflags = IFXF_CLONED;
|
||||
ifp->if_xflags = IFXF_CLONED | IFXF_LRO;
|
||||
ifp->if_capabilities = IFCAP_CSUM_IPv4 |
|
||||
IFCAP_CSUM_TCPv4 | IFCAP_CSUM_UDPv4 |
|
||||
IFCAP_CSUM_TCPv6 | IFCAP_CSUM_UDPv6 |
|
||||
IFCAP_LRO;
|
||||
IFCAP_LRO | IFCAP_TSOv4 | IFCAP_TSOv6;
|
||||
ifp->if_rtrequest = lortrequest;
|
||||
ifp->if_ioctl = loioctl;
|
||||
ifp->if_input = loinput;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue