Changeset 6215813 in rtems-libbsd for freebsd/sys/net/if_ipsec.c


Ignore:
Timestamp:
Apr 27, 2018, 12:57:20 PM (18 months ago)
Author:
Christian Mauderer <christian.mauderer@…>
Branches:
c1e05b9ea378b2971e3d7704779112b4bc4296da, 4a77611a223ea883fb548679b516d326a020d447
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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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);
Note: See TracChangeset for help on using the changeset viewer.