Home
last modified time | relevance | path

Searched refs:ch_end (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/net/sctp/
H A Dinput.c683 int ch_end, offset = 0; in sctp_rcv_ootb() local
697 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() local
1245 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()
H A Dsm_statefuns.c3691 __u8 *ch_end; in sctp_sf_ootb() local
3706 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()