Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/6lowpan/
Dnhc_udp.c116 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()
140 lowpan_push_hc_data(hc_ptr, &uh->source, sizeof(uh->source)); 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()
[all …]
Diphc.c846 static u8 lowpan_compress_ctx_addr(u8 **hc_ptr, const struct net_device *dev, in lowpan_compress_ctx_addr() argument
878 lowpan_push_hc_data(hc_ptr, &ipaddr->s6_addr[14], 2); in lowpan_compress_ctx_addr()
889 lowpan_push_hc_data(hc_ptr, &ipaddr->s6_addr[8], 8); in lowpan_compress_ctx_addr()
944 static u8 lowpan_compress_addr_64(u8 **hc_ptr, const struct net_device *dev, in lowpan_compress_addr_64() argument
970 lowpan_push_hc_data(hc_ptr, &ipaddr->s6_addr16[7], 2); in lowpan_compress_addr_64()
973 *hc_ptr - 2, 2); in lowpan_compress_addr_64()
978 lowpan_push_hc_data(hc_ptr, &ipaddr->s6_addr16[4], 8); in lowpan_compress_addr_64()
980 *hc_ptr - 8, 8); in lowpan_compress_addr_64()
1017 static u8 lowpan_iphc_tf_compress(u8 **hc_ptr, const struct ipv6hdr *hdr) in lowpan_iphc_tf_compress() argument
1037 lowpan_push_hc_data(hc_ptr, &tc, sizeof(tc)); in lowpan_iphc_tf_compress()
[all …]
Dnhc.h78 int (*compress)(struct sk_buff *skb, u8 **hc_ptr);
99 const struct ipv6hdr *hdr, u8 **hc_ptr);
110 u8 **hc_ptr);
Dnhc.c93 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()
/kernel/linux/linux-5.10/include/net/
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()