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()1082 if ((extra = seglen & (SCTP_ALIGN - 1)) != 0) in sctp_output()1083 extra = SCTP_ALIGN - extra; in sctp_output()1232 if ((extra = chunklen & (SCTP_ALIGN - 1)) != 0) in sctp_output()1233 extra = SCTP_ALIGN - extra; in sctp_output()1861 if ((extra = seglen & (SCTP_ALIGN - 1)) != 0) in sctp_rexmit()[all …]
215 fp->sf_pmss = (pmtu - hdrlen) & ~(SCTP_ALIGN - 1); in sctp_get_dest()1147 if ((pad = len % SCTP_ALIGN) != 0) { in sctp_add_unrec_parm()1148 pad = SCTP_ALIGN - pad; in sctp_add_unrec_parm()1201 if ((pad = len & (SCTP_ALIGN - 1)) != 0) { in sctp_next_parm()1202 pad = SCTP_ALIGN - pad; in sctp_next_parm()1791 ~(SCTP_ALIGN - 1); in sctp_init_faddr()1797 ~(SCTP_ALIGN - 1); in sctp_init_faddr()
478 if ((pad = len % SCTP_ALIGN) != 0) { in sctp_make_err()479 pad = SCTP_ALIGN - pad; in sctp_make_err()
596 if ((pad = ipsctplen % SCTP_ALIGN) != 0) { in sctp_send_initack()597 pad = SCTP_ALIGN - pad; in sctp_send_initack()965 if ((pad = ceclen & (SCTP_ALIGN - 1)) != 0) in sctp_send_cookie_echo()966 pad = SCTP_ALIGN - pad; in sctp_send_cookie_echo()
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()
302 if ((pad = ch_len & (SCTP_ALIGN - 1)) != 0) { in sctp_next_chunk()303 pad = SCTP_ALIGN - pad; in sctp_next_chunk()
570 if ((pad = (uintptr_t)hdr % SCTP_ALIGN) != 0) { in interpret_params()571 pad = SCTP_ALIGN - pad; in interpret_params()979 if ((pad = (uintptr_t)cp % SCTP_ALIGN) != 0) { in interpret_chunks()980 pad = SCTP_ALIGN - pad; in interpret_chunks()1080 if (!IS_P2ALIGNED(sctp, SCTP_ALIGN)) { in interpret_sctp()
577 #define SCTP_ALIGN 4 macro