iptfs_first_skb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so this is iptfs_first_skb(9), straight outta the Kernel API Manual, and its whole job is to handle the first dequeued inner packet for output. πŸ’…

πŸ›°οΈ SYNOPSIS πŸ›°οΈ

int iptfs_first_skb (struct sk_buff **skbp , struct xfrm_iptfs_data
*xtfs , u32 mtu );

πŸŽ€ ARGUMENTS πŸŽ€

  • skbp β€” the source packet skb (IN), plus the skb holding the last fragment in the fragment stream (OUT). Same argument, both directions, iykyk. πŸ’«
  • xtfs β€” IPTFS SA state. That’s the state, bestie. 🌸
  • mtu β€” the max IPTFS fragment size. Literally the max. πŸ’€

🧚 DESCRIPTION 🧚

This function is responsible for fragmenting a larger inner packet into a sequence of IPTFS payload packets. Slay. ✨

The last fragment is returned rather than being sent, so the caller can append more inner packets (aggregation) if there is room. That’s the whole vibe: hand back the final fragment so the caller can keep stacking if there’s space. 🫢

πŸ’– RETURN πŸ’–

0 on success or a negative error code on failure. Periodt. πŸ’…

🌈 SEE ALSO 🌈

Grab a snack, because SEE ALSO is giving a whole ensemble cast. First, the kernel file:

πŸ’– cute sign-off: this page comes from source/version ./net/xfrm, dated October 2026, and yes, it’s still iptfs_first_skb(9). Mwah! πŸ’–

πŸ“¦ where this page comes from