Home
last modified time | relevance | path

Searched refs:map_header (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_handlers.c59 struct rmnet_map_header *map_header = (void *)skb->data; in __rmnet_map_ingress_handler() local
64 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() local
162 if (!map_header) in rmnet_map_egress_handler()
[all …]
H A Drmnet_map_command.c15 struct rmnet_map_header *map_header = (void *)skb->data; in rmnet_map_do_flow_control() local
21 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() local
64 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() local
83 cmd = (struct rmnet_map_control_command *)(map_header + 1); in rmnet_map_command()
H A Drmnet_map_data.c300 struct rmnet_map_header *map_header; in rmnet_map_add_map_header() local
304 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()