nginx/src/core/ngx_bpf.c


/*
 * Copyright (C) Nginx, Inc.
 */


#include <ngx_config.h>
#include <ngx_core.h>

#define NGX_BPF_LOGBUF_SIZE


static ngx_inline int
ngx_bpf(enum bpf_cmd cmd, union bpf_attr *attr, unsigned int size)
{}


void
ngx_bpf_program_link(ngx_bpf_program_t *program, const char *symbol, int fd)
{}


int
ngx_bpf_load_program(ngx_log_t *log, ngx_bpf_program_t *program)
{}


int
ngx_bpf_map_create(ngx_log_t *log, enum bpf_map_type type, int key_size,
    int value_size, int max_entries, uint32_t map_flags)
{}


int
ngx_bpf_map_update(int fd, const void *key, const void *value, uint64_t flags)
{}


int
ngx_bpf_map_delete(int fd, const void *key)
{}


int
ngx_bpf_map_lookup(int fd, const void *key, void *value)
{}