Changeset 6215813 in rtems-libbsd


Ignore:
Timestamp:
Apr 27, 2018, 12:57:20 PM (13 months ago)
Author:
Christian Mauderer <christian.mauderer@…>
Branches:
b5f8d4831d66364b7391e3660560cb9bbecada2e, 31b5c87357cee83d6a3419c5d801a9bf16912714
Children:
ff36f5e
Parents:
09bbedc
git-author:
Christian Mauderer <christian.mauderer@…> (04/27/18 12:57:20)
git-committer:
Christian Mauderer <christian.mauderer@…> (08/01/18 07:55:27)
Message:

if_ipsec: Port and add to everything-buildset.

This ports the kernel space parts for ipsec and adds them to the
everything-buildset.

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • buildset/default.ini

    r09bbedc r6215813  
    5151netinet = on
    5252netinet6 = on
     53netipsec = off
    5354opencrypto = on
    5455pci = on
  • buildset/everything.ini

    r09bbedc r6215813  
    1414user_space_wlanstats = on
    1515usr_sbin_wpa_supplicant = on
     16netipsec = on
  • freebsd/sys/net/if_ipsec.c

    r09bbedc r6215813  
    175175
    176176        sc = malloc(sizeof(*sc), M_IPSEC, M_WAITOK | M_ZERO);
     177#ifndef __rtems__
    177178        sc->fibnum = curthread->td_proc->p_fibnum;
     179#else /* __rtems__ */
     180        sc->fibnum = BSD_DEFAULT_FIB;
     181#endif /* __rtems__ */
    178182        sc->ifp = ifp = if_alloc(IFT_TUNNEL);
    179183        IPSEC_LOCK_INIT(sc);
  • libbsd.py

    r09bbedc r6215813  
    19891989        self.addKernelSpaceHeaderFiles(
    19901990            [
     1991                'sys/net/if_ipsec.h',
    19911992                'sys/netipsec/ah.h',
    19921993                'sys/netipsec/ah_var.h',
     
    20082009        self.addKernelSpaceSourceFiles(
    20092010            [
     2011                'sys/net/if_ipsec.c',
    20102012                'sys/netipsec/ipsec.c',
    20112013                'sys/netipsec/ipsec_input.c',
  • rtemsbsd/include/rtems/bsd/local/opt_ipsec.h

    r09bbedc r6215813  
     1#include <rtems/bsd/modules.h>
     2#ifdef RTEMS_BSD_MODULE_NETIPSEC
     3  #define IPSEC 1
     4  #define TCP_SIGNATURE 1
     5#endif
Note: See TracChangeset for help on using the changeset viewer.