struct tapi_bpf_lpm_trie_key

Overview

Key of a TAPI_BPF_MAP_TYPE_LPM_TRIE map entry More…

#include <tapi_bpf.h>

struct tapi_bpf_lpm_trie_key {
    // fields

    unsigned int prefixlen;
    unsigned char data[16];
};

Detailed Documentation

Key of a TAPI_BPF_MAP_TYPE_LPM_TRIE map entry

Fields

unsigned int prefixlen

Address prefix length, up to 32 for AF_INET, 128 for AF_INET6

unsigned char data[16]

Buffer for address