CVSROOT: /cvs Module name: src Changes by: [email protected] 2025/12/10 23:06:56
Modified files:
sys/net : if_tun.c
Log message:
turn tun_input into a wrapper around p2p_input.
tun packets have the address family as a 4 byte prefix on their
payload which is used to decide which address family input handler
to call. p2p_input does the same thing except it looks at
m_pkthdr.ph_family.
this makes tun_input it's 4 byte prefix to set m_pkthdr.ph_family
and then calls p2p_input to use it.
