op-packages/oaf/src/af_user_config.h
github-actions[bot] 32600acc60 🌴 Sync 2026-03-05 23:51:42
2026-03-05 23:51:42 +08:00

16 lines
376 B
C

#ifndef __AF_USER_CONFIG_H__
#define __AF_USER_CONFIG_H__
#include "app_filter.h"
#include "af_utils.h"
typedef struct af_mac_node {
struct list_head list;
unsigned char mac[MAC_ADDR_LEN];
}af_mac_node_t;
void af_mac_list_init(void);
void af_mac_list_flush(void);
af_mac_node_t *af_mac_find(unsigned char *mac);
af_mac_node_t *af_mac_add(unsigned char *mac);
#endif