MCPcopy Create free account
hub / github.com/OpenSN-Library/OpenSN-Library / egress

Function egress

daemon/bpf-src/bpf.c:103–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101
102SEC("xdp")
103int egress(struct xdp_md *ctx)
104{
105
106 // STEP1: parse packet, get src mac address, target mac address
107 // STEP1: lookup ingress map, check redirect adress
108 // STEP2: redirect/pass
109}
110
111char __license[] SEC("license") = "GPL";

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected