summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_output.c
AgeCommit message (Expand)Author
2022-08-12Remove differences between ip_fragment() and ip6_fragment(). TheyAlexander Bluhm
2022-05-25Call if_put(9) after we finish with `ia' within ip_getmoptions().Vitaliy Makkoveev
2022-01-04Add `ipsec_flows_mtx' mutex(9) to protect `ipsp_ids_*' list andYASUOKA Masahiko
2021-12-23IPsec is not MP safe yet. To allow forwarding in parallel withoutAlexander Bluhm
2021-12-20Use per-CPU counters for tunnel descriptor block (TDB) statistics.Vitaliy Makkoveev
2021-12-03Add TDB reference counting to ipsp_spd_lookup(). If an outputAlexander Bluhm
2021-12-01Let ipsp_spd_lookup() return an error instead of a TDB. The TDBAlexander Bluhm
2021-11-24When sending ICMP packets for IPsec path MTU discovery, the firstAlexander Bluhm
2021-07-27Revert "Use per-CPU counters for tunnel descriptor block" diff.mvs
2021-07-26Use per-CPU counters for tunnel descriptor block (tdb) statistics.mvs
2021-07-08Debug printfs in encdebug were inconsistent, some missing newlinesAlexander Bluhm
2021-05-12Use local copy of `ps_rtableid' in ip{,6}_ctloutput() and markmvs
2021-03-30[ICMP] IP options lead to malformed replyAlexandr Nedvedicky
2021-03-20use m_dup_pkthdr in ip_fragment to copy pkthdr info to fragments.David Gwynne
2021-03-01Refactor ip_fragment() and ip6_fragment(). Use a mbuf list toAlexander Bluhm
2021-02-23As ip_insertoptions() may prepend a mbuf, "goto bad" has to freeAlexander Bluhm
2021-02-23Use NULL instead of 0 in `m_nextpkt' assignment.mvs
2021-02-10If pf changes the routing table when sending packets, the kernelAlexander Bluhm
2021-02-06Simplex interface sends packet back without hardware checksumAlexander Bluhm
2021-02-02If IP_MULTICAST_IF or IP_ADD_MEMBERSHIP pass a interface index to theClaudio Jeker
2021-02-01Fix path MTU discovery for ESP tunneled in IPv6. We always wantAlexander Bluhm
2021-01-16Extend IP_MULTICAST_IF to take either an address (struct in_addr), aClaudio Jeker
2021-01-11Create a path MTU host route for IPsec over IPv6. Basically theAlexander Bluhm
2021-01-07Extend IP_ADD_MEMBERSHIP to also support struct ip_mreqn.Claudio Jeker
2020-12-20Accept reject and blackhole routes for IPsec PMTU discovery.Alexander Bluhm
2020-06-24kernel: use gettime(9)/getuptime(9) in lieu of time_second(9)/time_uptime(9)cheloha
2020-03-06Fix uninitialized use of variable 'len'.tobhe
2019-06-10Use mallocarray(9) & put some free(9) sizes for M_IPMOPTS allocations.Martin Pieuchot
2019-04-28Removes the KERNEL_LOCK() from bridge(4)'s output fast-path.Martin Pieuchot
2019-01-18Bring back the ip_pcbopts() refactor. Pad the option buffer and thereforClaudio Jeker
2019-01-18Revert Rev 1.351, the change is not quite right yet.Claudio Jeker
2019-01-06Rewrite ip_pcbopts() to fill a fresh mbuf with the ip options insteadClaudio Jeker
2019-01-03Replace a funky 'else switch' construct into something that is equal butClaudio Jeker
2018-12-20Replace a wrong poor mans m_trailingspace() with the real thing. The mbufClaudio Jeker
2018-08-28Add per-TDB counters and a new SADB extension to export them toMartin Pieuchot
2018-07-12Introduce ipsec_output_cb() to merge duplicate code and account forMartin Pieuchot
2018-03-21In ip6_output() check that the interface of a route is valid. ForAlexander Bluhm
2018-02-19Remove almost unused `flags' argument of suser().Martin Pieuchot
2017-11-22It does not make sense to call pcb lookup from pf during packetAlexander Bluhm
2017-10-26Stop grabbing the KERNEL_LOCK() in network tasks when `ipsec_in_use'Martin Pieuchot
2017-09-20Use m_copym() instead of m_dup_pkt() to fix a kernel assert whenVisa Hankala
2017-09-01Change sosetopt() to no longer free the mbuf it receives and changeMartin Pieuchot
2017-05-29Per-interface list of addresses, both multicast and unicast, areMartin Pieuchot
2017-04-19Use the rt_rmx defines that hide the struct rt_kmetrics indirection.Alexander Bluhm
2017-04-11Partially revert previous mallocarray conversions that containDavid Hill
2017-04-09Use mallocarray to allocate multicast group memberships.David Hill
2017-02-09percpu counters for TCP statsJeremie Courreges-Anglas
2017-02-01In sogetopt, preallocate an mbuf to avoid using sleeping mallocs withDavid Hill
2017-01-10Remove NULL checks before m_free(9), it deals with it.Martin Pieuchot
2016-12-19Extend the multicast sockets and multicast hash table support to multipleRafael Zalamena