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.c312 static int send_obj_unreachable(struct sk_buff *rskb) in send_obj_unreachable() argument
314 const struct phonethdr *oph = pn_hdr(rskb); in send_obj_unreachable()
315 const struct phonetmsg *opm = pn_msg(rskb); in send_obj_unreachable()
331 return pn_raw_send(&resp, sizeof(resp), rskb->dev, in send_obj_unreachable()
337 static int send_reset_indications(struct sk_buff *rskb) in send_reset_indications() argument
339 struct phonethdr *oph = pn_hdr(rskb); in send_reset_indications()
345 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.c315 struct sk_buff *rskb; in ethnl_default_doit() local
348 rskb = ethnl_reply_init(reply_len, req_info->dev, ops->reply_cmd, in ethnl_default_doit()
350 if (!rskb) in ethnl_default_doit()
352 ret = ops->fill_reply(rskb, req_info, reply_data); in ethnl_default_doit()
358 genlmsg_end(rskb, reply_payload); in ethnl_default_doit()
363 return genlmsg_reply(rskb, info); in ethnl_default_doit()
367 nlmsg_free(rskb); in ethnl_default_doit()
/net/iucv/
Daf_iucv.c1246 struct sk_buff *skb, *rskb, *cskb; in iucv_sock_recvmsg() local
1325 rskb = skb_dequeue(&iucv->backlog_skb_q); in iucv_sock_recvmsg()
1326 while (rskb) { in iucv_sock_recvmsg()
1327 IUCV_SKB_CB(rskb)->offset = 0; in iucv_sock_recvmsg()
1328 if (__sock_queue_rcv_skb(sk, rskb)) { in iucv_sock_recvmsg()
1331 rskb); in iucv_sock_recvmsg()
1334 rskb = skb_dequeue(&iucv->backlog_skb_q); in iucv_sock_recvmsg()