diff options
author | ume <ume@FreeBSD.org> | 2003-10-12 11:08:18 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-10-12 11:08:18 +0000 |
commit | a6ff42e2be4799689a4518eba69934a0e3dad141 (patch) | |
tree | 2b2db04852b1bef879100ffb5f889590eb278516 /sys/netinet6/ah6.h | |
parent | 261a4381e898fcaa9855696ab85023cc1ff2de10 (diff) | |
download | FreeBSD-src-a6ff42e2be4799689a4518eba69934a0e3dad141.zip FreeBSD-src-a6ff42e2be4799689a4518eba69934a0e3dad141.tar.gz |
- correct signedness mixups.
- avoid assuming result buffer size
Obtained from: KAME
Diffstat (limited to 'sys/netinet6/ah6.h')
-rw-r--r-- | sys/netinet6/ah6.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/ah6.h b/sys/netinet6/ah6.h index ead07bf..c8e64a5 100644 --- a/sys/netinet6/ah6.h +++ b/sys/netinet6/ah6.h @@ -43,7 +43,7 @@ struct secasvar; extern int ah6_input __P((struct mbuf **, int *, int)); extern int ah6_output __P((struct mbuf *, u_char *, struct mbuf *, struct ipsecrequest *)); -extern int ah6_calccksum __P((struct mbuf *, caddr_t, size_t, +extern int ah6_calccksum __P((struct mbuf *, u_int8_t *, size_t, const struct ah_algorithm *, struct secasvar *)); extern void ah6_ctlinput __P((int, struct sockaddr *, void *)); |