qla4xxx_get_chap_index(9)
π qla4xxx_get_chap_index β¨
So bestie, this is a page from the Kernel API Manual (that's the manual name, iykyk) β section 9, kernel-space vibes only. Buckle up π
πΈ NAME πΈ
qla4xxx_get_chap_index β literally just: get the chap index, given a username and a secret. That's it. That's the whole job. π
β¨ SYNOPSIS β¨
int qla4xxx_get_chap_index (struct scsi_qla_host *ha , char *username ,
char *password , int bidi , uint16_t *chap_index );
Yes she returns an int, yes she takes five args, no we're not scared. π«Ά
π¦ ARGUMENTS π¦
haβ pointer to the adapter structure. Like, the actual adapter, your main character πusernameβ the CHAP username we're out here searching for πpasswordβ the CHAP password we're searching for too (they go together, obvi) πbidiβ is this a BIDI CHAP?? yes/no, that's the question πchap_indexβ the CHAP index that gets returned. She's the output girlie π
π DESCRIPTION π
Okay so here's the tea β: it matches the username and password inside the chap_list, and returns the index if a match is found. Slay, easy.
But if a match is not found? Not me just adding the entry into FLASH π β and then it returns the index at which that entry got written in the FLASH. So either way you're walking away with an index. Iconic behaviour, fr fr. π₯
π SEE ALSO π
Kernel file ./drivers/scsi/qla4xxx/ql4_mbx.c β go read her, she's the source π§
And the whole bestie squad of related pages:
qla4xxx_is_intr_poll_mode(9)qla4xxx_mailbox_command(9)qla4xxx_get_minidump_template(9)qla4xxx_req_template_size(9)qla4xxx_initialize_fw_cb(9)qla4xxx_get_dhcp_ip_address(9)qla4xxx_get_firmware_state(9)qla4xxx_get_firmware_status(9)qla4xxx_set_ddb_entry(9)qla4xxx_get_crash_record(9)qla4xxx_get_conn_event_log(9)qla4xxx_abort_task(9)qla4xxx_reset_lun(9)qla4xxx_reset_target(9)qla4xxx_about_firmware(9)qla4xxx_set_chap(9)qla4_84xx_extend_idc_tmo(9)qla4_8xxx_set_param(9)qla4_83xx_post_idc_ack(9)
Okay that's the whole page, no cap π β brought to you from ./drivers/scsi/qla4xxx, dated October 2026, and the page itself is qla4xxx_get_chap_index(9). Byeee, ily, go match some CHAP entries πβ¨
π¦ 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