summaryrefslogtreecommitdiff
path: root/sys/net
AgeCommit message (Expand)Author
2019-02-15Remove KASSERT() for now. It triggers when destroying lo(4) of a rdomainClaudio Jeker
2019-02-15Use `ifidx' when storing an interface index.Martin Pieuchot
2019-02-15coordinate configuration of local mpls labels with destroying an interfaceDavid Gwynne
2019-02-15allow configuration of the rdomain that mpls operates inDavid Gwynne
2019-02-14Use timeout_barrier() when bringing the bridge(4) down and only executeMartin Pieuchot
2019-02-14mpw.h is no longer needed.Martin Pieuchot
2019-02-14Remove mpw(4) hacks now that all the world is Ethernet.Martin Pieuchot
2019-02-14the rdomain for the mpls stuff should still be hardcoded to 0 in mpw.David Gwynne
2019-02-14use the configured route domain for the mpls tunnel when sending packets.David Gwynne
2019-02-14consistently use the same flags for rt_ifa_add and _del.David Gwynne
2019-02-14allow configuration of the rdomain the mpls encap operates inDavid Gwynne
2019-02-13don't confuse the interface rdomain with the one the local label is in.David Gwynne
2019-02-13change rt_ifa_add and rt_ifa_del so they take an rdomain argument.David Gwynne
2019-02-11add M_CANFAIL to malloc, and return ENOMEM if allocating an interfaceDavid Gwynne
2019-02-10assign the m_prepend result to the right variable.David Gwynne
2019-02-10whitespace tweak, no functional changeDavid Gwynne
2019-02-10get rid of the global list of mpe interfaces, it's not needed anymoreDavid Gwynne
2019-02-10remove the implict RTF_MPATH flag that rt_ifa_add() sets on new routes.David Gwynne
2019-02-10"non-existant" is one of those words that don't exist, so use "non-existent"Peter Hessler
2019-02-08Fix kernel info leak in routing message.Alexander Bluhm
2019-02-04Avoid an mbuf double free in the oob soreceive() path. In theAlexander Bluhm
2019-02-03let tun read AF_MPLS packets from userland.David Gwynne
2019-02-01Export per-TDB counters to userland.Martin Pieuchot
2019-02-01Do not silently return if extensions do not match the filters.Martin Pieuchot
2019-01-31Fix compilation of amd64 kernel when optimization is disabled.Todd C. Miller
2019-01-31use "sc" as the name of the softc variable in the ioctl code too.David Gwynne
2019-01-30use MPLS_SHIM2LABEL and MPLS_LABEL2SHIMDavid Gwynne
2019-01-30dont store the unit when creating the interface, it's never usedDavid Gwynne
2019-01-29Plumbing to simplify upcoming locking.Martin Pieuchot
2019-01-29call the "parent" interface ifp0 to be consistent with other drivers.David Gwynne
2019-01-29use a sockaddr_mpls when preparing an AF_MPLS sockaddr for mpls_outputDavid Gwynne
2019-01-28get rid of unused globalDavid Gwynne
2019-01-28fix mpe_start by if_put()ting the right ifpDavid Gwynne
2019-01-28make a start at supporting ipv6 on mpe.David Gwynne
2019-01-27don't play with IFF_UP in strange places.David Gwynne
2019-01-27use mpls_ip_adjttl and mpls_ip6_adjttl in mpe instead of rolling it again.David Gwynne
2019-01-27rework mpe_input so it patches ipv4 cksum, and handles ipv6 too.David Gwynne
2019-01-27change how packets are pushed into mpe(4).David Gwynne
2019-01-27move the mpe_softc definition and mpe macros into the mpe driver.David Gwynne
2019-01-27let ether_ioctl handle the mtu. set hardmtu to ETHER_MAX_HARDMTU_LEN.David Gwynne
2019-01-27use sc as the name of the softc variable.David Gwynne
2019-01-27put underscores in function names like other driversDavid Gwynne
2019-01-27split off "local" input handlingDavid Gwynne
2019-01-27like ip headers, mpls tags need to be aligned to a 4 byte boundaryDavid Gwynne
2019-01-23remove special casing for IFT_MPLSTUNNEL now mpw is IFT_ETHER.David Gwynne
2019-01-23rework mpw to be an actual ethernet interface.David Gwynne
2019-01-23Pass an `ifp' pointer to bridge_ourether().Martin Pieuchot
2019-01-23Only copy packets for span ports if the bridge is UP.Martin Pieuchot
2019-01-23add a SIOCGPWE3 ioctl for interfaces to advertise pwe3 capabilityDavid Gwynne
2019-01-20use the faster interface, since the precision is not necessaryPeter Hessler