Bill Sommerfeld wrote:

I'm attempting to implement the last piece of the SO_ALLZONES spec:
Failing any attempt to set the option if the socket is already bound.

Perhaps I'm missing something, but it looks like there isn't a
straightforward test you can do within ip on a conn_t to see that it is
or isn't bound; it looks like that state is kept in the sockfs layer and
isn't readily accessible from ip....

On a related note, is there a way to know if q_ptr is a conn_t or
something else?

Darren

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to