summaryrefslogtreecommitdiff
path: root/sys/netipsec/ipsec.c
AgeCommit message (Expand)Author
2023-01-27ipsec: remove unnecessary splsoftnetozaki-r
2022-12-08Fix: sp->lastused should be updated by time_uptime, and refactor a little.knakahara
2022-11-09Fix IPv4 security policy with port number does not work for forwarding packets.knakahara
2022-11-04inpcb: rename functions to inpcb_*ozaki-r
2022-10-28inpcb: integrate data structures of PCB into oneozaki-r
2021-12-08s/speficication/specification/andvar
2020-08-28ipsec: rename ipsec_ip_input to ipsec_ip_input_checkpolicyozaki-r
2020-08-28inet, inet6: count packets dropped by IPsecozaki-r
2019-08-07ipsec_getpolicybysock() should also call key_havesp() like ipsec_getpolicybya...knakahara
2019-07-09Fix uninitialized variable: in ipsec_checkpcbcache(), spidx.dir is notmaxv
2019-01-27Merge the [pgoyette-compat] branchpgoyette
2018-11-22Support IPv6 NAT-T. Implemented by hsuenaga@IIJ and ohishi@IIJ.knakahara
2018-10-27Localify one function, and switch to C99 types while here.maxv
2018-07-11Renamemaxv
2018-05-14Merge ipsec4_input and ipsec6_input into ipsec_ip_input. Make the argumentmaxv
2018-05-10Replace dumb code by M_VERIFY_PACKET. In fact, perhaps we should not evenmaxv
2018-05-10Rename ipsec4_forward -> ipsec_mtu, and switch to void.maxv
2018-04-29Remove unused and misleading argument from ipsec_set_policy.maxv
2018-04-28Remove IPSEC_SPLASSERT_SOFTNET, it has always been a no-op.maxv
2018-04-28Stop using a macro, rename the function to ipsec_init_pcbpolicy directly.maxv
2018-04-28Style and remove unused stuff.maxv
2018-04-19Remove extra long file paths from the headers.maxv
2018-04-18Remove dead code.maxv
2018-04-17Add XXX. If this code really does something, it should use MCHTYPE.maxv
2018-04-17Style, add XXX (about the mtu that goes negative), and remove #ifdef inet.maxv
2018-04-03Remove ipsec_copy_policy and ipsec_copy_pcbpolicy. No functional change,maxv
2018-03-31typo in commentsmaxv
2018-03-03Reduce the diff between ipsec4_output and ipsec6_check_policy. While heremaxv
2018-03-03Dedup.maxv
2018-02-28add missing staticmaxv
2018-02-28Dedup: merge ipsec4_setspidx_inpcb and ipsec6_setspidx_in6pcb.maxv
2018-02-28ipsec6_setspidx_in6pcb: call ipsec_setspidx() only once, just like themaxv
2018-02-27Dedup: merge ipsec4_set_policy and ipsec6_set_policy. The content of themaxv
2018-02-27Remove duplicate checks, and no need to initialize 'newsp' inmaxv
2018-02-27Dedup: mergemaxv
2018-02-27Use inpcb_hdr to reduce the diff betweenmaxv
2018-02-27Optimize: use ipsec_sp_hdrsiz instead of ipsec_hdrsiz, not to re-querymaxv
2018-02-26Dedup: call ipsec_in_reject directly. IPSEC_STAT_IN_POLVIO also getsmaxv
2018-02-26Reduce the diff between ipsec6_input and ipsec4_input.maxv
2018-02-26Dedup: merge ipsec4_in_reject and ipsec6_in_reject into ipsec_in_reject.maxv
2018-02-26Dedup: merge ipsec4_hdrsiz and ipsec6_hdrsiz into ipsec_hdrsiz.maxv
2018-02-26Dedup: merge ipsec4_checkpolicy and ipsec6_checkpolicy intomaxv
2018-02-26Fix nonsensical checks, neither in6p nor request is allowed to be NULL,maxv
2018-02-26Merge some minor (mostly stylistic) changes from last week.maxv
2018-02-21Fix ipsec4_get_ulp(). We should do "goto done" instead of "return",maxv
2018-02-21Use inpcb_hdr to reduce the diff between:maxv
2018-02-21Rename:maxv
2018-02-16Style, remove unused and misleading macros and comments, localify, andmaxv
2018-02-16Fix inverted logic, otherwise the kernel crashes when receiving a 1-bytemaxv
2018-02-16Style a bit, no functional change.maxv