Lines Matching refs:rep

58 	struct sk_buff *rep;  member
203 if (tipc_skb_tailroom(msg->rep) <= 1) { in __tipc_nl_compat_dumpit()
223 if ((TIPC_SKB_MAX - msg->rep->len) <= 1) { in __tipc_nl_compat_dumpit()
224 char *tail = skb_tail_pointer(msg->rep); in __tipc_nl_compat_dumpit()
246 msg->rep = tipc_tlv_alloc(msg->rep_size); in tipc_nl_compat_dumpit()
247 if (!msg->rep) in tipc_nl_compat_dumpit()
251 tipc_tlv_init(msg->rep, msg->rep_type); in tipc_nl_compat_dumpit()
258 kfree_skb(msg->rep); in tipc_nl_compat_dumpit()
264 kfree_skb(msg->rep); in tipc_nl_compat_dumpit()
336 msg->rep = tipc_tlv_alloc(0); in tipc_nl_compat_doit()
337 if (!msg->rep) in tipc_nl_compat_doit()
351 return tipc_add_tlv(msg->rep, TIPC_TLV_BEARER_NAME, in tipc_nl_compat_bearer_dump()
416 tipc_tlv_sprintf(msg->rep, " Window:%u packets\n", in __fill_bc_link_stat()
419 tipc_tlv_sprintf(msg->rep, in __fill_bc_link_stat()
427 tipc_tlv_sprintf(msg->rep, in __fill_bc_link_stat()
435 tipc_tlv_sprintf(msg->rep, " RX naks:%u defs:%u dups:%u\n", in __fill_bc_link_stat()
440 tipc_tlv_sprintf(msg->rep, " TX naks:%u acks:%u dups:%u\n", in __fill_bc_link_stat()
445 tipc_tlv_sprintf(msg->rep, in __fill_bc_link_stat()
472 tipc_tlv_sprintf(msg->rep, "\nLink <%s>\n", in tipc_nl_compat_link_stat_dump()
481 tipc_tlv_sprintf(msg->rep, " ACTIVE"); in tipc_nl_compat_link_stat_dump()
483 tipc_tlv_sprintf(msg->rep, " STANDBY"); in tipc_nl_compat_link_stat_dump()
485 tipc_tlv_sprintf(msg->rep, " DEFUNCT"); in tipc_nl_compat_link_stat_dump()
487 tipc_tlv_sprintf(msg->rep, " MTU:%u Priority:%u", in tipc_nl_compat_link_stat_dump()
491 tipc_tlv_sprintf(msg->rep, " Tolerance:%u ms Window:%u packets\n", in tipc_nl_compat_link_stat_dump()
495 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
504 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
513 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
519 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
530 tipc_tlv_sprintf(msg->rep, "-16384:%u%% -32768:%u%% -66000:%u%%\n", in tipc_nl_compat_link_stat_dump()
538 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
546 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
554 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
575 return tipc_add_tlv(msg->rep, TIPC_TLV_LINK_INFO, in tipc_nl_compat_link_dump()
655 tipc_tlv_sprintf(msg->rep, header[i]); in tipc_nl_compat_name_table_dump_header()
656 tipc_tlv_sprintf(msg->rep, "\n"); in tipc_nl_compat_name_table_dump_header()
693 tipc_tlv_sprintf(msg->rep, "%-10u ", in tipc_nl_compat_name_table_dump()
699 tipc_tlv_sprintf(msg->rep, "%-10u %-10u ", in tipc_nl_compat_name_table_dump()
709 tipc_tlv_sprintf(msg->rep, "%-26s ", port_str); in tipc_nl_compat_name_table_dump()
714 tipc_tlv_sprintf(msg->rep, "%-10u %s", in tipc_nl_compat_name_table_dump()
718 tipc_tlv_sprintf(msg->rep, "\n"); in tipc_nl_compat_name_table_dump()
736 tipc_tlv_sprintf(msg->rep, " {%u,%u}", type, lower); in __tipc_nl_compat_publ_dump()
738 tipc_tlv_sprintf(msg->rep, " {%u,%u,%u}", type, lower, upper); in __tipc_nl_compat_publ_dump()
792 tipc_tlv_sprintf(msg->rep, "%u:", sock_ref); in tipc_nl_compat_sk_dump()
802 tipc_tlv_sprintf(msg->rep, " connected to <%u.%u.%u:%u>", in tipc_nl_compat_sk_dump()
809 tipc_tlv_sprintf(msg->rep, " via {%u,%u}\n", in tipc_nl_compat_sk_dump()
813 tipc_tlv_sprintf(msg->rep, "\n"); in tipc_nl_compat_sk_dump()
815 tipc_tlv_sprintf(msg->rep, " bound to"); in tipc_nl_compat_sk_dump()
821 tipc_tlv_sprintf(msg->rep, "\n"); in tipc_nl_compat_sk_dump()
834 return tipc_add_tlv(msg->rep, TIPC_TLV_MEDIA_NAME, in tipc_nl_compat_media_dump()
850 return tipc_add_tlv(msg->rep, TIPC_TLV_NODE_INFO, &node_info, in tipc_nl_compat_node_dump()
887 return tipc_add_tlv(msg->rep, TIPC_TLV_UNSIGNED, &id, sizeof(id)); in tipc_nl_compat_net_dump()
892 msg->rep = tipc_tlv_alloc(ULTRA_STRING_MAX_LEN); in tipc_cmd_show_stats_compat()
893 if (!msg->rep) in tipc_cmd_show_stats_compat()
896 tipc_tlv_init(msg->rep, TIPC_TLV_ULTRA_STRING); in tipc_cmd_show_stats_compat()
897 tipc_tlv_sprintf(msg->rep, "TIPC version " TIPC_MOD_VER "\n"); in tipc_cmd_show_stats_compat()
912 msg->rep = tipc_tlv_alloc(0); in tipc_nl_compat_handle()
913 if (!msg->rep) in tipc_nl_compat_handle()
1020 msg.rep = tipc_get_err_tlv(TIPC_CFG_NOT_NET_ADMIN); in tipc_nl_compat_recv()
1027 msg.rep = tipc_get_err_tlv(TIPC_CFG_NOT_SUPPORTED); in tipc_nl_compat_recv()
1034 msg.rep = tipc_get_err_tlv(TIPC_CFG_NOT_SUPPORTED); in tipc_nl_compat_recv()
1036 msg.rep = tipc_get_err_tlv(TIPC_CFG_TLV_ERROR); in tipc_nl_compat_recv()
1038 if (!msg.rep) in tipc_nl_compat_recv()
1042 skb_push(msg.rep, len); in tipc_nl_compat_recv()
1043 rep_nlh = nlmsg_hdr(msg.rep); in tipc_nl_compat_recv()
1045 rep_nlh->nlmsg_len = msg.rep->len; in tipc_nl_compat_recv()
1046 genlmsg_unicast(net, msg.rep, NETLINK_CB(skb).portid); in tipc_nl_compat_recv()