Home
last modified time | relevance | path

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

/linux-6.1.9/net/6lowpan/
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()
139 lowpan_push_hc_data(hc_ptr, &uh->source, sizeof(uh->source)); 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()
[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.h68 int (*compress)(struct sk_buff *skb, u8 **hc_ptr);
89 const struct ipv6hdr *hdr, u8 **hc_ptr);
100 u8 **hc_ptr);
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()
/linux-6.1.9/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()