parse_tag_11_packet(9)
π parse_tag_11_packet(9) β from the Kernel API Manual, bestie π
okay so this is a little kernel function from the <pink>Kernel API Manual</pink> and tbh her NAME section is literally empty β she said "no bio, just vibes" β¨. Her name is parse_tag_11_packet and she lives in section 9 of the manual (that's the kernel-API girlies, iykyk π§). Let's get into it π
πΈ SYNOPSIS πΈ
Like, here's her whole signature, literally character for character, don't touch it π«Ά:
int parse_tag_11_packet (unsigned char *data , unsigned char *contents ,
size_t max_contents_bytes , size_t *tag_11_contents_size , size_t
*packet_size , size_t max_packet_size );
π¦ ARGUMENTS π¦
dataβ the raw bytes of the packet. just... raw bytes. unprocessed. feral, even πcontentsβ this function writes the data contents of the literal packet into this memory location. she's filling this one up for you, bestie β¨max_contents_bytesβ the maximum number of bytes that this function is allowed to write intocontents. it's giving boundaries, and honestly? we love a function that respects the limit πtag_11_contents_sizeβ this function writes the size of the parsed contents into this memory location; zero on error βpacket_sizeβ this function writes the size of the parsed packet into this memory location; zero on error βmax_packet_sizeβ maximum number of bytes to parse. that's the ceiling, the limit, the "girl know your place" π
π DESCRIPTION π
Returns zero on success; non-zero on error. that's it. that's the whole description. short queen, main character energy, says exactly what she needs to say and dips πβ¨
ngl bestie, keep an eye on those two size outputs β they come back as zero when something goes wrong, so if you see a zero where you expected a number, that's your error vibe check failing π
π SEE ALSO π
Kernel file ./fs/ecryptfs/keystore.c β go read the source, she slays in context π«Ά and while you're there, the whole friend group:
ecryptfs_parse_packet_length(9)ecryptfs_write_packet_length(9)ecryptfs_verify_version(9)ecryptfs_verify_auth_tok_from_key(9)ecryptfs_find_auth_tok_for_sig(9)ecryptfs_parse_tag_70_packet(9)decrypt_pki_encrypted_session_key(9)parse_tag_1_packet(9)parse_tag_3_packet(9)decrypt_passphrase_encrypted_session_key(9)ecryptfs_parse_packet_set(9)write_tag_1_packet(9)write_tag_11_packet(9)write_tag_3_packet(9)ecryptfs_generate_key_packet_set(9)
okay that's the page!! π this one came from the source dir ./fs/ecryptfs, dated October 2026, and the manual name is parse_tag_11_packet(9) in case you forgot already (no judgement, it's a lot of tag packets π). mwah, go parse something cute ππ
β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms