OpenSS7 SS7 for the Common Man |
© Copyright 1997-2004,OpenSS7 Corporation, All Rights Reserved. |
||||||||||||||||||||||||||
Home | Overview | Status | News | Documentation | Resources | About | |||||||||||||||||||||
File /code/strss7/drivers/sctp/sctp_cookie.h#ifndef __SCTP_COOKIE_H__ #define __SCTP_COOKIE_H__ #ident "@(#) $RCSfile: sctp_cookie.h,v $ $Name: $($Revision: 0.8.2.1 $) $Date: 2003/02/23 09:32:24 $" #define HMAC_SIZE (160/8) #define raw_cookie_size(__ck) \ ( sizeof(struct sctp_cookie) \ + ((__ck)->opt_len) \ + ((__ck)->danum * sizeof(uint32_t)) \ + ((__ck)->sanum * sizeof(uint32_t)) ) extern void sctp_sign_cookie(sctp_t * sp, struct sctp_cookie *ck); extern int sctp_verify_cookie(sctp_t * sp, struct sctp_cookie *ck); #endif /* __SCTP_COOKIE_H__ */
|
|||||||||||||||||||||||||||
OpenSS7 SS7 for the Common Man |
Home | Overview | Status | News | Documentation | Resources | About | ||||||||||||||||||||
© Copyright 1997-2004,OpenSS7 Corporation, All Rights Reserved. |