Home
last modified time | relevance | path

Searched refs:WORD_ROUND (Results 1 – 9 of 9) sorted by relevance

/linux-4.1.27/net/sctp/
Dchunk.c211 max_data -= WORD_ROUND(sizeof(sctp_auth_chunk_t) + in sctp_datamsg_from_user()
232 max_data -= WORD_ROUND(sizeof(sctp_sack_chunk_t)); in sctp_datamsg_from_user()
Dsm_make_chunk.c259 chunksize += WORD_ROUND(SCTP_SAT_LEN(num_types)); in sctp_make_init()
289 chunksize += WORD_ROUND(ntohs(auth_hmacs->length)); in sctp_make_init()
296 chunksize += WORD_ROUND(ntohs(auth_chunks->length)); in sctp_make_init()
306 chunksize += WORD_ROUND(sizeof(sctp_supported_ext_param_t) + in sctp_make_init()
449 chunksize += WORD_ROUND(ntohs(auth_hmacs->length)); in sctp_make_init_ack()
455 chunksize += WORD_ROUND(ntohs(auth_chunks->length)); in sctp_make_init_ack()
464 chunksize += WORD_ROUND(sizeof(sctp_supported_ext_param_t) + in sctp_make_init_ack()
1372 skb = alloc_skb(WORD_ROUND(sizeof(sctp_chunkhdr_t) + paylen), in _sctp_make_chunk()
1463 int padlen = WORD_ROUND(chunklen) - chunklen; in sctp_addto_chunk()
1880 len = WORD_ROUND(sizeof(report)); in sctp_process_missing_param()
[all …]
Dinqueue.c169 chunk->chunk_end = ((__u8 *)ch) + WORD_ROUND(ntohs(ch->length)); in sctp_inq_pop()
Dinput.c673 ch_end = ((__u8 *)ch) + WORD_ROUND(ntohs(ch->length)); in sctp_rcv_ootb()
1051 ch_end = ((__u8 *)ch) + WORD_ROUND(ntohs(ch->length)); in __sctp_rcv_walk_lookup()
1112 if (WORD_ROUND(ntohs(ch->length)) > skb->len) in __sctp_rcv_lookup_harder()
Doutput.c274 __u16 chunk_len = WORD_ROUND(ntohs(chunk->chunk_hdr->length)); in __sctp_packet_append_chunk()
484 padding = WORD_ROUND(chunk->skb->len) - chunk->skb->len; in sctp_packet_transmit()
Dulpevent.c383 elen = WORD_ROUND(ntohs(ch->length)) - sizeof(sctp_errhdr_t); in sctp_ulpevent_make_remote_error()
688 padding = WORD_ROUND(len) - len; in sctp_ulpevent_make_rcvmsg()
Dsm_statefuns.c3461 ch_end = ((__u8 *)ch) + WORD_ROUND(ntohs(ch->length)); in sctp_sf_ootb()
4192 WORD_ROUND(ntohs(hdr->length)), in sctp_sf_unk_chunk()
4210 WORD_ROUND(ntohs(hdr->length)), in sctp_sf_unk_chunk()
/linux-4.1.27/include/net/sctp/
Dsctp.h449 pos.v += WORD_ROUND(ntohs(pos.p->length)))
459 err = (sctp_errhdr_t *)((void *)err + WORD_ROUND(ntohs(err->length))))
470 #define WORD_ROUND(s) (((s)+3)&~3) macro
/linux-4.1.27/net/netfilter/
Dxt_sctp.c71 offset += WORD_ROUND(ntohs(sch->length)); in match_packet()