Skip to content

Commit

Permalink
bpf: document ext_err argument on policy_can_access_ingress
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
  • Loading branch information
mhofstetter authored and pchaigno committed Feb 21, 2023
1 parent eeb33aa commit 88c0394
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bpf/lib/policy.h
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ __policy_can_access(const void *map, struct __ctx_buff *ctx, __u32 local_id,
* @arg is_untracked_fragment True if packet is a TCP/UDP datagram fragment
* AND IPv4 fragment tracking is disabled
* @arg match_type Pointer to store layers used for policy match
* @arg ext_err Pointer to store extended error information if this packet isn't allowed
*
* Returns:
* - Positive integer indicating the proxy_port to handle this traffic
Expand Down

0 comments on commit 88c0394

Please sign in to comment.