Skip to content

KFunc bpf_skb_get_hash

v6.16

Get the flow hash of an skb.

Definition

Parameters

skb: The skb to get the flow hash from.

Signature

u32 bpf_skb_get_hash(struct sk_buff *skb)

Usage

Docs could be improved

This part of the docs is incomplete, contributions are very welcome

Program types

The following program types can make use of this kfunc:

Example

Docs could be improved

This part of the docs is incomplete, contributions are very welcome