Skip to content
This repository was archived by the owner on Feb 20, 2025. It is now read-only.

Commit 35e4601

Browse files
committed
Add get_src_mac_address() to config.h.
1 parent df3a426 commit 35e4601

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include <linux/types.h>
44

55
void get_gw_mac(__u8 *mac);
6+
int get_src_mac_address(const char *dev, __u8 *src_mac);
67
__u16 rand_num(__u16 min, __u16 max, unsigned int seed);
78
char *lower_str(char *str);
89
char *rand_ip(char *range, __u64 *pcktcount);

0 commit comments

Comments
 (0)