Lines Matching refs:mMsg
539 mHeader = (genlmsghdr *)nlmsg_data(nlmsg_hdr(mMsg)); in parse()
550 mMsg = nlmsg_alloc(); in create()
551 if (mMsg != NULL) { in create()
552 genlmsg_put(mMsg, /* pid = */ 0, /* seq = */ 0, family, in create()
591 return requestResponse(mMsg); in requestResponse()
622 mMsg.destroy(); in requestResponse()
639 status = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); /* send message */ in requestEvent()
665 status = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); /* send message */ in requestVendorEvent()
802 wifi_error ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create()
807 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create()
812 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create()
817 ret = mMsg.put_bytes(NL80211_ATTR_VENDOR_DATA, mVendorData, mDataLen); in create()
824 ret = mMsg.set_iface_id(ifindex); in create()
831 return WifiCommand::requestResponse(mMsg); in requestResponse()
842 return mMsg.put_u8(attribute, value); in put_u8()
847 return mMsg.put_u16(attribute, value); in put_u16()
852 return mMsg.put_u32(attribute, value); in put_u32()
857 return mMsg.put_u64(attribute, value); in put_u64()
862 return mMsg.put_s8(attribute, value); in put_s8()
867 return mMsg.put_s16(attribute, value); in put_s16()
872 return mMsg.put_s32(attribute, value); in put_s32()
877 return mMsg.put_s64(attribute, value); in put_s64()
882 return mMsg.put_flag(attribute); in put_flag()
887 return mMsg.get_u8(nla); in get_u8()
892 return mMsg.get_u16(nla); in get_u16()
897 return mMsg.get_u32(nla); in get_u32()
902 return mMsg.get_u64(nla); in get_u64()
907 return mMsg.get_s8(nla); in get_s8()
912 return mMsg.get_s16(nla); in get_s16()
917 return mMsg.get_s32(nla); in get_s32()
922 return mMsg.get_s64(nla); in get_s64()
927 return mMsg.put_string(attribute, value); in put_string()
932 return mMsg.put_addr(attribute, value); in put_addr()
937 return mMsg.attr_start(attribute); in attr_start()
942 return mMsg.attr_end(attribute); in attr_end()
948 return mMsg.set_iface_id(ifindex); in set_iface_id()
955 return mMsg.put_bytes(attribute, data, len); in put_bytes()