eth_proto_is_802_3(9)
β¨ eth_proto_is_802_3(9) β¨
okay so this is a page from the Kernel API Manual bestie, and it's literally about one tiny little function that does one tiny little vibe check on your Ethertypes π
π NAME π
eth_proto_is_802_3 β determine if a given Ethertype/length is a protocol π¦
like, is this thing a real protocol or not, bestie, that's the whole question
πΈ SYNOPSIS πΈ
bool eth_proto_is_802_3 (__be16 proto );
that's it. that's the whole call. one arg, returns a bool, slay β¨
π ARGUMENTS π
protoβ the Ethertype/length value that's getting tested π like, this is the value you're putting under the microscope, no cap
π§ DESCRIPTION π§
so what it does is: it checks that the value sitting in the Ethertype/length field is a valid Ethertype. that's the whole thing. that's the assignment. it's giving "small function, big responsibility" energy honestly π
β RETURN β
it hands back true if the value is an 802.3-supported Ethertype π«Ά that's the yes. that's the green flag. π
π₯ SEE ALSO π₯
all of these live in the kernel file ./include/linux/etherdevice.h and honestly? iconic lineup. the whole ether squad showed up π
is_link_local_ether_addr(9)is_zero_ether_addr(9)is_multicast_ether_addr(9)is_local_ether_addr(9)is_broadcast_ether_addr(9)is_unicast_ether_addr(9)is_valid_ether_addr(9)eth_random_addr(9)eth_broadcast_addr(9)eth_zero_addr(9)eth_hw_addr_random(9)eth_hw_addr_crc(9)ether_addr_copy(9)eth_hw_addr_set(9)eth_hw_addr_inherit(9)ether_addr_equal(9)ether_addr_equal_64bits(9)ether_addr_equal_unaligned(9)ether_addr_equal_masked(9)ether_addr_to_u64(9)u64_to_ether_addr(9)eth_addr_dec(9)eth_addr_inc(9)eth_addr_add(9)is_etherdev_addr(9)compare_ether_header(9)eth_hw_addr_gen(9)eth_skb_pkt_type(9)eth_skb_pad(9)
fr fr go read those too, they're all siblings and they all ate ππ«Ά
okay bye bestie!! this page came from ./include/linux, dated October 2026, and it's literally eth_proto_is_802_3(9) β catch u on the next man page, mwah π
πβ¨
π¦ 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