| To: | Andi Kleen <ak@xxxxxx> |
|---|---|
| Subject: | Re: NLMSG_* macros (was: Re: ULOG comments) |
| From: | Jan Echternach <echter@xxxxxxxxxxxxxxxxxxxxxxxxx> |
| Date: | Wed, 16 Aug 2000 12:57:38 +0200 |
| Cc: | netfilter@xxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <20000816122650.48683@xxxxxxxxxxxx>; from ak@xxxxxx on Wed, Aug 16, 2000 at 12:26:50PM +0200 |
| Mail-followup-to: | Andi Kleen <ak@xxxxxx>, netfilter@xxxxxxxxx, netdev@xxxxxxxxxxx |
| References: | <20000811162634.A3814@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <Pine.LNX.4.10.10008120119370.13569-100000@xxxxxxxxxxxxxxxxxxxxxxxxxx> <20000815175225.B26543@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20000815181812.A5358@xxxxxxxxxxx> <20000815182512.D26543@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20000815224633.53823@xxxxxxxxxxxx> <20000816122231.A21914@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20000816122650.48683@xxxxxxxxxxxx> |
| Reply-to: | Jan Echternach <jan.echternach@xxxxxxxxxxxxxxxxxxxxxxxxx> |
| Sender: | owner-netdev@xxxxxxxxxxx |
On Wed, Aug 16, 2000 at 12:26:50PM +0200, Andi Kleen wrote: > nlmsghdr has other uses than just handling multipart messages. For > examples it gives you a sequence number so that you can try to detect > lost packets and a way to request acks. > netlink sockets require a nlmsghdr NETLINK_NFLOG packets originate in the kernel. Packet loss is signaled by ENOBUFS, and resending of packets is impossible unless the kernel is willing to eat huge amounts of memory before finally stopping all networking whenever an application decides to stop reading from the socket. > > Should NLMSG_* be used on the new NETLINK_NFLOG socket? > > Definitely. Ok, I'll use NLMSG_* for my iptables targets, because I'm out of arguments against it, even though I still don't see how any feature of nlmsghdr could be used by NETFILTER_NFLOG that isn't provided by a plain C structure in a simpler way. -- Jan |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: NLMSG_* macros (was: Re: ULOG comments), Andi Kleen |
|---|---|
| Next by Date: | protinfo.af_netlink->state, Jan Echternach |
| Previous by Thread: | Re: NLMSG_* macros (was: Re: ULOG comments), Andi Kleen |
| Next by Thread: | [PATCH] ipv6 sit.c smal bug fix in creating tunnel, Jorg de Jong |
| Indexes: | [Date] [Thread] [Top] [All Lists] |