Home
last modified time | relevance | path

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

/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.c1202 struct sk_buff *rskb, *fs; in pep_write() local
1208 rskb = alloc_skb(MAX_PNPIPE_HEADER, GFP_ATOMIC); in pep_write()
1209 if (!rskb) { in pep_write()
1213 skb_shinfo(rskb)->frag_list = skb; in pep_write()
1214 rskb->len += skb->len; in pep_write()
1215 rskb->data_len += rskb->len; in pep_write()
1216 rskb->truesize += rskb->len; in pep_write()
1227 skb_reserve(rskb, MAX_PHONET_HEADER + 3); in pep_write()
1228 return pipe_skb_send(sk, rskb); in pep_write()
/net/ethtool/
Dfeatures.c163 struct sk_buff *rskb; in features_send_reply() local
181 rskb = ethnl_reply_init(reply_len, dev, ETHTOOL_MSG_FEATURES_SET_REPLY, in features_send_reply()
184 if (!rskb) in features_send_reply()
187 ret = ethnl_put_bitset(rskb, ETHTOOL_A_FEATURES_WANTED, wanted, in features_send_reply()
192 ret = ethnl_put_bitset(rskb, ETHTOOL_A_FEATURES_ACTIVE, active, in features_send_reply()
198 genlmsg_end(rskb, reply_payload); in features_send_reply()
199 ret = genlmsg_reply(rskb, info); in features_send_reply()
203 nlmsg_free(rskb); in features_send_reply()
Dtunnels.c167 struct sk_buff *rskb; in ethnl_tunnel_info_doit() local
185 rskb = ethnl_reply_init(reply_len, req_info.dev, in ethnl_tunnel_info_doit()
189 if (!rskb) { in ethnl_tunnel_info_doit()
194 ret = ethnl_tunnel_info_fill_reply(&req_info, rskb); in ethnl_tunnel_info_doit()
199 genlmsg_end(rskb, reply_payload); in ethnl_tunnel_info_doit()
201 return genlmsg_reply(rskb, info); in ethnl_tunnel_info_doit()
204 nlmsg_free(rskb); in ethnl_tunnel_info_doit()
Dnetlink.c354 struct sk_buff *rskb; in ethnl_default_doit() local
386 rskb = ethnl_reply_init(reply_len + ethnl_reply_header_size(), in ethnl_default_doit()
389 if (!rskb) in ethnl_default_doit()
391 hdr_len = rskb->len; in ethnl_default_doit()
392 ret = ops->fill_reply(rskb, req_info, reply_data); in ethnl_default_doit()
395 WARN_ONCE(rskb->len - hdr_len > reply_len, in ethnl_default_doit()
397 cmd, reply_len, rskb->len - hdr_len); in ethnl_default_doit()
401 genlmsg_end(rskb, reply_payload); in ethnl_default_doit()
405 return genlmsg_reply(rskb, info); in ethnl_default_doit()
409 nlmsg_free(rskb); in ethnl_default_doit()
/net/iucv/
Daf_iucv.c1229 struct sk_buff *skb, *rskb, *cskb; in iucv_sock_recvmsg() local
1308 rskb = skb_dequeue(&iucv->backlog_skb_q); in iucv_sock_recvmsg()
1309 while (rskb) { in iucv_sock_recvmsg()
1310 IUCV_SKB_CB(rskb)->offset = 0; in iucv_sock_recvmsg()
1311 if (__sock_queue_rcv_skb(sk, rskb)) { in iucv_sock_recvmsg()
1314 rskb); in iucv_sock_recvmsg()
1317 rskb = skb_dequeue(&iucv->backlog_skb_q); in iucv_sock_recvmsg()