Home
last modified time | relevance | path

Searched refs:oz_hdr (Results 1 – 4 of 4) sorted by relevance

/drivers/staging/ozwpan/
Dozpd.c369 f->total_size = sizeof(struct oz_hdr); in oz_tx_frame_alloc()
427 struct oz_hdr *oz_hdr; in oz_build_frame() local
447 oz_hdr = (struct oz_hdr *)skb_put(skb, f->total_size); in oz_build_frame()
449 memcpy(oz_hdr, &f->hdr, sizeof(struct oz_hdr)); in oz_build_frame()
452 elt = (struct oz_elt *)(oz_hdr+1); in oz_build_frame()
546 struct oz_hdr *oz_hdr; in oz_send_isoc_frame() local
550 int total_size = sizeof(struct oz_hdr); in oz_send_isoc_frame()
572 oz_hdr = (struct oz_hdr *)skb_put(skb, total_size); in oz_send_isoc_frame()
573 oz_hdr->control = (OZ_PROTOCOL_VERSION<<OZ_VERSION_SHIFT) | OZ_F_ISOC; in oz_send_isoc_frame()
574 oz_hdr->last_pkt_num = pd->trigger_pkt_num & OZ_LAST_PN_MASK; in oz_send_isoc_frame()
[all …]
Dozproto.c95 struct oz_hdr *oz_hdr; in oz_send_conn_rsp() local
98 int sz = sizeof(struct oz_hdr) + sizeof(struct oz_elt) + in oz_send_conn_rsp()
105 oz_hdr = (struct oz_hdr *)skb_put(skb, sz); in oz_send_conn_rsp()
106 elt = (struct oz_elt *)(oz_hdr+1); in oz_send_conn_rsp()
116 oz_hdr->control = (OZ_PROTOCOL_VERSION<<OZ_VERSION_SHIFT); in oz_send_conn_rsp()
117 oz_hdr->last_pkt_num = 0; in oz_send_conn_rsp()
118 put_unaligned(0, &oz_hdr->pkt_num); in oz_send_conn_rsp()
332 struct oz_hdr *oz_hdr = (struct oz_hdr *)skb_network_header(skb); in oz_rx_frame() local
337 (((u16)oz_hdr->control)<<8)|oz_hdr->last_pkt_num, in oz_rx_frame()
338 0, oz_hdr->pkt_num); in oz_rx_frame()
[all …]
Dozpd.h31 struct oz_hdr hdr;
42 struct oz_hdr *oz_hdr; member
Dozprotocol.h45 struct oz_hdr { struct