summaryrefslogtreecommitdiff
path: root/sys/netipsec/ipsec.c
AgeCommit message (Expand)Author
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
2018-02-16Remove some more FreeBSD sysctl declarations that already have NetBSDmaxv
2018-02-16Remove ipsec_replay and ipsec_integrity from this place, they are alreadymaxv
2018-02-16Remove ip4_esp_randpad and ip6_esp_randpad, unused. Discussed withmaxv
2018-02-08Remove unused net_osdep.h include.maxv
2018-01-23Fix late NULL-checking (CID 1427782: Null pointer dereferences (REVERSE_INULL))ozaki-r
2017-11-21Use M_WAITOK to allocate mbufs wherever sleepableozaki-r
2017-10-17Fix buffer length for ipsec_logsastrozaki-r
2017-10-03Don't abuse key_checkrequest just for looking up savozaki-r
2017-09-28- sanitize key debugging so that we don't print extra newlines or unassociatedchristos