  | 
  
    P4C
    
   The P4 Compiler 
   | 
 
 
 
 
Loading...
Searching...
No Matches
 
 
 
 
   20#ifndef BACKENDS_EBPF_RUNTIME_EBPF_MAP_H_ 
   21#define BACKENDS_EBPF_RUNTIME_EBPF_MAP_H_ 
   23#include "contrib/uthash.h"   
   37int bpf_map_update_elem(
struct bpf_map **map, 
void *key, 
unsigned int key_size, 
void *value,
unsigned int value_size, 
unsigned long long flags);
 
   44void *bpf_map_lookup_elem(
struct bpf_map *map, 
void *key, 
unsigned int key_size);
 
   51int bpf_map_delete_elem(
struct bpf_map *map, 
void *key, 
unsigned int key_size);
 
   58int bpf_map_delete_map(
struct bpf_map *map);