tipc_l2_rcv_msg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– tipc_l2_rcv_msg β€” like, the TIPC inbound bouncer πŸ’–

okay so bestie, this is a page from the Kernel API Manual and it's all about tipc_l2_rcv_msg, which handles incoming TIPC messages from an interface. yes it's kernel networking. yes you're gonna understand it. let's go 🫢


✨ SYNOPSIS ✨

int tipc_l2_rcv_msg (struct sk_buff *skb , struct net_device *dev ,
       struct packet_type *pt , struct net_device *orig_dev );

that's the whole vibe. one function, four args, returns an int. iconic.


πŸŽ€ ARGUMENTS πŸŽ€

  • skb β€” the received message itself, aka the actual packet that just showed up πŸ’Œ
  • dev β€” the net device that the packet was received on, like the door it walked in through πŸšͺ
  • pt β€” the packet_type structure which was used to register this handler, iykyk, it's the registration receipt 🧾
  • orig_dev β€” the original receive net device in case the device is a bond, so if things got bonded together, this is the OG device πŸ’

🌸 DESCRIPTION 🌸

so what does it actually do? it accepts only packets explicitly sent to this node, or broadcast packets. that's it, that's the whole gatekeeping philosophy. queen behavior tbh πŸ‘‘

and the way it's picky?? it ignores packets sent using interface multicast, and it also ignores traffic sent to other nodes β€” which can happen if the interface is running in promiscuous mode. so yeah, promiscuous mode can sneak extra traffic in and this function is just like "not for me bestie, moving on" πŸ’…

no cap: if you were hoping it would pick up multicast or other-node traffic, it will not. it literally says it ignores those. periodt.

πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file ./net/tipc/bearer.c and its whole friend group:

go read them, they're all in ./net/tipc together, one big happy bearer.c family 🌈


⭐ little sign-off ⭐

this cutie of a page came from the source path ./net/tipc, dated October 2026, and it's living in the Kernel API Manual. that's the whole footer, no secrets here πŸ”₯

stay hydrated, read your kernel source, and remember: only explicitly-sent-to-this-node or broadcast packets get in πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from