Exemple #1
0
        public tipsec_error_t stop()
        {
            tipsec_error_t ret = (tipsec_error_t)ipsec_libPINVOKE.IPSecCtx_stop(swigCPtr);

            return(ret);
        }
Exemple #2
0
        public tipsec_error_t setKeys(IntPtr ik, IntPtr ck)
        {
            tipsec_error_t ret = (tipsec_error_t)ipsec_libPINVOKE.IPSecCtx_setKeys(swigCPtr, ik, ck);

            return(ret);
        }
Exemple #3
0
        public tipsec_error_t setRemote(uint spi_pc, uint spi_ps, ushort port_pc, ushort port_ps, ulong lifetime)
        {
            tipsec_error_t ret = (tipsec_error_t)ipsec_libPINVOKE.IPSecCtx_setRemote(swigCPtr, spi_pc, spi_ps, port_pc, port_ps, lifetime);

            return(ret);
        }
Exemple #4
0
        public tipsec_error_t setLocal(string addr_local, string addr_remote, ushort port_uc, ushort port_us)
        {
            tipsec_error_t ret = (tipsec_error_t)ipsec_libPINVOKE.IPSecCtx_setLocal(swigCPtr, addr_local, addr_remote, port_uc, port_us);

            return(ret);
        }