Lines Matching refs:source
27 /* source 16bit inline, dest = 0xF0 + 8 bit inline */
29 /* source = 0xF0 + 8bit inline, dest = 16 bit inline */
31 /* source & dest = 0xF0B + 4bit inline */
48 fail |= lowpan_fetch_skb(skb, &uh.source, sizeof(uh.source));
52 fail |= lowpan_fetch_skb(skb, &uh.source, sizeof(uh.source));
58 uh.source = htons(val + LOWPAN_NHC_UDP_8BIT_PORT);
63 uh.source = htons(LOWPAN_NHC_UDP_4BIT_PORT + (val >> 4));
71 ntohs(uh.source), ntohs(uh.dest));
120 if (((ntohs(uh->source) & LOWPAN_NHC_UDP_4BIT_MASK) ==
128 /* source and destination port */
130 ((ntohs(uh->source) - LOWPAN_NHC_UDP_4BIT_PORT) << 4);
138 /* source port */
139 lowpan_push_hc_data(hc_ptr, &uh->source, sizeof(uh->source));
143 } else if ((ntohs(uh->source) & LOWPAN_NHC_UDP_8BIT_MASK) ==
145 pr_debug("UDP header: remove 8 bits of source\n");
149 /* source port */
150 tmp = ntohs(uh->source) - LOWPAN_NHC_UDP_8BIT_PORT;
159 /* source port */
160 lowpan_push_hc_data(hc_ptr, &uh->source, sizeof(uh->source));