STRUCT DIAG_FTP_LDFPL(9)
π 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 wherespareβ 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 sizedHMCDRV_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
- 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