fbnic_tlv_test_create(9)
π fbnic_tlv_test_create π
okay so bestie, welcome to the fbnic_tlv_test_create(9) page β yes it's a section 9 kernel API manual page, yes we're reading it for fun, and yes it slays β¨
πΈ NAME πΈ
fbnic_tlv_test_create β allocate a test message and fill it w/ data π
like, the whole vibe is: make a TLV test message, then stuff it full of data. that's it. that's the function. iconic behavior honestly π
β¨ SYNOPSIS β¨
struct fbnic_tlv_msg * fbnic_tlv_test_create (struct fbnic_dev *fbd );
look at her go π¦ she takes one arg and hands you back a whole struct fbnic_tlv_msg *. main character energy fr fr.
π«Ά ARGUMENTS π«Ά
fbdβ the FBNIC device structure π that's it, that's the one thing you gotta give her. no cap.
π₯ RETURN π₯
she gives you one of two things, no in-between:
NULLif she fails to allocate π (allocation said no)- a pointer to your brand-new TLV test message π (allocation said yes)
vibe check passed either way, tbh β you just gotta check which one you got π
π SEE ALSO π
the kernel file this all lives in, bestie:
./drivers/net/ethernet/meta/fbnic/fbnic_tlv.c
and the whole friend group of related calls β go say hi to all of them, iykyk:
fbnic_tlv_msg_alloc(9)fbnic_tlv_attr_put_flag(9)fbnic_tlv_attr_put_value(9)__fbnic_tlv_attr_put_int(9)fbnic_tlv_attr_put_mac_addr(9)fbnic_tlv_attr_put_string(9)fbnic_tlv_attr_get_unsigned(9)fbnic_tlv_attr_get_signed(9)fbnic_tlv_attr_get_string(9)fbnic_tlv_attr_nest_start(9)fbnic_tlv_attr_nest_stop(9)fbnic_tlv_attr_parse_array(9)fbnic_tlv_attr_parse(9)fbnic_tlv_msg_parse(9)fbnic_tlv_parser_error(9)fbnic_tlv_parser_test_attr(9)fbnic_tlv_parser_test(9)
okay that's the whole page, you ate that π no notes. this came out of ./drivers/net/ethernet/meta/fbnic and honestly it's serving October 2026, and the whole thing is literally called fbnic_tlv_test_create(9). 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