knet_handle_crypto_use_config(3)

knet_handle_crypto_use_config3

Specify crypto configuration to use for tx

Usage

#include <libknet.h>

int knet_handle_crypto_use_config(
    knet_handle_t  knet_h,
    uint8_t        config_num
);

Overview

knet_handle_crypto_use_config

knet_h - pointer to knet_handle_t

config_num - 1|2 use configuration 1 or 2, 0 for clear (unencrypted) traffic.

Return value

knet_handle_crypto_use_config returns:

0 on success

-1 on error and errno is set.

Releases

3 releases since Debian 11 (Bullseye); the text changed 2 times.

  1. 11
  2. 12
  3. 13

From libknet-doc 1.31-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.