Home
last modified time | relevance | path

Searched refs:reply (Results 1 – 25 of 32) sorted by relevance

12

/net/openvswitch/
Dmeter.c235 static int ovs_meter_cmd_reply_stats(struct sk_buff *reply, u32 meter_id, in ovs_meter_cmd_reply_stats() argument
242 if (nla_put_u32(reply, OVS_METER_ATTR_ID, meter_id)) in ovs_meter_cmd_reply_stats()
245 if (nla_put(reply, OVS_METER_ATTR_STATS, in ovs_meter_cmd_reply_stats()
249 if (nla_put_u64_64bit(reply, OVS_METER_ATTR_USED, meter->used, in ovs_meter_cmd_reply_stats()
253 nla = nla_nest_start_noflag(reply, OVS_METER_ATTR_BANDS); in ovs_meter_cmd_reply_stats()
262 band_nla = nla_nest_start_noflag(reply, OVS_BAND_ATTR_UNSPEC); in ovs_meter_cmd_reply_stats()
263 if (!band_nla || nla_put(reply, OVS_BAND_ATTR_STATS, in ovs_meter_cmd_reply_stats()
267 nla_nest_end(reply, band_nla); in ovs_meter_cmd_reply_stats()
269 nla_nest_end(reply, nla); in ovs_meter_cmd_reply_stats()
281 struct sk_buff *reply; in ovs_meter_cmd_features() local
[all …]
Ddatapath.c947 struct sk_buff *reply; in ovs_flow_cmd_new() local
1005 reply = ovs_flow_cmd_alloc_info(acts, &new_flow->id, info, false, in ovs_flow_cmd_new()
1007 if (IS_ERR(reply)) { in ovs_flow_cmd_new()
1008 error = PTR_ERR(reply); in ovs_flow_cmd_new()
1034 if (unlikely(reply)) { in ovs_flow_cmd_new()
1037 reply, info->snd_portid, in ovs_flow_cmd_new()
1076 if (unlikely(reply)) { in ovs_flow_cmd_new()
1079 reply, info->snd_portid, in ovs_flow_cmd_new()
1091 if (reply) in ovs_flow_cmd_new()
1092 ovs_notify(&dp_flow_genl_family, reply, info); in ovs_flow_cmd_new()
[all …]
Dconntrack.c2037 struct sk_buff *reply) in ovs_ct_limit_get_default_limit() argument
2044 return nla_put_nohdr(reply, sizeof(zone_limit), &zone_limit); in ovs_ct_limit_get_default_limit()
2050 struct sk_buff *reply) in __ovs_ct_limit_get_zone_limit() argument
2062 return nla_put_nohdr(reply, sizeof(zone_limit), &zone_limit); in __ovs_ct_limit_get_zone_limit()
2068 struct sk_buff *reply) in ovs_ct_limit_get_zone_limit() argument
2081 err = ovs_ct_limit_get_default_limit(info, reply); in ovs_ct_limit_get_zone_limit()
2093 net, info->data, zone, limit, reply); in ovs_ct_limit_get_zone_limit()
2110 struct sk_buff *reply) in ovs_ct_limit_get_all_zone_limit() argument
2116 err = ovs_ct_limit_get_default_limit(info, reply); in ovs_ct_limit_get_all_zone_limit()
2125 ct_limit->zone, ct_limit->limit, reply); in ovs_ct_limit_get_all_zone_limit()
[all …]
/net/bridge/
Dbr_arp_nd_proxy.c255 struct sk_buff *reply; in br_nd_send() local
270 reply = alloc_skb(len, GFP_ATOMIC); in br_nd_send()
271 if (!reply) in br_nd_send()
274 reply->protocol = htons(ETH_P_IPV6); in br_nd_send()
275 reply->dev = dev; in br_nd_send()
276 skb_reserve(reply, LL_RESERVED_SPACE(dev)); in br_nd_send()
277 skb_push(reply, sizeof(struct ethhdr)); in br_nd_send()
278 skb_set_mac_header(reply, 0); in br_nd_send()
287 kfree_skb(reply); in br_nd_send()
297 ether_addr_copy(eth_hdr(reply)->h_dest, daddr); in br_nd_send()
[all …]
/net/ethtool/
Deeprom.c54 struct eeprom_reply_data *reply, in eeprom_fallback() argument
57 struct net_device *dev = reply->base.dev; in eeprom_fallback()
79 reply->data = data; in eeprom_fallback()
80 reply->length = eeprom.len; in eeprom_fallback()
108 struct eeprom_reply_data *reply = MODULE_EEPROM_REPDATA(reply_base); in eeprom_prepare_data() local
131 reply->length = ret; in eeprom_prepare_data()
132 reply->data = page_data.data; in eeprom_prepare_data()
143 return eeprom_fallback(request, reply, info); in eeprom_prepare_data()
204 struct eeprom_reply_data *reply = MODULE_EEPROM_REPDATA(reply_base); in eeprom_fill_reply() local
206 return nla_put(skb, ETHTOOL_A_MODULE_EEPROM_DATA, reply->length, reply->data); in eeprom_fill_reply()
[all …]
/net/atm/
Dsignaling.c46 msg->reply = -EOPNOTSUPP; in modify_qos()
49 msg->reply = vcc->dev->ops->change_qos(vcc, &msg->qos, in modify_qos()
50 msg->reply); in modify_qos()
51 if (!msg->reply) in modify_qos()
78 sk->sk_err = -msg->reply; in sigd_send()
99 sk->sk_err = -msg->reply; in sigd_send()
121 vcc_release_async(vcc, msg->reply); in sigd_send()
128 sk->sk_err_soft = -msg->reply; in sigd_send()
145 int reply) in sigd_enq2() argument
158 msg->reply = reply; in sigd_enq2()
Dsignaling.h25 const struct sockaddr_atmsvc *svc,const struct atm_qos *qos,int reply);
Dcommon.c213 void vcc_release_async(struct atm_vcc *vcc, int reply) in vcc_release_async() argument
219 sk->sk_err = -reply; in vcc_release_async()
/net/bpfilter/
Dmain.c35 struct mbox_reply reply; in loop() local
44 reply.status = req.is_set ? in loop()
48 n = write(1, &reply, sizeof(reply)); in loop()
49 if (n != sizeof(reply)) { in loop()
Dbpfilter_kern.c36 struct mbox_reply reply; in bpfilter_send_req() local
50 n = kernel_read(bpfilter_ops.info.pipe_from_umh, &reply, sizeof(reply), in bpfilter_send_req()
52 if (n != sizeof(reply)) { in bpfilter_send_req()
56 return reply.status; in bpfilter_send_req()
/net/netfilter/
Dnf_conntrack_sane.c77 struct sane_reply_net_start *reply; in help() local
131 reply = sb_ptr; in help()
132 if (reply->status != htonl(SANE_STATUS_SUCCESS)) { in help()
135 ntohl(reply->status)); in help()
140 if (reply->zero != 0) in help()
153 IPPROTO_TCP, NULL, &reply->port); in help()
Dnf_nat_core.c194 struct nf_conntrack_tuple reply; in nf_nat_used_tuple() local
196 nf_ct_invert_tuple(&reply, tuple); in nf_nat_used_tuple()
197 return nf_conntrack_tuple_taken(&reply, ignored_conntrack); in nf_nat_used_tuple()
608 struct nf_conntrack_tuple reply; in nf_nat_setup_info() local
611 nf_ct_invert_tuple(&reply, &new_tuple); in nf_nat_setup_info()
612 nf_conntrack_alter_reply(ct, &reply); in nf_nat_setup_info()
/net/ceph/
Dauth.c365 void *reply, int reply_len, in ceph_auth_verify_authorizer_reply() argument
374 reply, reply_len, session_key, session_key_len, in ceph_auth_verify_authorizer_reply()
475 int ceph_auth_handle_reply_more(struct ceph_auth_client *ac, void *reply, in ceph_auth_handle_reply_more() argument
481 ret = ac->ops->handle_reply(ac, 0, reply, reply + reply_len, in ceph_auth_handle_reply_more()
492 u64 global_id, void *reply, int reply_len, in ceph_auth_handle_reply_done() argument
499 ret = ac->ops->handle_reply(ac, global_id, reply, reply + reply_len, in ceph_auth_handle_reply_done()
579 void *reply, int reply_len, in ceph_auth_handle_svc_reply_more() argument
587 reply, reply_len); in ceph_auth_handle_svc_reply_more()
603 void *reply, int reply_len, in ceph_auth_handle_svc_reply_done() argument
608 reply, reply_len, session_key, session_key_len, in ceph_auth_handle_svc_reply_done()
Dmon_client.c587 req->reply); in DEFINE_RB_FUNCS()
590 if (req->reply) in DEFINE_RB_FUNCS()
591 ceph_msg_put(req->reply); in DEFINE_RB_FUNCS()
656 ceph_msg_revoke_incoming(req->reply); in __finish_generic_request()
722 dout("get_generic_reply %lld got %p\n", tid, req->reply); in get_generic_reply()
724 m = ceph_msg_get(req->reply); in get_generic_reply()
742 struct ceph_mon_statfs_reply *reply = msg->front.iov_base; in handle_statfs_reply() local
747 if (msg->front.iov_len != sizeof(*reply)) in handle_statfs_reply()
758 *req->u.st = reply->st; /* struct */ in handle_statfs_reply()
789 req->reply = ceph_msg_new(CEPH_MSG_STATFS_REPLY, 64, GFP_NOFS, true); in ceph_monc_do_statfs()
[all …]
Dauth_x.c877 void *reply, int reply_len, in ceph_x_verify_authorizer_reply() argument
890 ret = decrypt_authorizer_reply(&au->session_key, &reply, in ceph_x_verify_authorizer_reply()
891 reply + reply_len, &nonce_plus_one, in ceph_x_verify_authorizer_reply()
/net/sctp/
Dsm_statefuns.c1014 struct sctp_chunk *reply; in sctp_sf_heartbeat() local
1017 reply = sctp_make_heartbeat(asoc, transport, 0); in sctp_sf_heartbeat()
1018 if (!reply) in sctp_sf_heartbeat()
1027 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_heartbeat()
1117 struct sctp_chunk *reply; in sctp_sf_send_probe() local
1123 reply = sctp_make_heartbeat(asoc, transport, transport->pl.probe_size); in sctp_sf_send_probe()
1124 if (!reply) in sctp_sf_send_probe()
1126 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(reply)); in sctp_sf_send_probe()
1166 struct sctp_chunk *reply; in sctp_sf_beat_8_3() local
1193 reply = sctp_make_heartbeat_ack(asoc, chunk, param_hdr, paylen); in sctp_sf_beat_8_3()
[all …]
/net/vmw_vsock/
Dvirtio_transport_common.c68 pkt->reply = info->reply; in virtio_transport_alloc_pkt()
827 .reply = !!pkt, in virtio_transport_reset()
844 struct virtio_vsock_pkt *reply; in virtio_transport_reset_no_sock() local
848 .reply = true, in virtio_transport_reset_no_sock()
855 reply = virtio_transport_alloc_pkt(&info, 0, in virtio_transport_reset_no_sock()
860 if (!reply) in virtio_transport_reset_no_sock()
864 virtio_transport_free_pkt(reply); in virtio_transport_reset_no_sock()
868 return t->send_pkt(reply); in virtio_transport_reset_no_sock()
1151 .reply = true, in virtio_transport_send_response()
Dvirtio_transport.c107 bool reply; in virtio_transport_send_pkt_work() local
122 reply = pkt->reply; in virtio_transport_send_pkt_work()
142 if (reply) { in virtio_transport_send_pkt_work()
186 if (pkt->reply) in virtio_transport_send_pkt()
224 if (pkt->reply) in virtio_transport_cancel_pkt()
/net/mptcp/
Dpm_netlink.c1568 void *reply; in mptcp_nl_cmd_get_addr() local
1579 reply = genlmsg_put_reply(msg, info, &mptcp_genl_family, 0, in mptcp_nl_cmd_get_addr()
1581 if (!reply) { in mptcp_nl_cmd_get_addr()
1599 genlmsg_end(msg, reply); in mptcp_nl_cmd_get_addr()
1701 void *reply; in mptcp_nl_cmd_get_limits() local
1707 reply = genlmsg_put_reply(msg, info, &mptcp_genl_family, 0, in mptcp_nl_cmd_get_limits()
1709 if (!reply) in mptcp_nl_cmd_get_limits()
1720 genlmsg_end(msg, reply); in mptcp_nl_cmd_get_limits()
/net/ipv4/
Dtcp_metrics.c844 void *reply; in tcp_metrics_nl_cmd_get() local
860 reply = genlmsg_put_reply(msg, info, &tcp_metrics_nl_family, 0, in tcp_metrics_nl_cmd_get()
862 if (!reply) in tcp_metrics_nl_cmd_get()
882 genlmsg_end(msg, reply); in tcp_metrics_nl_cmd_get()
Dip_tunnel_core.c408 int headroom, bool reply) in skb_tunnel_check_pmtu() argument
418 if (!reply || skb->pkt_type == PACKET_HOST) in skb_tunnel_check_pmtu()
/net/mac80211/
Dmesh_hwmp.c569 bool reply = false; in hwmp_preq_frame_process() local
588 reply = true; in hwmp_preq_frame_process()
607 reply = true; in hwmp_preq_frame_process()
627 reply = true; in hwmp_preq_frame_process()
637 if (reply) { in hwmp_preq_frame_process()
/net/bridge/netfilter/
DKconfig176 tristate "ebt: arp reply target support"
179 This option adds the arp reply target, which allows
/net/iucv/
Diucv.c1225 u8 flags, void *reply, size_t size) in iucv_message_reply() argument
1242 memcpy(parm->dpl.iprmmsg, reply, min_t(size_t, size, 8)); in iucv_message_reply()
1244 parm->db.ipbfadr1 = (u32)(addr_t) reply; in iucv_message_reply()
/net/tipc/
Dlink.c2201 bool reply = msg_probe(hdr), retransmitted = false; in tipc_link_proto_rcv() local
2324 if ((reply || msg_is_keepalive(hdr)) && in tipc_link_proto_rcv()
2329 if (rcvgap || reply) in tipc_link_proto_rcv()
2330 tipc_link_build_proto_msg(l, STATE_MSG, 0, reply, in tipc_link_proto_rcv()

12