Searched refs:hc_ptr (Results 1 – 4 of 4) sorted by relevance
/net/6lowpan/ |
D | nhc_udp.c | 121 static int udp_compress(struct sk_buff *skb, u8 **hc_ptr) in udp_compress() argument 133 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() 143 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress() 145 lowpan_push_hc_data(hc_ptr, &uh->source, sizeof(uh->source)); in udp_compress() 148 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress() 154 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress() 157 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress() 159 lowpan_push_hc_data(hc_ptr, &uh->dest, sizeof(uh->dest)); in udp_compress() 164 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress() [all …]
|
D | iphc.c | 805 static u8 lowpan_compress_ctx_addr(u8 **hc_ptr, const struct net_device *dev, in lowpan_compress_ctx_addr() argument 843 lowpan_push_hc_data(hc_ptr, &ipaddr->s6_addr[14], 2); in lowpan_compress_ctx_addr() 854 lowpan_push_hc_data(hc_ptr, &ipaddr->s6_addr[8], 8); in lowpan_compress_ctx_addr() 909 static u8 lowpan_compress_addr_64(u8 **hc_ptr, const struct net_device *dev, in lowpan_compress_addr_64() argument 934 lowpan_push_hc_data(hc_ptr, &ipaddr->s6_addr16[7], 2); in lowpan_compress_addr_64() 937 *hc_ptr - 2, 2); in lowpan_compress_addr_64() 942 lowpan_push_hc_data(hc_ptr, &ipaddr->s6_addr16[4], 8); in lowpan_compress_addr_64() 944 *hc_ptr - 8, 8); in lowpan_compress_addr_64() 981 static u8 lowpan_iphc_tf_compress(u8 **hc_ptr, const struct ipv6hdr *hdr) in lowpan_iphc_tf_compress() argument 1001 lowpan_push_hc_data(hc_ptr, &tc, sizeof(tc)); in lowpan_iphc_tf_compress() [all …]
|
D | nhc.h | 77 int (*compress)(struct sk_buff *skb, u8 **hc_ptr); 98 const struct ipv6hdr *hdr, u8 **hc_ptr); 109 u8 **hc_ptr);
|
D | nhc.c | 98 const struct ipv6hdr *hdr, u8 **hc_ptr) in lowpan_nhc_check_compression() argument 115 u8 **hc_ptr) in lowpan_nhc_do_compression() argument 144 ret = nhc->compress(skb, hc_ptr); in lowpan_nhc_do_compression()
|