Re: mbuf.h rev 1.142

From: Bruce Evans <bde_at_zeta.org.au>
Date: Wed, 19 May 2004 19:17:41 +1000 (EST)
On Tue, 18 May 2004, Gleb Smirnoff wrote:

> ...
>   what was the reason for moving ip_claim_next_hop() from ip_var.h
> to mbuf.h? As far as I understand mbuf.h contains declarations to
> mbuf interface, which is lower than IP protocol, or sockets.
>
> m_claim_next_hop() is not really a pure mbuf function, while all other
> functions in mbuf.h are.
>
> After rev 1.142 including mbuf.h requires including of netinet/in.h,
> and this is not logically correct.

It's not quite that bad.  It doesn't need a complete struct sockaddr_in
typem so it doesn't require including netinet/in.h.

Bruce
Received on Wed May 19 2004 - 00:18:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:54 UTC