beiscsi_ep_connect(9)
π beiscsi_ep_connect β the Kernel API Manual, bestie edition π
Okay so listen. This one lives in the kernel API manual (section 9, we love a section 9 moment) and it's literally called beiscsi_ep_connect β yes, the whole entire name, we're not abbreviating, it's giving main character energy. π¦
β¨ NAME β¨
beiscsi_ep_connect β ask the chip to create a TCP Conn. That's it. That's the whole vibe. π
πΈ SYNOPSIS πΈ
struct iscsi_endpoint * beiscsi_ep_connect (struct Scsi_Host *shost ,
struct sockaddr *dst_addr , int non_blocking );
Copy that exactly, no cap. π«Ά
π ARGUMENTS π
shostβ a pointer to thescsi_hoststructure. Just a pointer, minding its own business. β¨dst_addrβ the IP address of the Target. That's where we're headed, bestie. π―non_blockingβ blocking or non-blocking call. Your choice, your destiny, your call to make. π
π DESCRIPTION π
So here's the tea: this routine does two things, in order, and the order matters. π
- First it asks the chip to create a connection.
- Then it allocates an EP.
That's the whole flow. Chip first, EP second, iconic behavior honestly. π
β SEE ALSO β
Lowkey the best part of any manpage, let's go:
Kernel file ./drivers/scsi/be2iscsi/be_iscsi.c β the actual source, go read it, iykyk. π
And the whole friend group, everyone's invited:
beiscsi_session_create(9)beiscsi_session_destroy(9)beiscsi_session_fail(9)beiscsi_conn_create(9)beiscsi_conn_bind(9)beiscsi_iface_config_vlan(9)beiscsi_ep_get_param(9)beiscsi_get_port_state(9)beiscsi_get_port_speed(9)beiscsi_get_host_param(9)beiscsi_conn_get_stats(9)beiscsi_set_params_for_offld(9)beiscsi_conn_start(9)beiscsi_get_cid(9)beiscsi_put_cid(9)beiscsi_free_ep(9)beiscsi_open_conn(9)beiscsi_ep_poll(9)beiscsi_flush_cq(9)beiscsi_conn_close(9)beiscsi_ep_disconnect(9)
Twenty-one links, one squad. π§π
Heads up bestie: everything you just read is straight from the manual β no extras, no invented lore. π«Ά
And that's a wrap! This page ships from ./drivers/scsi/be2iscsi and it's dated October 2026. Mwah. π No notes. πβ¨π
π¦ 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