On Dec 23, 4:03pm, chacon.ja...@gmail.com (James Chacon) wrote: -- Subject: Re: CVS commit: src/sys/netinet
| On Fri, Dec 23, 2011 at 3:36 PM, Christos Zoulas <chris...@zoulas.com> wrot= | e: | > On Dec 23, =A03:10pm, chacon.ja...@gmail.com (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 */ Go for it then! Thanks for looking into it. christos