Commit 509fcbf6 authored by Franck Messaoudi's avatar Franck Messaoudi

Remove: remove non-used header and code

parent d162c289
......@@ -8,7 +8,7 @@
#include <linux/bpf.h>
#include <stdint.h>
#include <ie/teid.h>
#include <next_prog_rule_map.h>
//#include <next_prog_rule_map.h>
#include <next_prog_rule_key.h>
#include <rules_matching_pdr.h>
#include "interfaces.h"
......
#ifndef __NEXT_PROG_RULE_MAP_H__
#define __NEXT_PROG_RULE_MAP_H__
#include <bpf_helpers.h>
#include <linux/bpf.h>
#include <types.h>
#define MAX_LENGTH 10000 // 10
/*
* +------------------------------------------------------+
* | m_next_rule_prog |
* +--------------------------+---------------------------+
* | Key | Value |
* +--------------------------+---------------------------+
* | | |
* | u32 FAR_ID | u32 FAR File Descriptor |
* | | |
* +--------------------------+---------------------------+
*/
// struct {
// __uint(type, BPF_MAP_TYPE_PROG_ARRAY);
// __uint(max_entries, MAX_LENGTH);
// __type(key, u32);
// __type(value, s32);
// } m_next_rule_prog SEC(".maps");
// BPF_ANNOTATE_KV_PAIR(m_next_rule_prog, u32, s32);
#endif // __NEXT_PROG_RULE_MAP_H__
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment