Home
last modified time | relevance | path

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

/net/sctp/
Dinput.c671 int ch_end, offset = 0; in sctp_rcv_ootb() local
685 ch_end = offset + SCTP_PAD4(ntohs(ch->length)); in sctp_rcv_ootb()
686 if (ch_end > skb->len) in sctp_rcv_ootb()
711 offset = ch_end; in sctp_rcv_ootb()
712 } while (ch_end < skb->len); in sctp_rcv_ootb()
1208 __u8 *ch_end; in __sctp_rcv_walk_lookup() local
1219 ch_end = ((__u8 *)ch) + SCTP_PAD4(ntohs(ch->length)); in __sctp_rcv_walk_lookup()
1220 if (ch_end > skb_tail_pointer(skb)) in __sctp_rcv_walk_lookup()
1253 ch = (struct sctp_chunkhdr *)ch_end; in __sctp_rcv_walk_lookup()
1255 } while (ch_end + sizeof(*ch) < skb_tail_pointer(skb)); in __sctp_rcv_walk_lookup()
Dsm_statefuns.c3588 __u8 *ch_end; in sctp_sf_ootb() local
3603 ch_end = ((__u8 *)ch) + SCTP_PAD4(ntohs(ch->length)); in sctp_sf_ootb()
3604 if (ch_end > skb_tail_pointer(skb)) in sctp_sf_ootb()
3639 ch = (struct sctp_chunkhdr *)ch_end; in sctp_sf_ootb()
3640 } while (ch_end < skb_tail_pointer(skb)); in sctp_sf_ootb()