Skip to content
Snippets Groups Projects
structs.h 64.1 KiB
Newer Older
  • Learn to ignore specific revisions
  • Linus Torvalds's avatar
    Linus Torvalds committed
    void sctp_assoc_set_primary(struct sctp_association *,
    			    struct sctp_transport *);
    
    void sctp_assoc_del_nonprimary_peers(struct sctp_association *,
    				    struct sctp_transport *);
    
    int sctp_assoc_set_bind_addr_from_ep(struct sctp_association *,
    
    Linus Torvalds's avatar
    Linus Torvalds committed
    int sctp_assoc_set_bind_addr_from_cookie(struct sctp_association *,
    
    					 struct sctp_cookie*,
    
    					 gfp_t gfp);
    
    int sctp_assoc_set_id(struct sctp_association *, gfp_t);
    
    void sctp_assoc_clean_asconf_ack_cache(const struct sctp_association *asoc);
    struct sctp_chunk *sctp_assoc_lookup_asconf_ack(
    					const struct sctp_association *asoc,
    					__be32 serial);
    
    void sctp_asconf_queue_teardown(struct sctp_association *asoc);
    
    Linus Torvalds's avatar
    Linus Torvalds committed
    
    int sctp_cmp_addr_exact(const union sctp_addr *ss1,
    			const union sctp_addr *ss2);
    struct sctp_chunk *sctp_get_ecne_prepend(struct sctp_association *asoc);
    
    /* A convenience structure to parse out SCTP specific CMSGs. */
    typedef struct sctp_cmsgs {
    	struct sctp_initmsg *init;
    	struct sctp_sndrcvinfo *info;
    } sctp_cmsgs_t;
    
    /* Structure for tracking memory objects */
    typedef struct {
    	char *label;
    	atomic_t *counter;
    } sctp_dbg_objcnt_entry_t;
    
    #endif /* __sctp_structs_h__ */