Lines Matching defs:payload

50  * So we just take that payload from the transport specific code in
238 * @skb_rx: skb that contains the payload (for reference counting)
274 * @payload: pointer to message
287 const void *payload, size_t size)
302 ack_skb = wimax_msg_alloc(wimax_dev, NULL, payload, size, GFP_KERNEL);
326 * Receive and process a control payload
329 * @skb_rx: skb that contains the payload (for reference counting)
330 * @payload: pointer to message
349 * sizes of the _l3l4_hdr + payload, not full buffer sizes, as we have
354 * headers and we can't overwrite what's preceding the payload...as
359 const void *payload, size_t size)
363 const struct i2400m_l3l4_hdr *l3l4_hdr = payload;
410 i2400m_rx_ctl_ack(i2400m, payload, size);
421 * @payload: pointer to trace message inside the skb
431 * payload...as it is another message. So we just dup them.
435 const void *payload, size_t size)
440 const struct i2400m_l3l4_hdr *l3l4_hdr = payload;
486 * the RX payload header from the device.
944 * @single_last: 1 if the payload is the only one or the last one of
946 * @payload: pointer to the packet's data inside the skb
947 * @size: size of the payload
962 * @single_last: 1 if the payload is the only one or the last one of
964 * @payload: pointer to the packet's data (past the actual extended
965 * data payload header).
966 * @size: size of the payload
976 * Assumes the caller has verified the sanity of the payload (size,
981 unsigned single_last, const void *payload, size_t size)
984 const struct i2400m_pl_edata_hdr *hdr = payload;
996 d_fnstart(2, dev, "(i2400m %p skb_rx %p single %u payload %p "
997 "size %zu)\n", i2400m, skb_rx, single_last, payload, size);
1020 skb_pull(skb, payload + sizeof(*hdr) - (void *) skb->data);
1021 skb_trim(skb, (void *) skb_end_pointer(skb) - payload - sizeof(*hdr));
1048 d_dump(2, dev, payload, size);
1076 d_fnend(2, dev, "(i2400m %p skb_rx %p single %u payload %p "
1077 "size %zu) = void\n", i2400m, skb_rx, single_last, payload, size);
1082 * Act on a received payload
1086 * @single_last: 1 this is the only payload or the last one (so the
1088 * @pld: payload descriptor
1089 * @payload: payload data
1091 * Upon reception of a payload, look at its guts in the payload
1092 * descriptor and decide what to do with it. If it is a single payload
1099 const void *payload)
1105 d_printf(7, dev, "RX: received payload type %u, %zu bytes\n",
1107 d_dump(8, dev, payload, pl_size);
1111 d_printf(3, dev, "RX: data payload %zu bytes\n", pl_size);
1112 i2400m_net_rx(i2400m, skb_rx, single_last, payload, pl_size);
1115 i2400m_rx_ctl(i2400m, skb_rx, payload, pl_size);
1118 i2400m_rx_trace(i2400m, payload, pl_size);
1121 d_printf(3, dev, "ERX: data payload %zu bytes\n", pl_size);
1122 i2400m_rx_edata(i2400m, skb_rx, single_last, payload, pl_size);
1126 dev_err(dev, "RX: HW BUG? unexpected payload type %u\n",
1161 dev_err(dev, "RX: HW BUG? zero payload packets in message\n");
1165 dev_err(dev, "RX: HW BUG? message contains more payload "
1176 * Check a payload descriptor against the received data
1179 * @pld: payload descriptor
1180 * @pl_itr: offset (in bytes) in the received buffer the payload is
1184 * Given a payload descriptor (part of a RX buffer), check it is sane
1198 dev_err(dev, "RX: HW BUG? payload @%zu: size %zu is "
1204 dev_err(dev, "RX: HW BUG? payload @%zu: size %zu "
1211 dev_err(dev, "RX: HW BUG? illegal payload type %u; "
1229 * buffer header, then run over each payload's descriptors, verify
1230 * their consistency and act on each payload's contents. If
1262 /* Check payload descriptor(s) */
1265 if (pl_itr > skb_len) { /* got all the payload descriptors? */
1267 "%u payload descriptors (%zu each, total %zu)\n",
1271 /* Walk each payload payload--check we really got it */