Commit 13514de8 authored by Franck Messaoudi's avatar Franck Messaoudi

Update: clang formating

parent 32ebbee5
......@@ -43,7 +43,7 @@ static __always_inline bool retrieve_upf_iface_from_map(
static __always_inline bool update_dst_mac_address(
u32 ip, struct ethhdr* p_eth) {
struct s_arp_mapping* map_entry = {0};
//memset(&map_entry, 0, sizeof(struct s_arp_mapping));
// memset(&map_entry, 0, sizeof(struct s_arp_mapping));
map_entry = bpf_map_lookup_elem(&m_arp_table, &ip);
......
......@@ -16,7 +16,6 @@
#include "xdp_stats_kern_user.h"
#endif
struct {
__uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);
__uint(max_entries, XDP_ACTION_MAX);
......
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