STRUCT DIAG_FTP_LDFPL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct diag_ftp_ldfpl(9) πŸ’…

okay so bestie, welcome to the kernel API manual for struct diag_ftp_ldfpl β€” that's the load file FTP parameter list, aka LDFPL if you're the kind of icon who loves an acronym πŸŽ€. she's a struct, she's in the kernel, and she's literally the little info packet you hand over when you wanna load a file over FTP. no cap.


✨ SYNOPSIS ✨

like, here's her whole entire shape, bestie β€” every field, exactly as she is:

struct diag_ftp_ldfpl {
    u64 bufaddr;
    u64 buflen;
    u64 offset;
    u64 intparm;
    u64 transferred;
    u64 fsize;
    u64 failaddr;
    u64 spare;
    u8 fident[HMCDRV_FTP_FIDENT_MAX];
 };

she's giving very organized. very main character. 🫢


🌸 Members 🌸

the lineup, one by one πŸ’–

  • bufaddr β€” the real buffer address, and heads up: it lives at a 4k boundary. yes, that's a requirement, she's picky like that ✨
  • buflen β€” the length of the buffer. how much room we're working with, basically πŸ’…
  • offset β€” the dir/file offset. like where in the file we're pointing at πŸ‘€
  • intparm β€” the interruption parameter… which is unused. she's just there for vibes, honestly πŸ’€
  • transferred β€” bytes transferred. the receipts of how much actually made it πŸ“¦
  • fsize β€” the file size, and ngl she gets filled on GET. so she starts empty and gets her moment during a GET πŸŽ€
  • failaddr β€” the failing address. for when things go πŸ’€ and you need to know where
  • spare β€” padding. every struct needs a little breathing room bestie 🌸
  • fident β€” the file name, in ASCII! that's the actual name of the file, no fancy unicode shenanigans here ✨ (also she's sized HMCDRV_FTP_FIDENT_MAX, iykyk)

πŸ¦‹ SEE ALSO πŸ¦‹

go read these next, fr fr β€” they're all in the kernel file ./drivers/s390/char/diag_ftp.c:


and that's the whole vibe check, bestie πŸ’œ this page came straight out of ./drivers/s390/char, dated October 2026, and it's literally called struct diag_ftp_ldfpl(9) β€” go forth and slay your FTP file loading, periodt πŸ‘‘πŸŒˆ

πŸ“¦ where this page comes from