@ -257,18 +257,18 @@ pub fn btf_tracepoint(attrs: TokenStream, item: TokenStream) -> TokenStream {
/// # Examples
///
/// ```no_run
/// use aya_bpf::{macros::stream_parser, programs::Sk Skb Context};
/// use aya_bpf::{macros::stream_parser, programs::Sk Buff Context};
///
///
///#[stream_parser]
///fn stream_parser(ctx: Sk Skb Context) -> u32 {
///fn stream_parser(ctx: Sk Buff Context) -> u32 {
/// match { try_stream_parser(ctx) } {
/// Ok(ret) => ret,
/// Err(ret) => ret,
/// }
///}
///
///fn try_stream_parser(ctx: Sk Skb Context) -> Result<u32, u32> {
///fn try_stream_parser(ctx: Sk Buff Context) -> Result<u32, u32> {
/// Ok(ctx.len())
///}
/// ```
@ -287,18 +287,18 @@ pub fn stream_parser(attrs: TokenStream, item: TokenStream) -> TokenStream {
/// # Examples
///
/// ```no_run
/// use aya_bpf::{macros::stream_verdict, programs::Sk Skb Context, bindings::sk_action};
/// use aya_bpf::{macros::stream_verdict, programs::Sk Buff Context, bindings::sk_action};
///
///
///#[stream_verdict]
///fn stream_verdict(ctx: Sk Skb Context) -> u32 {
///fn stream_verdict(ctx: Sk Buff Context) -> u32 {
/// match { try_stream_verdict(ctx) } {
/// Ok(ret) => ret,
/// Err(ret) => ret,
/// }
///}
///
///fn try_stream_verdict(_ctx: Sk Skb Context) -> Result<u32, u32> {
///fn try_stream_verdict(_ctx: Sk Buff Context) -> Result<u32, u32> {
/// Ok(sk_action::SK_PASS)
///}
/// ```
@ -327,10 +327,10 @@ fn sk_skb(kind: SkSkbKind, attrs: TokenStream, item: TokenStream) -> TokenStream
/// # Examples
///
/// ```no_run
/// use aya_bpf::{macros::socket_filter, programs::Sk Skb Context};
/// use aya_bpf::{macros::socket_filter, programs::Sk Buff Context};
///
/// #[socket_filter(name = "accept_all")]
/// pub fn accept_all(_ctx: Sk Skb Context) -> i64 {
/// pub fn accept_all(_ctx: Sk Buff Context) -> i64 {
/// return 0
/// }
/// ```