Commit aa0200dd authored by Franck Messaoudi's avatar Franck Messaoudi

Remove: removing non-used file and code

parent 2b6454b3
#ifndef __INTERFACES_MAP_H__
#define __INTERFACES_MAP_H__
#include <bpf_helpers.h>
#include <linux/bpf.h>
#include <types.h>
#include "interfaces.h"
#define INTERFACE_ENTRIES_MAX 12
#define MAX_INTERFACES 10
/*---------------------------------------------------------------------------------------------------------------*/
struct {
__uint(type, BPF_MAP_TYPE_DEVMAP);
__uint(max_entries, MAX_INTERFACES);
__type(key, u32); // id
__type(value, u32); // tx port
} m_redirect_interfaces SEC(".maps");
/*---------------------------------------------------------------------------------------------------------------*/
struct {
__uint(type, BPF_MAP_TYPE_HASH);
__uint(max_entries, INTERFACE_ENTRIES_MAX);
__type(key, e_reference_point);
__type(value, struct s_interface);
} m_upf_interfaces SEC(".maps");
#endif // __INTERFACES_MAP_H__
\ No newline at end of file
......@@ -7,7 +7,6 @@
#include "sdf_filter.h"
#include "qos_flow.h"
#define QOS_FLOWS_MAX_ENTRIES 10000
#define MAX_INTERFACES 10
/*---------------------------------------------------------------------------------------------------------------*/
......
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