Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/netinet
On Fri, Dec 23, 2011 at 3:36 PM, Christos Zoulas
<christos%zoulas.com@localhost> wrote:
> On Dec 23, 3:10pm, chacon.james%gmail.com@localhost (James Chacon) wrote:
> -- Subject: Re: CVS commit: src/sys/netinet
>
> | Think we should go ahead and add the codes for 0,4 and 5?
>
> Well, are the ones for 1 and 3 correct? I have really no opinion on this.
> I would like to read up some more on the RFC and implementations first.
>
As far as I can tell, yes. I was looking at other implementations and
it appears the codes used universally are:
#define ICMP_PHOTURIS_UNKNOWN_INDEX 0 /* unknown sec index */
#define ICMP_PHOTURIS_AUTH_FAILED 1 /* auth failed */
#define ICMP_PHOTURIS_DECOMPRESS_FAILED 2 /* decompress failed */
#define ICMP_PHOTURIS_DECRYPT_FAILED 3 /* decrypt failed */
#define ICMP_PHOTURIS_NEED_AUTHN 4 /* no authentication */
#define ICMP_PHOTURIS_NEED_AUTHZ 5 /* no authorization */
(That comes from libdnet icmp.h)
James
Home |
Main Index |
Thread Index |
Old Index