summaryrefslogtreecommitdiff
path: root/sys/net/if_mpe.c
AgeCommit message (Expand)Author
2024-01-01Call if_counters_alloc() before if_attach().Vitaliy Makkoveev
2023-12-23Backout always allocate per-CPU statistics counters for networkAlexander Bluhm
2023-12-22Always allocate per-CPU statistics counters for network interfaceVitaliy Makkoveev
2022-08-29Use struct refcnt for interface address reference counting.Alexander Bluhm
2021-11-08whitespace tweaks, no functional change.David Gwynne
2021-03-26Only install route with label, fix route leak on destroykn
2021-03-18Fix SIOCDELLABEL/"ifconfig mpe0 -mplslabel" to unset label completelykn
2021-02-20move from calling l3 protocol input handlers to using if_vinput.David Gwynne
2020-08-21Leave default ifq_maxlen handling to ifq_init()kn
2020-07-10Change users of IFQ_SET_MAXLEN() and IFQ_IS_EMPTY() to use the "new" API.Patrick Wildt
2020-01-24cleanup unused headers generated by configJonathan Gray
2019-06-26The MPLS edge devices get the packets from the MPLS stack which neverClaudio Jeker
2019-04-19use the factored out txhprio and rxhprio checksDavid Gwynne
2019-04-19implement rxprioDavid Gwynne
2019-04-17use txprio to control the use of exp as a priority fieldDavid Gwynne
2019-04-02call pf_pkt_addr_changed on inputDavid Gwynne
2019-04-02clear the BCAST and MCAST mbuf flags for "outgoing" packets.David Gwynne
2019-04-02some mbuf ph_rtableid fixesDavid Gwynne
2019-03-18tweak SIOCGETLABEL and add SIOCDELLABELDavid Gwynne
2019-02-26use NET_LOCK to coordinate destroying a cloned interface.David Gwynne
2019-02-20add the locking for coordinating between ioctls and a clone destroy.David Gwynne
2019-02-14use the configured route domain for the mpls tunnel when sending packets.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-10whitespace tweak, no functional changeDavid Gwynne
2019-02-10get rid of the global list of mpe interfaces, it's not needed anymoreDavid Gwynne
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-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-27use sc as the name of the softc variable.David Gwynne
2019-01-27put underscores in function names like other driversDavid Gwynne
2018-01-09Creating a cloned interface could return ENOMEM due to temporaryAlexander Bluhm
2017-11-29Make mpe(4) work again by:Claudio Jeker
2017-08-14Remove unneeded null pointer check in mpe_input*: ifp cannot be NULL.Reyk Floeter
2017-05-30sizes for free()Theo de Raadt
2017-05-30Introduce ipv{4,6}_input(), two wrappers around IP queues.Martin Pieuchot
2017-05-04Introduce sstosa() for converting sockaddr_storage with a type safeAlexander Bluhm
2017-01-24A space here, a space there. Soon we're talking real whitespaceKenneth R Westerback
2017-01-23Flag pseudo-interfaces as such in order to call add_net_randomness()Martin Pieuchot
2016-12-20Kill recursive splsoftnet()/splx() dances in ioctl(2) path.Martin Pieuchot