iptfs_copy_create_frags(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay bestie, this is iptfs_copy_create_frags(9) from the Kernel API Manual β€” and it's literally here to create and send N-1 fragments of a larger skb. πŸ’…βœ¨


✨ SYNOPSIS ✨

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

πŸŽ€ ARGUMENTS πŸŽ€

  • skbp β€” the source packet skb (IN), and also the skb holding the last fragment in the fragment stream (OUT). yes, it's giving both-ways main character energy πŸ’–
  • xtfs β€” the IPTFS SA state.
  • mtu β€” the max IPTFS fragment size.

πŸ’– DESCRIPTION πŸ’–

So this function is responsible for fragmenting a larger inner packet into a sequence of IPTFS payload packets. The last fragment is returned rather than being sent, so the caller can append more inner packets (aggregation) if there is room. lowkey iconic behavior, ngl πŸ¦‹


🫢 RETURN 🫢

0 on success, or a negative error code on failure. periodt. πŸ’€βœ¨


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./net/xfrm/xfrm_iptfs.c β€” plus all these related besties, no cap:

mwah πŸ’‹ β€” this cutie came from ./net/xfrm, dated October 2026, and it's literally iptfs_copy_create_frags(9). πŸŽ€

πŸ“¦ where this page comes from