Home
last modified time | relevance | path

Searched refs:rskb (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/net/phonet/
Dpep-gprs.c87 struct sk_buff *rskb, *fs; in gprs_recv() local
94 rskb = netdev_alloc_skb(dev, 0); in gprs_recv()
95 if (!rskb) { in gprs_recv()
99 skb_shinfo(rskb)->frag_list = skb; in gprs_recv()
100 rskb->len += skb->len; in gprs_recv()
101 rskb->data_len += rskb->len; in gprs_recv()
102 rskb->truesize += rskb->len; in gprs_recv()
113 skb = rskb; in gprs_recv()
Daf_phonet.c311 static int send_obj_unreachable(struct sk_buff *rskb) in send_obj_unreachable() argument
313 const struct phonethdr *oph = pn_hdr(rskb); in send_obj_unreachable()
314 const struct phonetmsg *opm = pn_msg(rskb); in send_obj_unreachable()
330 return pn_raw_send(&resp, sizeof(resp), rskb->dev, in send_obj_unreachable()
336 static int send_reset_indications(struct sk_buff *rskb) in send_reset_indications() argument
338 struct phonethdr *oph = pn_hdr(rskb); in send_reset_indications()
344 return pn_raw_send(data, sizeof(data), rskb->dev, in send_reset_indications()
Dpep.c1203 struct sk_buff *rskb, *fs; in pep_write() local
1209 rskb = alloc_skb(MAX_PNPIPE_HEADER, GFP_ATOMIC); in pep_write()
1210 if (!rskb) { in pep_write()
1214 skb_shinfo(rskb)->frag_list = skb; in pep_write()
1215 rskb->len += skb->len; in pep_write()
1216 rskb->data_len += rskb->len; in pep_write()
1217 rskb->truesize += rskb->len; in pep_write()
1228 skb_reserve(rskb, MAX_PHONET_HEADER + 3); in pep_write()
1229 return pipe_skb_send(sk, rskb); in pep_write()
/linux-6.1.9/net/ethtool/
Dfeatures.c162 struct sk_buff *rskb; in features_send_reply() local
180 rskb = ethnl_reply_init(reply_len, dev, ETHTOOL_MSG_FEATURES_SET_REPLY, in features_send_reply()
183 if (!rskb) in features_send_reply()
186 ret = ethnl_put_bitset(rskb, ETHTOOL_A_FEATURES_WANTED, wanted, in features_send_reply()
191 ret = ethnl_put_bitset(rskb, ETHTOOL_A_FEATURES_ACTIVE, active, in features_send_reply()
197 genlmsg_end(rskb, reply_payload); in features_send_reply()
198 ret = genlmsg_reply(rskb, info); in features_send_reply()
202 nlmsg_free(rskb); in features_send_reply()
Dtunnels.c169 struct sk_buff *rskb; in ethnl_tunnel_info_doit() local
187 rskb = ethnl_reply_init(reply_len, req_info.dev, in ethnl_tunnel_info_doit()
191 if (!rskb) { in ethnl_tunnel_info_doit()
196 ret = ethnl_tunnel_info_fill_reply(&req_info, rskb); in ethnl_tunnel_info_doit()
201 genlmsg_end(rskb, reply_payload); in ethnl_tunnel_info_doit()
203 return genlmsg_reply(rskb, info); in ethnl_tunnel_info_doit()
206 nlmsg_free(rskb); in ethnl_tunnel_info_doit()
Dnetlink.c358 struct sk_buff *rskb; in ethnl_default_doit() local
393 rskb = ethnl_reply_init(reply_len + ethnl_reply_header_size(), in ethnl_default_doit()
396 if (!rskb) in ethnl_default_doit()
398 hdr_len = rskb->len; in ethnl_default_doit()
399 ret = ops->fill_reply(rskb, req_info, reply_data); in ethnl_default_doit()
402 WARN_ONCE(rskb->len - hdr_len > reply_len, in ethnl_default_doit()
404 cmd, reply_len, rskb->len - hdr_len); in ethnl_default_doit()
408 genlmsg_end(rskb, reply_payload); in ethnl_default_doit()
412 return genlmsg_reply(rskb, info); in ethnl_default_doit()
416 nlmsg_free(rskb); in ethnl_default_doit()
/linux-6.1.9/drivers/net/ethernet/freescale/
Dfec_mpc52xx.c137 mpc52xx_fec_rx_submit(struct net_device *dev, struct sk_buff *rskb) in mpc52xx_fec_rx_submit() argument
144 bd->skb_pa = dma_map_single(dev->dev.parent, rskb->data, in mpc52xx_fec_rx_submit()
146 bcom_submit_next_buffer(priv->rx_dmatsk, rskb); in mpc52xx_fec_rx_submit()
387 struct sk_buff *rskb; /* received sk_buff */ in mpc52xx_fec_rx_interrupt() local
397 rskb = bcom_retrieve_buffer(priv->rx_dmatsk, &status, in mpc52xx_fec_rx_interrupt()
404 mpc52xx_fec_rx_submit(dev, rskb); in mpc52xx_fec_rx_interrupt()
415 mpc52xx_fec_rx_submit(dev, rskb); in mpc52xx_fec_rx_interrupt()
427 dma_unmap_single(dev->dev.parent, physaddr, rskb->len, in mpc52xx_fec_rx_interrupt()
430 skb_put(rskb, length - 4); /* length without CRC32 */ in mpc52xx_fec_rx_interrupt()
431 rskb->protocol = eth_type_trans(rskb, dev); in mpc52xx_fec_rx_interrupt()
[all …]
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7915/
Dmcu.c1713 mt7915_mcu_beacon_cntdwn(struct ieee80211_vif *vif, struct sk_buff *rskb, in mt7915_mcu_beacon_cntdwn() argument
1725 tlv = mt7915_mcu_add_nested_subtlv(rskb, sub_tag, sizeof(*info), in mt7915_mcu_beacon_cntdwn()
1732 mt7915_mcu_beacon_mbss(struct sk_buff *rskb, struct sk_buff *skb, in mt7915_mcu_beacon_mbss() argument
1743 tlv = mt7915_mcu_add_nested_subtlv(rskb, BSS_INFO_BCN_MBSSID, in mt7915_mcu_beacon_mbss()
1788 struct sk_buff *rskb, struct sk_buff *skb, in mt7915_mcu_beacon_cont() argument
1799 tlv = mt7915_mcu_add_nested_subtlv(rskb, BSS_INFO_BCN_CONTENT, in mt7915_mcu_beacon_cont()
1901 struct sk_buff *rskb, struct bss_info_bcn *bcn, in mt7915_mcu_beacon_inband_discov() argument
1942 if (len > (MT7915_MAX_BSS_OFFLOAD_SIZE - rskb->len)) { in mt7915_mcu_beacon_inband_discov()
1948 tlv = mt7915_mcu_add_nested_subtlv(rskb, BSS_INFO_BCN_DISCOV, in mt7915_mcu_beacon_inband_discov()
1975 struct sk_buff *skb, *rskb; in mt7915_mcu_add_beacon() local
[all …]
/linux-6.1.9/net/iucv/
Daf_iucv.c1227 struct sk_buff *skb, *rskb, *cskb; in iucv_sock_recvmsg() local
1306 rskb = skb_dequeue(&iucv->backlog_skb_q); in iucv_sock_recvmsg()
1307 while (rskb) { in iucv_sock_recvmsg()
1308 IUCV_SKB_CB(rskb)->offset = 0; in iucv_sock_recvmsg()
1309 if (__sock_queue_rcv_skb(sk, rskb)) { in iucv_sock_recvmsg()
1312 rskb); in iucv_sock_recvmsg()
1315 rskb = skb_dequeue(&iucv->backlog_skb_q); in iucv_sock_recvmsg()