Reading m_flags in tcp_output and tcp_input

2006-06-29 Thread Haisang Wu
Hello, I need to read m_flags of a mbuf in an TCP application in the following two cases: (1) in sending direction, right before TCP calls ip_output() to send out a packet, (2) in receiving direction, right before TCP appends a packet to so_rcv of the corresponding socket and wakes up the socke

mbufs in tcp_output and tcp_input

2006-06-26 Thread Haisang Wu
Hello, I need to read m_flags of a mbuf in an TCP application in the following two cases: (1) in sending direction, right before TCP calls ip_output() to send out a packet, (2) in receiving direction, right before TCP appends a packet to so_rcv of the corresponding socket and wakes up the socke

Re: Developing New Socket Option on 4.10

2006-01-24 Thread Haisang Wu
<[EMAIL PROTECTED]> wrote: > > Haisang Wu wrote: > > I am writing for help on my freebsd kernel hacking. I am working on > 4.10, > > and intend to introduct a new socket option (say, SO_TAG_PAK) > > for my own kernel. When sending out a packet, if this option is set,

Developing New Socket Option on 4.10

2006-01-24 Thread Haisang Wu
Hello, all, I am writing for help on my freebsd kernel hacking. I am working on 4.10, and intend to introduct a new socket option (say, SO_TAG_PAK) for my own kernel. When sending out a packet, if this option is set, the socket layer will produce a 20-byte tag, and finally this tag will be prepe