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()1237 __u8 *ch_end; in __sctp_rcv_walk_lookup() local1248 ch_end = ((__u8 *)ch) + SCTP_PAD4(ntohs(ch->length)); in __sctp_rcv_walk_lookup()1249 if (ch_end > skb_tail_pointer(skb)) in __sctp_rcv_walk_lookup()1283 ch = (struct sctp_chunkhdr *)ch_end; in __sctp_rcv_walk_lookup()1285 } while (ch_end + sizeof(*ch) < skb_tail_pointer(skb)); in __sctp_rcv_walk_lookup()
3702 __u8 *ch_end; in sctp_sf_ootb() local3717 ch_end = ((__u8 *)ch) + SCTP_PAD4(ntohs(ch->length)); in sctp_sf_ootb()3718 if (ch_end > skb_tail_pointer(skb)) in sctp_sf_ootb()3753 ch = (struct sctp_chunkhdr *)ch_end; in sctp_sf_ootb()3754 } while (ch_end + sizeof(*ch) < skb_tail_pointer(skb)); in sctp_sf_ootb()