Lines Matching refs:frag
342 struct net_buf *frag; in send_data() local
351 frag = pkt->frags; in send_data()
354 sock->socket_id, net_buf_frags_len(frag)); in send_data()
358 while (frag) { in send_data()
360 frag->data, frag->len); in send_data()
361 frag = frag->frags; in send_data()
398 static uint16_t net_buf_findcrlf(struct net_buf *buf, struct net_buf **frag, in net_buf_findcrlf() argument
416 *frag = buf; in net_buf_findcrlf()
560 struct net_buf *frag = NULL; in on_cmd_atcmdecho_nosock_imei() local
578 frag = NULL; in on_cmd_atcmdecho_nosock_imei()
579 len = net_buf_findcrlf(*buf, &frag, &offset); in on_cmd_atcmdecho_nosock_imei()
580 if (!frag) { in on_cmd_atcmdecho_nosock_imei()
991 struct net_buf *frag = buf; in net_buf_ncmp() local
994 while ((n > 0) && (*(frag->data + offset) == *s2) && (*s2 != '\0')) { in net_buf_ncmp()
995 if (offset == frag->len) { in net_buf_ncmp()
996 if (!frag->frags) { in net_buf_ncmp()
999 frag = frag->frags; in net_buf_ncmp()
1009 return (n == 0) ? 0 : (*(frag->data + offset) - *s2); in net_buf_ncmp()
1067 struct net_buf *frag = NULL; in wncm14a2a_rx() local
1121 frag = NULL; in wncm14a2a_rx()
1122 len = net_buf_findcrlf(rx_buf, &frag, &offset); in wncm14a2a_rx()
1123 if (!frag) { in wncm14a2a_rx()
1141 frag = NULL; in wncm14a2a_rx()
1143 &frag, &offset); in wncm14a2a_rx()
1144 if (!frag) { in wncm14a2a_rx()
1153 frag = NULL; in wncm14a2a_rx()
1169 &frag, &offset); in wncm14a2a_rx()
1174 if (frag && rx_buf) { in wncm14a2a_rx()
1176 while (frag && rx_buf != frag) { in wncm14a2a_rx()