Home
last modified time | relevance | path

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

/linux/net/sctp/
H A Doutput.c234 pkt->size += SCTP_PAD4(ntohs(pad->chunk_hdr->length)); in sctp_packet_bundle_pad()
331 __u16 chunk_len = SCTP_PAD4(ntohs(chunk->chunk_hdr->length)); in __sctp_packet_append_chunk()
461 int padded = SCTP_PAD4(chunk->skb->len); in sctp_packet_pack()
492 padding = SCTP_PAD4(chunk->skb->len) - chunk->skb->len; in sctp_packet_pack()
510 pkt_size -= SCTP_PAD4(chunk->skb->len); in sctp_packet_pack()
830 maxsize -= SCTP_PAD4(packet->auth->skb->len); in sctp_packet_will_fit()
H A Dinqueue.c208 chunk->chunk_end = ((__u8 *)ch) + SCTP_PAD4(ntohs(ch->length)); in sctp_inq_pop()
H A Dinput.c697 ch_end = offset + SCTP_PAD4(ntohs(ch->length)); in sctp_rcv_ootb()
1248 ch_end = ((__u8 *)ch) + SCTP_PAD4(ntohs(ch->length)); in __sctp_rcv_walk_lookup()
1319 if (SCTP_PAD4(ntohs(ch->length)) > skb->len) in __sctp_rcv_lookup_harder()
H A Dulpevent.c387 elen = SCTP_PAD4(ntohs(ch->length)) - sizeof(*ch); in sctp_ulpevent_make_remote_error()
725 padding = SCTP_PAD4(datalen) - datalen; in sctp_ulpevent_make_rcvmsg()
H A Dsm_statefuns.c3719 ch_end = ((__u8 *)ch) + SCTP_PAD4(ntohs(ch->length)); in sctp_sf_ootb()
4563 SCTP_PAD4(ntohs(hdr->length)), in sctp_sf_unk_chunk()
4581 SCTP_PAD4(ntohs(hdr->length)), in sctp_sf_unk_chunk()
/linux/net/netfilter/
H A Dxt_sctp.c71 offset += SCTP_PAD4(ntohs(sch->length)); in match_packet()
H A Dnft_exthdr.c401 offset += SCTP_PAD4(ntohs(sch->length)); in nft_exthdr_sctp_eval()
/linux/include/net/sctp/
H A Dsctp.h432 pos.v += SCTP_PAD4(ntohs(pos.p->length)))
444 err = (struct sctp_errhdr *)((void *)err + SCTP_PAD4(ntohs(err->length))))
/linux/include/linux/
H A Dsctp.h822 #define SCTP_PAD4(s) (((s)+3)&~3) macro