Searched refs:hc_ptr (Results 1 – 5 of 5) sorted by relevance
/linux/net/6lowpan/ |
A D | nhc_udp.c | 116 static int udp_compress(struct sk_buff *skb, u8 **hc_ptr) in udp_compress() argument 128 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress() 132 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress() 138 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress() 143 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress() 149 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress() 152 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress() 154 lowpan_push_hc_data(hc_ptr, &uh->dest, sizeof(uh->dest)); in udp_compress() 159 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress() 163 lowpan_push_hc_data(hc_ptr, &uh->dest, sizeof(uh->dest)); in udp_compress() [all …]
|
A D | iphc.c | 973 *hc_ptr - 2, 2); in lowpan_compress_addr_64() 980 *hc_ptr - 8, 8); in lowpan_compress_addr_64() 1057 lowpan_push_hc_data(hc_ptr, tf, 3); in lowpan_iphc_tf_compress() 1077 lowpan_push_hc_data(hc_ptr, tf, 4); in lowpan_iphc_tf_compress() 1095 lowpan_push_hc_data(hc_ptr, data, 6); in lowpan_iphc_mcast_ctx_addr_compress() 1134 u8 iphc0, iphc1, *hc_ptr, cid = 0; in lowpan_header_compress() local 1144 hc_ptr = head + 2; in lowpan_header_compress() 1201 lowpan_push_hc_data(&hc_ptr, &hdr->nexthdr, in lowpan_header_compress() 1249 lowpan_push_hc_data(&hc_ptr, in lowpan_header_compress() 1286 lowpan_push_hc_data(&hc_ptr, in lowpan_header_compress() [all …]
|
A D | nhc.h | 78 int (*compress)(struct sk_buff *skb, u8 **hc_ptr); 99 const struct ipv6hdr *hdr, u8 **hc_ptr); 110 u8 **hc_ptr);
|
A D | nhc.c | 93 const struct ipv6hdr *hdr, u8 **hc_ptr) in lowpan_nhc_check_compression() argument 110 u8 **hc_ptr) in lowpan_nhc_do_compression() argument 139 ret = nhc->compress(skb, hc_ptr); in lowpan_nhc_do_compression()
|
/linux/include/net/ |
A D | 6lowpan.h | 278 static inline void lowpan_push_hc_data(u8 **hc_ptr, const void *data, in lowpan_push_hc_data() argument 281 memcpy(*hc_ptr, data, len); in lowpan_push_hc_data() 282 *hc_ptr += len; in lowpan_push_hc_data()
|
Completed in 7 milliseconds