Lines Matching refs:cb

380  * @cb: Contains the received message (payload and netlink header)
385 int iwpm_register_pid_cb(struct sk_buff *skb, struct netlink_callback *cb)
396 if (iwpm_parse_nlmsg(cb, IWPM_NLA_RREG_PID_MAX,
423 iwpm_user_pid = cb->nlh->nlmsg_pid;
428 atomic_set(&echo_nlmsg_seq, cb->nlh->nlmsg_seq);
455 * @cb: Contains the received message (payload and netlink header)
457 int iwpm_add_mapping_cb(struct sk_buff *skb, struct netlink_callback *cb)
468 if (iwpm_parse_nlmsg(cb, IWPM_NLA_RMANAGE_MAPPING_MAX,
472 atomic_set(&echo_nlmsg_seq, cb->nlh->nlmsg_seq);
533 * @cb: Contains the received message (payload and netlink header)
536 struct netlink_callback *cb)
548 if (iwpm_parse_nlmsg(cb, IWPM_NLA_RQUERY_MAPPING_MAX,
551 atomic_set(&echo_nlmsg_seq, cb->nlh->nlmsg_seq);
573 __func__, cb->nlh->nlmsg_pid, msg_seq);
615 * @cb: Contains the received message (payload and netlink header)
619 int iwpm_remote_info_cb(struct sk_buff *skb, struct netlink_callback *cb)
630 if (iwpm_parse_nlmsg(cb, IWPM_NLA_RQUERY_MAPPING_MAX,
634 nl_client = RDMA_NL_GET_CLIENT(cb->nlh->nlmsg_type);
635 atomic_set(&echo_nlmsg_seq, cb->nlh->nlmsg_seq);
689 * @cb: Contains the received message (payload and netlink header)
694 int iwpm_mapping_info_cb(struct sk_buff *skb, struct netlink_callback *cb)
703 if (iwpm_parse_nlmsg(cb, IWPM_NLA_MAPINFO_REQ_MAX,
716 nl_client = RDMA_NL_GET_CLIENT(cb->nlh->nlmsg_type);
718 atomic_set(&echo_nlmsg_seq, cb->nlh->nlmsg_seq);
719 iwpm_user_pid = cb->nlh->nlmsg_pid;
744 * @cb: Contains the received message (payload and netlink header)
746 int iwpm_ack_mapping_info_cb(struct sk_buff *skb, struct netlink_callback *cb)
752 if (iwpm_parse_nlmsg(cb, IWPM_NLA_MAPINFO_NUM_MAX,
760 atomic_set(&echo_nlmsg_seq, cb->nlh->nlmsg_seq);
774 * @cb: Contains the received message (payload and netlink header)
776 int iwpm_mapping_error_cb(struct sk_buff *skb, struct netlink_callback *cb)
779 int nl_client = RDMA_NL_GET_CLIENT(cb->nlh->nlmsg_type);
785 if (iwpm_parse_nlmsg(cb, IWPM_NLA_ERR_MAX,
800 atomic_set(&echo_nlmsg_seq, cb->nlh->nlmsg_seq);
819 * @cb: Contains the received message (payload and netlink header)
824 int iwpm_hello_cb(struct sk_buff *skb, struct netlink_callback *cb)
832 if (iwpm_parse_nlmsg(cb, IWPM_NLA_HELLO_MAX, hello_policy, nltb,
838 nl_client = RDMA_NL_GET_CLIENT(cb->nlh->nlmsg_type);
840 atomic_set(&echo_nlmsg_seq, cb->nlh->nlmsg_seq);
843 iwpm_user_pid = cb->nlh->nlmsg_pid;