Commit 7a784644 authored by Franck Messaoudi's avatar Franck Messaoudi

Update: add a debug log to distinguish PFCP PDR section from FAR section

parent b09e7b79
......@@ -226,6 +226,7 @@ static __always_inline u32 eth_handle(struct xdp_md* ctx, struct ethhdr* ethh) {
/*****************************************************************************************************************/
SEC("xdp_entry_point")
int entry_point(struct xdp_md* ctx) {
bpf_debug("================< PFCP PDR Sesction >================");
struct ethhdr* ethh = (void*) (long) ctx->data;
if ((void*) (ethh + 1) > (void*) (long) ctx->data_end) {
......
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