Home
last modified time | relevance | path

Searched refs:hc_ptr (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/net/6lowpan/
H A Dnhc_udp.c115 static int udp_compress(struct sk_buff *skb, u8 **hc_ptr) in udp_compress() argument
127 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress()
131 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress()
137 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress()
142 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress()
148 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress()
151 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress()
153 lowpan_push_hc_data(hc_ptr, &uh->dest, sizeof(uh->dest)); in udp_compress()
158 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress()
162 lowpan_push_hc_data(hc_ptr, &uh->dest, sizeof(uh->dest)); in udp_compress()
[all …]
H A Diphc.c973 *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 …]
H A Dnhc.h68 int (*compress)(struct sk_buff *skb, u8 **hc_ptr);
89 const struct ipv6hdr *hdr, u8 **hc_ptr);
100 u8 **hc_ptr);
H A Dnhc.c42 const struct ipv6hdr *hdr, u8 **hc_ptr) in lowpan_nhc_check_compression() argument
59 u8 **hc_ptr) in lowpan_nhc_do_compression() argument
88 ret = nhc->compress(skb, hc_ptr); in lowpan_nhc_do_compression()
/openbmc/linux/include/net/
H A D6lowpan.h278 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()