27.03.2014 Views

Moby Dick Consolidated System Integration Plan

Moby Dick Consolidated System Integration Plan

Moby Dick Consolidated System Integration Plan

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

D0103v1.doc Version 1 6.7.2003<br />

{ MN-User-Name};<br />

{ Session-Id};<br />

{ ATT-MN-3DES-KEY};<br />

{ ATT-MN-SPI};<br />

Source Dest Primitive Parameters<br />

Fast-HO<br />

(oAR)<br />

AAAatt<br />

(oAR)<br />

StartCtxTransfer<br />

MesgType<br />

MesgLen<br />

AAAatt<br />

(oAR)<br />

Fast-HO<br />

(oAR)<br />

SendCtxToFHO<br />

MesgType<br />

MesgLen<br />

Context (i.e., stream of bytes)<br />

Fast-HO<br />

(nAR)<br />

AAAatt<br />

(nAR)<br />

SendCtxToATT<br />

MesgType<br />

MesgLen<br />

Context (i.e., stream of bytes)<br />

Table 15: Interface Contents<br />

4.2.3.9 Interface between AAAC Client and Integrated Logger<br />

The interface provided by the Integrated Logger is simple and consists of 5 functions and a structure.<br />

The functions are:<br />

• void createAAACClientLogger(char *loggerName);<br />

Call this function once at the initialization of the AAAC Client. The parameter loggerName contains<br />

the identity of the logger. If this parameter is NULL, then the concatenated hostname and<br />

“:aaacclient” will be used as the LoggerID by the Integrated Logger.<br />

• int logReg(usrRegLogStruct *usrRegLog); // return 0 if successful<br />

Call this function for each registration request and regis tration response. The function returns 0 if no<br />

error occurs, otherwise it returns a negative number (Logger not initialized (-1), Parameter is NULL<br />

(-2), Error while logging (-3)).<br />

• void destroyAAACClientLogger();<br />

Call this function at the end of execution of the AAAC Client.<br />

• void logger_add_map(char *nai, struct in6_addr *in6_CoA);<br />

Call this function if a user is registered to this AAAC Client either by an initial registration or a<br />

“joining” handover.<br />

• void logger_remove_map(struct in6_addr *in6_CoA);<br />

Call this function if a user is deregistered to this AAAC Client either due to session timeout or<br />

“leaving” handover.<br />

The structure is the usrRegLogStruct structure defined as:<br />

typedef struct _usrRegLogStruct {<br />

unsigned char eventId;<br />

char NAI[256];<br />

int NAILen;<br />

char CoA[48];<br />

int CoALen;<br />

unsigned int resultCode;<br />

} usrRegLogStruct;<br />

It is used in the logReg() function.<br />

D0103v1.doc 72 / 168

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!