Searched refs:ch_end (Results 1 – 2 of 2) sorted by relevance
683 int ch_end, offset = 0; in sctp_rcv_ootb() local697 ch_end = offset + SCTP_PAD4(ntohs(ch->length)); in sctp_rcv_ootb()698 if (ch_end > skb->len) in sctp_rcv_ootb()723 offset = ch_end; in sctp_rcv_ootb()724 } while (ch_end < skb->len); in sctp_rcv_ootb()1234 __u8 *ch_end; in __sctp_rcv_walk_lookup() local1245 ch_end = ((__u8 *)ch) + SCTP_PAD4(ntohs(ch->length)); in __sctp_rcv_walk_lookup()1246 if (ch_end > skb_tail_pointer(skb)) in __sctp_rcv_walk_lookup()1280 ch = (struct sctp_chunkhdr *)ch_end; in __sctp_rcv_walk_lookup()1282 } while (ch_end + sizeof(*ch) < skb_tail_pointer(skb)); in __sctp_rcv_walk_lookup()
3691 __u8 *ch_end; in sctp_sf_ootb() local3706 ch_end = ((__u8 *)ch) + SCTP_PAD4(ntohs(ch->length)); in sctp_sf_ootb()3707 if (ch_end > skb_tail_pointer(skb)) in sctp_sf_ootb()3742 ch = (struct sctp_chunkhdr *)ch_end; in sctp_sf_ootb()3743 } while (ch_end < skb_tail_pointer(skb)); in sctp_sf_ootb()