Handle netgraph control messages

2010-04-07 Thread serena zanetta
I’ve modified the ng_hub node code in order to send a “connect” control message to the following ng_ksocket node. I’ve filled a sockaddr_in structure, named connect_saddrin, as: connect_saddrin.sin_len = 16; connect_saddrin.sin_family = AF_INET; connect_saddrin.sin_port = htonl(55056); conne

Re: Handle netgraph control messages

2010-04-07 Thread Julian Elischer
On 4/7/10 8:51 AM, serena zanetta wrote: I’ve modified the ng_hub node code in order to send a “connect” control message to the following ng_ksocket node. At very first glance it looks ok but I'll have to go look a the code to see if you've forgotten something :-) I’ve filled a sockaddr_

Re: kern/145462: [netgraph] [patch] panic kernel when ng_ipfw send ip package on not existing netgraph node

2010-04-07 Thread linimon
Old Synopsis: [patch] panic kernel when ng_ipfw send ip package on not existing netgraph node New Synopsis: [netgraph] [patch] panic kernel when ng_ipfw send ip package on not existing netgraph node Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: linimon Responsibl