Re: Initialisation of a networking protocol

2008-09-29 Thread Ryan French
Hi, Thanks for the help. I managed to figure out that the problem was I had left out the DOMAIN_SET command in my code, but I've got that sorted now and am just working through bugs in my code causing page faults whenever an MPLS packet is received. Should hopefully have something up and running b

Re: Initialisation of a networking protocol

2008-09-29 Thread Bruce M. Simpson
Hi Ryan, Did you initialize the .pr_init member of struct protosw for MPLS? AFAIK, MPLS does not use an outer IP header, so adding a struct ipprotosw won't work; they are similar structs however. cheers BMS ___ freebsd-net@freebsd.org mailing list h

Re: Initialisation of a networking protocol

2008-09-29 Thread Robert Watson
On Mon, 29 Sep 2008, Ryan French wrote: I'm having a bit of trouble with my MPLS protocol code at the moment. I have the code written and compiling (mostly based on some OpenBSD code I was shown) but when an MPLS packet is received it doesnt appear as thou my mpls_input routine is being calle