Lines Matching refs:ptr
138 __le16 *ptr = (__le16 *)skb->data; in dn_process_ack() local
145 if ((ack = le16_to_cpu(*ptr)) & 0x8000) { in dn_process_ack()
147 ptr++; in dn_process_ack()
159 if ((ack = le16_to_cpu(*ptr)) & 0x8000) { in dn_process_ack()
184 unsigned char *ptr = *pptr; in dn_check_idf() local
185 unsigned char flen = *ptr++; in dn_check_idf()
194 *pptr = ptr + flen; in dn_check_idf()
234 unsigned char *ptr; in dn_find_listener() local
257 ptr = skb->data; in dn_find_listener()
262 dstlen = dn_username2sockaddr(ptr, len, &dstaddr, &type); in dn_find_listener()
272 ptr += dstlen; in dn_find_listener()
277 srclen = dn_username2sockaddr(ptr, len, &srcaddr, &type); in dn_find_listener()
283 ptr += srclen; in dn_find_listener()
288 menuver = *ptr; in dn_find_listener()
289 ptr++; in dn_find_listener()
304 if (dn_check_idf(&ptr, &len, 39, 1)) in dn_find_listener()
306 if (dn_check_idf(&ptr, &len, 39, 1)) in dn_find_listener()
308 if (dn_check_idf(&ptr, &len, 39, (menuver & DN_MENUVER_USR) ? 1 : 0)) in dn_find_listener()
317 if (dn_check_idf(&ptr, &len, 16, 0)) in dn_find_listener()
348 unsigned char *ptr; in dn_nsp_conn_conf() local
353 ptr = skb->data; in dn_nsp_conn_conf()
354 cb->services = *ptr++; in dn_nsp_conn_conf()
355 cb->info = *ptr++; in dn_nsp_conn_conf()
356 cb->segsize = le16_to_cpu(*(__le16 *)ptr); in dn_nsp_conn_conf()
518 char *ptr = skb->data; in dn_nsp_linkservice() local
524 segnum = le16_to_cpu(*(__le16 *)ptr); in dn_nsp_linkservice()
525 ptr += 2; in dn_nsp_linkservice()
526 lsflags = *(unsigned char *)ptr++; in dn_nsp_linkservice()
527 fcval = *ptr; in dn_nsp_linkservice()
722 unsigned char *ptr = (unsigned char *)skb->data; in dn_nsp_rx_packet() local
729 cb->nsp_flags = *ptr++; in dn_nsp_rx_packet()
761 cb->dst_port = *(__le16 *)ptr; in dn_nsp_rx_packet()
763 ptr += 2; in dn_nsp_rx_packet()
769 cb->src_port = *(__le16 *)ptr; in dn_nsp_rx_packet()
770 ptr += 2; in dn_nsp_rx_packet()