Searched refs:SCTP_ALIGN (Results 1 – 8 of 8) sorted by relevance
450 ((intptr_t)chunk_head->b_rptr) & (SCTP_ALIGN - 1) || in sctp_chunkify()670 ASSERT(pad < SCTP_ALIGN); in sctp_get_padding()683 if ((fill = allocb(SCTP_ALIGN, BPRI_MED)) != NULL) { in sctp_get_padding()740 if ((extra = msglen & (SCTP_ALIGN - 1)) != 0) { in sctp_find_fast_rexmit_mblks()741 extra = SCTP_ALIGN - extra; in sctp_find_fast_rexmit_mblks()1084 if ((extra = seglen & (SCTP_ALIGN - 1)) != 0) in sctp_output()1085 extra = SCTP_ALIGN - extra; in sctp_output()1234 if ((extra = chunklen & (SCTP_ALIGN - 1)) != 0) in sctp_output()1235 extra = SCTP_ALIGN - extra; in sctp_output()1863 if ((extra = seglen & (SCTP_ALIGN - 1)) != 0) in sctp_rexmit()[all …]
215 fp->sf_pmss = (pmtu - hdrlen) & ~(SCTP_ALIGN - 1); in sctp_get_dest()1149 if ((pad = len % SCTP_ALIGN) != 0) { in sctp_add_unrec_parm()1150 pad = SCTP_ALIGN - pad; in sctp_add_unrec_parm()1203 if ((pad = len & (SCTP_ALIGN - 1)) != 0) { in sctp_next_parm()1204 pad = SCTP_ALIGN - pad; in sctp_next_parm()1793 ~(SCTP_ALIGN - 1); in sctp_init_faddr()1799 ~(SCTP_ALIGN - 1); in sctp_init_faddr()
596 if ((pad = ipsctplen % SCTP_ALIGN) != 0) { in sctp_send_initack()597 pad = SCTP_ALIGN - pad; in sctp_send_initack()967 if ((pad = ceclen & (SCTP_ALIGN - 1)) != 0) in sctp_send_cookie_echo()968 pad = SCTP_ALIGN - pad; in sctp_send_cookie_echo()
478 if ((pad = len % SCTP_ALIGN) != 0) { in sctp_make_err()479 pad = SCTP_ALIGN - pad; in sctp_make_err()
815 sctp->sctp_pad_mp = allocb_wait(SCTP_ALIGN, BPRI_MED, in sctp_init_values()818 sctp->sctp_pad_mp = allocb(SCTP_ALIGN, BPRI_MED); in sctp_init_values()822 bzero(sctp->sctp_pad_mp->b_rptr, SCTP_ALIGN); in sctp_init_values()1019 fp->sf_pmss = mss & ~(SCTP_ALIGN - 1); in sctp_update_pmtu()
303 if ((pad = ch_len & (SCTP_ALIGN - 1)) != 0) { in sctp_next_chunk()304 pad = SCTP_ALIGN - pad; in sctp_next_chunk()
568 if ((pad = (uintptr_t)hdr % SCTP_ALIGN) != 0) { in interpret_params()569 pad = SCTP_ALIGN - pad; in interpret_params()977 if ((pad = (uintptr_t)cp % SCTP_ALIGN) != 0) { in interpret_chunks()978 pad = SCTP_ALIGN - pad; in interpret_chunks()1078 if (!IS_P2ALIGNED(sctp, SCTP_ALIGN)) { in interpret_sctp()
577 #define SCTP_ALIGN 4 macro