xdp-sni: switch LPM trie map to hash map

switch xdp_sni.bpf.o LPM trie map to hash map
to reduce code complexity and avoid verifier error

now need to add domain and its sub domain to hash
map to block each domain and its sub domain site.

Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
This commit is contained in:
Vincent Li
2024-10-09 02:48:38 +00:00
parent 5db52b1717
commit a118df6060

View File

@@ -41,7 +41,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = e20bdef6f55b24df2f1a5bc144f5cdfb1b01d087aac3f1047492e922705b3be09ed4dbf63be63e3923b01d1df9b6245ba818ae8317cda6a18fe60d230fc69927
$(DL_FILE)_BLAKE2 = 08ce7dace173e49977d813e8ece138ff0c7c222cfef4f1fafa37cafae9e7e53d3220e7361e71359642f02709a645604f48ad4f75e41e5a0c81f7652bdc372c8e
install : $(TARGET)