Lines Matching refs:tmp
44 u8 tmp = 0, val = 0; in udp_uncompress() local
49 fail = lowpan_fetch_skb(skb, &tmp, sizeof(tmp)); in udp_uncompress()
52 switch (tmp & LOWPAN_NHC_UDP_CS_P_11) { in udp_uncompress()
80 if (tmp & LOWPAN_NHC_UDP_CS_C) { in udp_uncompress()
124 u8 tmp; in udp_compress() local
132 tmp = LOWPAN_NHC_UDP_CS_P_11; in udp_compress()
133 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress()
135 tmp = ntohs(uh->dest) - LOWPAN_NHC_UDP_4BIT_PORT + in udp_compress()
137 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress()
142 tmp = LOWPAN_NHC_UDP_CS_P_01; in udp_compress()
143 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress()
147 tmp = ntohs(uh->dest) - LOWPAN_NHC_UDP_8BIT_PORT; in udp_compress()
148 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress()
153 tmp = LOWPAN_NHC_UDP_CS_P_10; in udp_compress()
154 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress()
156 tmp = ntohs(uh->source) - LOWPAN_NHC_UDP_8BIT_PORT; in udp_compress()
157 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress()
163 tmp = LOWPAN_NHC_UDP_CS_P_00; in udp_compress()
164 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress()