Searched refs:map_header (Results 1 – 3 of 3) sorted by relevance
59 struct rmnet_map_header *map_header = (void *)skb->data; in __rmnet_map_ingress_handler() local64 if (map_header->flags & MAP_CMD_FLAG) { in __rmnet_map_ingress_handler()72 mux_id = map_header->mux_id; in __rmnet_map_ingress_handler()73 pad = map_header->flags & MAP_PAD_LEN_MASK; in __rmnet_map_ingress_handler()74 len = ntohs(map_header->pkt_len) - pad; in __rmnet_map_ingress_handler()86 (map_header->flags & MAP_NEXT_HEADER_FLAG)) { in __rmnet_map_ingress_handler()89 skb_pull(skb, sizeof(*map_header)); in __rmnet_map_ingress_handler()93 skb_pull(skb, sizeof(*map_header)); in __rmnet_map_ingress_handler()138 struct rmnet_map_header *map_header; in rmnet_map_egress_handler() local160 map_header = rmnet_map_add_map_header(skb, additional_header_len, in rmnet_map_egress_handler()[all …]
15 struct rmnet_map_header *map_header = (void *)skb->data; in rmnet_map_do_flow_control() local21 mux_id = map_header->mux_id; in rmnet_map_do_flow_control()53 struct rmnet_map_header *map_header = (void *)skb->data; in rmnet_map_send_ack() local64 cmd = (struct rmnet_map_control_command *)(map_header + 1); in rmnet_map_send_ack()77 struct rmnet_map_header *map_header = (void *)skb->data; in rmnet_map_command() local83 cmd = (struct rmnet_map_control_command *)(map_header + 1); in rmnet_map_command()
300 struct rmnet_map_header *map_header; in rmnet_map_add_map_header() local304 map_header = (struct rmnet_map_header *) in rmnet_map_add_map_header()306 memset(map_header, 0, sizeof(struct rmnet_map_header)); in rmnet_map_add_map_header()310 map_header->flags |= MAP_NEXT_HEADER_FLAG; in rmnet_map_add_map_header()313 map_header->pkt_len = htons(map_datalen); in rmnet_map_add_map_header()314 return map_header; in rmnet_map_add_map_header()329 map_header->pkt_len = htons(map_datalen + padding); in rmnet_map_add_map_header()331 map_header->flags = padding & MAP_PAD_LEN_MASK; in rmnet_map_add_map_header()333 return map_header; in rmnet_map_add_map_header()