skb_flow_get_icmp_tci(9)
π NAME π
okay so bestie, meet skb_flow_get_icmp_tci(9) from the Kernel API Manual β this icon is here to extract ICMP(6) Type, Code and Identifier fields. that's the whole assignment. πβ¨
β¨ SYNOPSIS β¨
void skb_flow_get_icmp_tci (const struct sk_buff *skb , struct flow_dissector_key_icmp *key_icmp , const void *data , int thoff , int hlen );
π«Ά ARGUMENTS π«Ά
skbβ thesk_buffto extract from, bestie. it's giving "this is the packet we're working with" energy. πkey_icmpβ astruct flow_dissector_key_icmpto fill. yes, we are filling it. main character struct behavior, no cap. πdataβ raw buffer pointer to the packet. literally the packet data hookup. π¦thoffβ offset to extract at. that's the spot, bestie. π―hlenβ packet header length. gotta know how long the header is, fr fr. π
π₯ SEE ALSO π₯
the kernel file is ./net/core/flow_dissector.c, and these are the linked-up besties you should also peek at:
skb_flow_get_ports(9)__skb_flow_dissect_batadv(9)__skb_flow_dissect(9)__skb_get_hash_net(9)skb_get_poff(9)
π
mwah! this page lives in ./net/core, dated October 2026, and it's all for skb_flow_get_icmp_tci(9). slay and goodbye. π¦π
π¦ 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