Lines Matching refs:nltb

388 	struct nlattr *nltb[IWPM_NLA_RREG_PID_MAX];  in iwpm_register_pid_cb()  local
397 resp_reg_policy, nltb, msg_type)) in iwpm_register_pid_cb()
400 msg_seq = nla_get_u32(nltb[IWPM_NLA_RREG_PID_SEQ]); in iwpm_register_pid_cb()
409 dev_name = (char *)nla_data(nltb[IWPM_NLA_RREG_IBDEV_NAME]); in iwpm_register_pid_cb()
410 iwpm_name = (char *)nla_data(nltb[IWPM_NLA_RREG_ULIB_NAME]); in iwpm_register_pid_cb()
411 iwpm_version = nla_get_u16(nltb[IWPM_NLA_RREG_ULIB_VER]); in iwpm_register_pid_cb()
461 struct nlattr *nltb[IWPM_NLA_RMANAGE_MAPPING_MAX]; in iwpm_add_mapping_cb() local
469 resp_add_policy, nltb, msg_type)) in iwpm_add_mapping_cb()
474 msg_seq = nla_get_u32(nltb[IWPM_NLA_RMANAGE_MAPPING_SEQ]); in iwpm_add_mapping_cb()
483 nla_data(nltb[IWPM_NLA_RMANAGE_ADDR]); in iwpm_add_mapping_cb()
485 nla_data(nltb[IWPM_NLA_RMANAGE_MAPPED_LOC_ADDR]); in iwpm_add_mapping_cb()
540 struct nlattr *nltb[IWPM_NLA_RQUERY_MAPPING_MAX]; in iwpm_add_and_query_mapping_cb() local
549 resp_query_policy, nltb, msg_type)) in iwpm_add_and_query_mapping_cb()
553 msg_seq = nla_get_u32(nltb[IWPM_NLA_RQUERY_MAPPING_SEQ]); in iwpm_add_and_query_mapping_cb()
562 nla_data(nltb[IWPM_NLA_RQUERY_LOCAL_ADDR]); in iwpm_add_and_query_mapping_cb()
564 nla_data(nltb[IWPM_NLA_RQUERY_REMOTE_ADDR]); in iwpm_add_and_query_mapping_cb()
566 nla_data(nltb[IWPM_NLA_RQUERY_MAPPED_LOC_ADDR]); in iwpm_add_and_query_mapping_cb()
568 nla_data(nltb[IWPM_NLA_RQUERY_MAPPED_REM_ADDR]); in iwpm_add_and_query_mapping_cb()
570 err_code = nla_get_u16(nltb[IWPM_NLA_RQUERY_MAPPING_ERR]); in iwpm_add_and_query_mapping_cb()
621 struct nlattr *nltb[IWPM_NLA_RQUERY_MAPPING_MAX]; in iwpm_remote_info_cb() local
631 resp_query_policy, nltb, msg_type)) in iwpm_remote_info_cb()
638 nla_data(nltb[IWPM_NLA_RQUERY_LOCAL_ADDR]); in iwpm_remote_info_cb()
640 nla_data(nltb[IWPM_NLA_RQUERY_REMOTE_ADDR]); in iwpm_remote_info_cb()
642 nla_data(nltb[IWPM_NLA_RQUERY_MAPPED_LOC_ADDR]); in iwpm_remote_info_cb()
644 nla_data(nltb[IWPM_NLA_RQUERY_MAPPED_REM_ADDR]); in iwpm_remote_info_cb()
696 struct nlattr *nltb[IWPM_NLA_MAPINFO_REQ_MAX]; in iwpm_mapping_info_cb() local
704 resp_mapinfo_policy, nltb, msg_type)) { in iwpm_mapping_info_cb()
708 iwpm_name = (char *)nla_data(nltb[IWPM_NLA_MAPINFO_ULIB_NAME]); in iwpm_mapping_info_cb()
709 iwpm_version = nla_get_u16(nltb[IWPM_NLA_MAPINFO_ULIB_VER]); in iwpm_mapping_info_cb()
748 struct nlattr *nltb[IWPM_NLA_MAPINFO_NUM_MAX]; in iwpm_ack_mapping_info_cb() local
753 ack_mapinfo_policy, nltb, msg_type)) in iwpm_ack_mapping_info_cb()
755 mapinfo_send = nla_get_u32(nltb[IWPM_NLA_MAPINFO_SEND_NUM]); in iwpm_ack_mapping_info_cb()
756 mapinfo_ack = nla_get_u32(nltb[IWPM_NLA_MAPINFO_ACK_NUM]); in iwpm_ack_mapping_info_cb()
780 struct nlattr *nltb[IWPM_NLA_ERR_MAX]; in iwpm_mapping_error_cb() local
786 map_error_policy, nltb, msg_type)) in iwpm_mapping_error_cb()
789 msg_seq = nla_get_u32(nltb[IWPM_NLA_ERR_SEQ]); in iwpm_mapping_error_cb()
790 err_code = nla_get_u16(nltb[IWPM_NLA_ERR_CODE]); in iwpm_mapping_error_cb()
826 struct nlattr *nltb[IWPM_NLA_HELLO_MAX]; in iwpm_hello_cb() local
832 if (iwpm_parse_nlmsg(cb, IWPM_NLA_HELLO_MAX, hello_policy, nltb, in iwpm_hello_cb()
837 abi_version = nla_get_u16(nltb[IWPM_NLA_HELLO_ABI_VERSION]); in iwpm_hello_cb()