Navigation


Changeset 1102:1d7b3ebda27f in freeDiameter for libfdcore/fdcore-internal.h


Ignore:
Timestamp:
May 9, 2013, 5:40:02 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Children:
1103:d8591b1c56cd, 1105:6b4a417d2845
Phase:
public
Message:

Implemented the calls to HOOK_DATA_RECEIVED hook

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/fdcore-internal.h

    r1098 r1102  
    219219        FDEVP_TERMINATE = 1500
    220220       
    221         /* A connection object has received a message. (data contains the buffer + struct timespec piggytailed -- unaligned) */
     221        /* A connection object has received a message. (data contains the buffer + padding + struct fd_msg_pmdl) */
    222222        ,FDEVP_CNX_MSG_RECV
    223223                         
     
    271271        int               validate;     /* The peer is new, it must be validated (by an extension) or error CEA to be sent */
    272272};
    273 
    274273
    275274/* Functions */
     
    367366void   fd_hook_associate(struct msg * msg, struct fd_msg_pmdl * pmdl);
    368367int    fd_hooks_init(void);
     368size_t fd_msg_pmdl_sizewithoverhead(size_t datalen);
     369struct fd_msg_pmdl * fd_msg_pmdl_get_inbuf(uint8_t * buf, size_t datalen);
     370
    369371#endif /* _FDCORE_INTERNAL_H */
Note: See TracChangeset for help on using the changeset viewer.