ENUM BATADV_DHCPOPTIONCODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum batadv_dhcpoptioncode(9) πŸ’…

okay bestie, welcome to the Kernel API Manual ✨ β€” this lil page is all about that enum life, and ngl it's a short one but it matters. Grab a boba, we're doing this πŸ§‹


🌸 NAME 🌸

enum batadv_dhcpoptioncode β€” the DHCP option codes that actually matter for batman-adv DAT πŸ¦‡πŸ’–

(it's giving "small enum, big responsibilities", honestly)


πŸ¦‹ SYNOPSIS πŸ¦‹

enum batadv_dhcpoptioncode {
    BATADV_DHCP_OPT_PAD ,
    BATADV_DHCP_OPT_MSG_TYPE ,
    BATADV_DHCP_OPT_END

};

look at her πŸ₯Ή just three constants, no drama, no cap. Literally the whole enum. Periodt.


πŸŽ€ Constants πŸŽ€

so these are the actual members, and yes there are only three (iykyk) πŸ‘‘

  • BATADV_DHCP_OPT_PAD β€” the pad option πŸ’€ like the filler episode of DHCP options β€” it's just padding, bestie.
  • BATADV_DHCP_OPT_MSG_TYPE β€” the DHCP message type option πŸ“¬ the one that tells you what kind of DHCP message you're looking at. main character energy fr.
  • BATADV_DHCP_OPT_END β€” the end of options marker 🏁 the "okay we're done here, bye" of the option list. slay.
ngl these are numbered by the DHCP spec, so don't be out here inventing your own values bestie 😭 the enum is what it is.

🌈 SEE ALSO 🌈

first up, where this lives in the kernel tree (iconic address, honestly):

Kernel file ./net/batman-adv/distributed-arp-table.c

and now the full friend group 🫢 β€” all of these are (9) manpage friends, every single one, no skipping:

like… that's a whole group chat right there πŸ˜­πŸ’€ every one of them tagged, every one of them (9).


and that's the page bestie!! πŸŽ€ go read the source, it's literally right there in ./net/batman-adv β€” this edition is the October 2026 one, so you know it's fresh βœ¨πŸ¦‹ mwah, ily, go read some kernel code πŸ’œπŸ‘‘

πŸ“¦ where this page comes from