Home
last modified time | relevance | path

Searched refs:SCTP_ALIGN (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_output.c450 ((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 …]
H A Dsctp_common.c215 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()
H A Dsctp_cookie.c596 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()
H A Dsctp_error.c478 if ((pad = len % SCTP_ALIGN) != 0) { in sctp_make_err()
479 pad = SCTP_ALIGN - pad; in sctp_make_err()
H A Dsctp.c815 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()
H A Dsctp_input.c303 if ((pad = ch_len & (SCTP_ALIGN - 1)) != 0) { in sctp_next_chunk()
304 pad = SCTP_ALIGN - pad; in sctp_next_chunk()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_sctp.c568 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()
/illumos-gate/usr/src/uts/common/netinet/
H A Dsctp.h577 #define SCTP_ALIGN 4 macro