cURL
curl --request GET \ --url http://127.0.0.1:22100/v1/xdp/status \ --header 'Authorization: Bearer <token>'
{ "mode": "<string>", "interface": "<string>", "pin_base": "<string>", "kernel_release": "<string>", "program_version": "<string>", "blacklist_capacity": 123, "whitelist_capacity": 123 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
XDP 状态