Home
last modified time | relevance | path

Searched refs:pmsg (Results 1 – 5 of 5) sorted by relevance

/net/sunrpc/xprtrdma/
Dsvc_rdma_transport.c164 const struct rpcrdma_connect_private *pmsg = param->private_data; in svc_rdma_parse_connect_private() local
166 if (pmsg && in svc_rdma_parse_connect_private()
167 pmsg->cp_magic == rpcrdma_cmp_magic && in svc_rdma_parse_connect_private()
168 pmsg->cp_version == RPCRDMA_CMP_VERSION) { in svc_rdma_parse_connect_private()
169 newxprt->sc_snd_w_inv = pmsg->cp_flags & in svc_rdma_parse_connect_private()
174 rpcrdma_decode_buffer_size(pmsg->cp_send_size), in svc_rdma_parse_connect_private()
175 rpcrdma_decode_buffer_size(pmsg->cp_recv_size), in svc_rdma_parse_connect_private()
371 struct rpcrdma_connect_private pmsg; in svc_rdma_accept() local
482 pmsg.cp_magic = rpcrdma_cmp_magic; in svc_rdma_accept()
483 pmsg.cp_version = RPCRDMA_CMP_VERSION; in svc_rdma_accept()
[all …]
Dverbs.c204 const struct rpcrdma_connect_private *pmsg = param->private_data; in rpcrdma_update_cm_private() local
212 if (pmsg && in rpcrdma_update_cm_private()
213 pmsg->cp_magic == rpcrdma_cmp_magic && in rpcrdma_update_cm_private()
214 pmsg->cp_version == RPCRDMA_CMP_VERSION) { in rpcrdma_update_cm_private()
216 rsize = rpcrdma_decode_buffer_size(pmsg->cp_send_size); in rpcrdma_update_cm_private()
217 wsize = rpcrdma_decode_buffer_size(pmsg->cp_recv_size); in rpcrdma_update_cm_private()
387 struct rpcrdma_connect_private *pmsg; in rpcrdma_ep_create() local
459 pmsg = &ep->re_cm_private; in rpcrdma_ep_create()
460 pmsg->cp_magic = rpcrdma_cmp_magic; in rpcrdma_ep_create()
461 pmsg->cp_version = RPCRDMA_CMP_VERSION; in rpcrdma_ep_create()
[all …]
/net/netfilter/
Dnfnetlink_log.c457 struct nfulnl_msg_packet_hdr pmsg; in __build_packet_message() local
469 memset(&pmsg, 0, sizeof(pmsg)); in __build_packet_message()
470 pmsg.hw_protocol = skb->protocol; in __build_packet_message()
471 pmsg.hook = hooknum; in __build_packet_message()
473 if (nla_put(inst->skb, NFULA_PACKET_HDR, sizeof(pmsg), &pmsg)) in __build_packet_message()
Dnfnetlink_queue.c384 struct nfqnl_msg_packet_hdr *pmsg; in nfqnl_build_packet_message() local
483 nla = __nla_reserve(skb, NFQA_PACKET_HDR, sizeof(*pmsg)); in nfqnl_build_packet_message()
484 pmsg = nla_data(nla); in nfqnl_build_packet_message()
485 pmsg->hw_protocol = entskb->protocol; in nfqnl_build_packet_message()
486 pmsg->hook = entry->state.hook; in nfqnl_build_packet_message()
487 *packet_id_ptr = &pmsg->packet_id; in nfqnl_build_packet_message()
/net/ipv6/
Daddrconf.c6118 struct prefixmsg *pmsg; in inet6_fill_prefix() local
6122 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*pmsg), flags); in inet6_fill_prefix()
6126 pmsg = nlmsg_data(nlh); in inet6_fill_prefix()
6127 pmsg->prefix_family = AF_INET6; in inet6_fill_prefix()
6128 pmsg->prefix_pad1 = 0; in inet6_fill_prefix()
6129 pmsg->prefix_pad2 = 0; in inet6_fill_prefix()
6130 pmsg->prefix_ifindex = idev->dev->ifindex; in inet6_fill_prefix()
6131 pmsg->prefix_len = pinfo->prefix_len; in inet6_fill_prefix()
6132 pmsg->prefix_type = pinfo->type; in inet6_fill_prefix()
6133 pmsg->prefix_pad3 = 0; in inet6_fill_prefix()
[all …]