Lines Matching refs:tmp
39 u8 tmp = 0, val = 0; in udp_uncompress() local
44 fail = lowpan_fetch_skb(skb, &tmp, sizeof(tmp)); in udp_uncompress()
47 switch (tmp & LOWPAN_NHC_UDP_CS_P_11) { in udp_uncompress()
75 if (tmp & LOWPAN_NHC_UDP_CS_C) { in udp_uncompress()
119 u8 tmp; in udp_compress() local
127 tmp = LOWPAN_NHC_UDP_CS_P_11; in udp_compress()
128 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress()
130 tmp = ntohs(uh->dest) - LOWPAN_NHC_UDP_4BIT_PORT + in udp_compress()
132 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress()
137 tmp = LOWPAN_NHC_UDP_CS_P_01; in udp_compress()
138 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress()
142 tmp = ntohs(uh->dest) - LOWPAN_NHC_UDP_8BIT_PORT; in udp_compress()
143 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress()
148 tmp = LOWPAN_NHC_UDP_CS_P_10; in udp_compress()
149 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress()
151 tmp = ntohs(uh->source) - LOWPAN_NHC_UDP_8BIT_PORT; in udp_compress()
152 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress()
158 tmp = LOWPAN_NHC_UDP_CS_P_00; in udp_compress()
159 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress()