Skip to contentSkip to conversation

network protocol query

DISCUSSION cranium2003 2 participants 2 messages Nov 14, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

hello,
For study purpose i want to add new protocol in linux
kernel. Is there any function in kernel that help me to add new protocol?can it be working with existing tcp/ip?
regards,
cranium2003

__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com

#1 lore raw
Quoted 3 lines

hello,
kernel. Is there any function in kernel that help me to add new protocol?can it be working with existing

try looking at existing protocols, and how the register themselves. you basically need to inet_add_protocol to add your protocol, after you built the proper struct net_protocol.

hope this helped.

Signature · 7 lines
========================================================================
nir.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/